body{
  margin: 0;
  box-sizing: border-box;
}
.spinner {
    border: 4px solid rgba(255, 255, 255, 0.3);
    border-top: 4px solid #ffffff;
    border-radius: 50%;
    width: 16px;
    height: 16px;
    animation: spin 1s linear infinite;
    display: inline-block;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

body input.dropdown,  select.form-control {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-image: url(http://209.38.155.91/wp-content/uploads/2024/10/Frame.png);
  background-position: calc(100% - 1rem);
  background-repeat: no-repeat;
  background-size: 1rem;
  padding-right: 3rem;
  background-color: rgba(248, 248, 248, 1) !important;
  border: 1px solid rgba(191, 190, 228, 0.5);
  min-height: 46px;
  border-radius: 8px !important;
  padding: 12px 16px !important;
  font-size: 14px;
  font-weight: 300;
  line-height: 22px;
  text-align: left;
  color: rgba(0, 0, 0, 1);
}
body input[type="text"],input[type="email"],input[type="url"]{
  background: rgba(248, 248, 248, 1) !important;
  border: 1px solid rgba(191, 190, 228, 0.5) !important;
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 325;
  line-height: 22px;
  letter-spacing: 0.25px;
  text-align: left;
  color: rgba(139, 143, 142, 1);
  width: 100%;
  box-sizing: border-box;
  font-weight: 300;
}
body .errorform input, body .errorform .category-select{
           border: 1px solid red !important;
        }
body input::placeholder {
  font-size: 14px !important;
  font-weight: 300 !important;
  line-height: 22px !important;
  letter-spacing: 0.25px !important;
  text-align: left;
}
body input, body select{
  outline: none !important;
}
body#productLinks input{
  margin-bottom: 8px !important;
}
body .vti__dropdown{
  background: rgba(248, 248, 248, 1) !important;
  border: 1px solid rgba(191, 190, 228, 0.5) !important;
  width: 70px;
  border-radius: 8px;
}
.vti__dropdown-arrow{
  display: none;
}
.vti__selection {
  justify-content: center;
}
.vti__flag{
  transform: scale(1.2);
}
.vti__dropdown-list.below {
  top: 47px;
}
.vti__dropdown-list{
  width: 100%;
  background-color: rgba(248, 248, 248, 1);
}
.form-controlpdocumento select{
  background: rgba(248, 248, 248, 1);
  border: 1px solid rgba(191, 190, 228, 0.5);
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 325;
  line-height: 22px;
  font-weight: 300;
  letter-spacing: 0.25px;
  text-align: left;
  color: rgba(139, 143, 142, 1);
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  width: 70px;

}
.labelcheckbox{
  display: flex;
  flex-direction: row;
  gap: 8px;
}
.labelcheckbox input{
  transform: scale(1.6);
  margin-right: 8px;
}
.labelcheckbox span{
  font-size: 14px;
  font-weight: 325;
  line-height: 22px;
  letter-spacing: 0.25px;
  text-align: left;
  font-weight: 300;
  color: rgba(42, 47, 45, 1);
  font-family: "Gotham Book" !important;

}
.labelcheckbox span a{
  color: rgba(57, 53, 171, 1);
  font-weight: 400;
  font-family: "Gotham" !important;
}
body input.dropdown, .form-control select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none'%3E%3Cpath stroke='%235D55D7' stroke-linecap='round' stroke-linejoin='round' d='m13 6-5 5-5-5'/%3E%3C/svg%3E");
  background-position: calc(100% - 1rem);
  background-repeat: no-repeat;
  background-size: 1rem;
  padding-right: 3rem !important;
}
body .addLink{
  font-family: "Gotham";
  border: 1px solid rgba(57, 53, 171, 1)!important;
  background: #fff !important;
  /*background: rgba(255, 255, 255, 1);*/
  padding: 8px 16px!important;
  font-size: 14px!important;
  font-weight: 400!important;
  line-height: 22px!important;
  letter-spacing: 0.25px!important;
  text-align: left!important;
  color: rgba(57, 53, 171, 1)!important;
  border-radius: 8px!important;
  margin-top: 5px!important;
  display: flex!important;
  flex-direction: row!important;
  gap: 8px!important;
  cursor: pointer!important;
  align-content: center!important;
  justify-content: center!important;
  box-shadow: none !important;
}
.addLink:disabled{
  opacity: 0.5;
}
body .link-container {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 5px;
  position: relative;
}
body .remove-link {
  background: none!important;
  border: none!important;
  color: rgba(255, 73, 92, 1)!important;
  font-size: 16px!important;
  cursor: pointer!important;
  padding: 0!important;
  border: none !important;
  position: absolute!important;
  right: 13px!important;
  box-shadow: none !important;
}
.formp{
  max-width: 410px;
  margin: 0 auto;
}
body .form-controlp{
  display: flex;
  margin-bottom: 24px;
  flex-direction: column;
}
body .form-controlpdocumento, .form-controlpcelular{
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  gap: 8px;
}
body .form-controlp label{
  font-family: "Gotham";
  font-size: 14px;
  font-weight: 400;
  line-height: 22px;
  letter-spacing: 0.25px;
  text-align: left;
  color: rgba(42, 47, 45, 1);
  margin-bottom: 8px;
}
#categoryDropdown label {
  display: flex;
  align-items: center;
  gap: 8px;
}
#categoryDropdown label input{
  transform: scale(1.2);
}
body .submitbutton.disabled {
    opacity: 0.5;
}
body .submitbutton{
  font-family: "Gotham";
  background: rgba(255, 102, 0, 1);
  border: 1px solid rgba(255, 102, 0, 1);
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  letter-spacing: 0.5px;
  text-align: left;
  color: #fff;
    box-shadow: none !important;
}
body .error{
  color: rgba(255, 73, 92, 1);
  font-size: 14px;
  font-weight: 300;
  line-height: 1.2em;
  text-align: left;
  padding: 5px 0;
  margin-bottom: 0;
}
body .errorList li{
  margin-bottom: 5px;
}


/* Fondo oscuro de overlay */
    .popup-overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.6);
        justify-content: center;
        align-items: center;
        z-index: 1000;
    }

    /* Contenido del popup */
    .popup-content {
        position: relative;
        background: transparent !important;
        padding: 20px;
        width: 100%;
        max-width: 1000px;
        /*box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);*/
        /*border-radius: 8px;*/
    }

    /* Botón de cerrar (X) */
    .close-btn {
        position: absolute;
        top: 30px;
        right: 30px;
        font-size: 20px;
        cursor: pointer;
        color: #fff;
        z-index: 65;
    }

    .category-select {
    display: flex;
    align-items: center;
    border: 1px solid #ddd;
    padding: 10px;
    cursor: pointer;
    background-color: #f5f5f5;
    border-radius: 8px;
}

.selected-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

.category-tag {
    background-color: #3935AB;
    color: white;
    padding: 7px 10px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    font-family: 'Gotham';
    font-size: 12px;
    font-weight: 350;
    line-height: 16px;
    letter-spacing: 0.20000000298023224px;
    text-align: left;

}

.category-tag .remove-tag {
    margin-left: 8px;
    cursor: pointer;
    font-weight: bold;
    font-family: 'Gotham';
    font-size: 14px;
    font-weight: 400;
    line-height: 16px;
    letter-spacing: 0.20000000298023224px;
    text-align: left;
}

.dropdown-arrow {
    margin-left: auto;
        padding-right: 5px;

}

.category-dropdown {
    display: none;
    border: 1px solid #ddd;
    padding: 10px;
    border-radius: 8px;
    background-color: #f5f5f5;
    position: absolute;
    z-index: 1000;
    width: 100%;
    margin-top: 78px;
}

.category-dropdown label {
    display: block;
    padding: 5px 0;
}
.opcionalspan{
  color: rgba(255, 102, 0, 1);
}

@media (max-width: 764px){
  body .form-controlp{
    margin-bottom: 10px;
  }
}