/* Dalle Theme Styles - Applied only when body has 'dalle-theme' class */

/* Dalle Theme Colors and Fonts */
.dalle-theme {
  /* Custom font for Dalle theme */
  font-family: 'Ubuntu', sans-serif, 'Helvetica Neue', Helvetica, Arial, sans-serif !important;

  /* Custom background for Dalle theme */
  background-color: rgba(0, 115, 224, 0) !important;
}

.dalle-theme .form-container {
  /* max-width: 1300px !important; */
  margin-inline: auto !important;
}

.dalle-theme .container {
  max-width: unset !important;
  padding: 0 !important;
  margin: 0 !important;
}
.dalle-theme .spinner-overlay{
  max-width: 100% !important;
}
@media (min-width: 1400px) {
  .dalle-theme .form-container {
    max-width: 1300px !important;
  }
}

@media (min-width: 1200px) and (max-width: 1399.98px) {
  .dalle-theme .form-container {
    max-width: 1140px;
  }
  .dalle-theme .dale-top-container {
    max-width: 1140px !important;
  }
  .dalle-theme footer.footer-entel .dale-footer-wrapper{
    max-width: 1140px !important;
  }
  .dalle-theme .functional-buttons-wrapper{
    max-width: 1140px !important;
  }
  .dalle-theme .dalle-logo {
    max-width: 1140px !important;
  }
}
/*Large devices (desktops, 992px and up)*/
@media (min-width: 992px) and (max-width: 1199.98px) {
  .dalle-theme .form-container {
    max-width: 952px;
  }
  .dalle-theme .dale-top-container {
    max-width: 952px !important;
  }
  .dalle-theme footer.footer-entel .dale-footer-wrapper{
    max-width: 952px !important;
  }
  .dalle-theme .functional-buttons-wrapper{
    max-width: 952px !important;
  }
  .dalle-theme .dalle-logo {
    max-width: 952px !important;
  }
}
/*Medium devices (tablets, 768px and up)*/
@media (min-width: 768px) and (max-width: 991.98px) {
  .dalle-theme .form-container {
    max-width: 720px;
    padding: 0 16px !important;
  }
  .dalle-theme .dale-top-container {
    max-width: 720px !important;
  }
  .dalle-theme footer.footer-entel .dale-footer-wrapper{
    max-width: 720px !important;
  }
  .dalle-theme .functional-buttons-wrapper{
    max-width: 720px !important;
  }
  .dalle-theme .dalle-logo {
    max-width: 720px !important;
  }
}
/*Small devices (landscape phones, 600px and up)*/
@media (min-width: 600px) and (max-width: 767.98px) {
  .dalle-theme .form-container {
    max-width: 540px;
    padding: 0 16px !important;
  }
  .dalle-theme .dale-top-container {
    max-width: 540px !important;
  }
  .dalle-theme .dale-info-frame{
    height: auto !important;
    padding: 24px 16px !important;
  }
  .dalle-theme footer.footer-entel .dale-footer-wrapper{
    max-width: 540px !important;
  }
  .dalle-theme .functional-buttons-wrapper{
    max-width: 540px !important;
  }
  .dalle-theme .dalle-logo {
    max-width: 540px !important;
  }
}
/*Extra small devices (phones, less than 600px)*/
@media (max-width: 599.9px) {
  .dalle-theme .form-container {
    max-width: 100% !important;
    padding: 0 16px !important;
  }
  .dalle-theme .dale-info-frame{
    height: auto !important;
    padding: 24px 16px !important;
  }
  .dalle-theme .functional-buttons-wrapper {
    flex-direction: column-reverse !important;
    height: auto !important;
    gap: 16px !important;
    padding-bottom: 24px !important;
  }
  .dalle-theme .btn.btn-primary {
    width: 312px !important;
  }
  .dalle-theme footer.footer-entel{
    height: auto !important;
    padding: 20px !important;
  }
  .dalle-theme footer.footer-entel .dale-footer-wrapper{
    flex-direction: column !important;

  }
  .dalle-theme .dale-top-container {
    max-width: 100% !important;
  }
  .dalle-theme footer.footer-entel .dale-footer-wrapper{
    max-width: 100% !important;
  }
  .dalle-theme .functional-buttons-wrapper{
    max-width: 100% !important;
  }
  .dalle-theme .title-card-questions-coop {
    height: auto !important;  
  }
  .dalle-theme .final-comprobante-logo{
    margin-top: -15px;
  }
  .dalle-theme footer.footer-entel .dale-footer-text{
    text-align: left !important;
  }
} 


/* Dalle Theme Navbar */
.dalle-theme .navbar-quote-coop {
  background-color: #FFFFFF !important;
  height: 64px;
  align-items: center !important;
  display: flex !important;
  margin-bottom: 0 !important;
  /* Light Blue instead of purple */
}

.dalle-theme form.needs-validation {
  margin-bottom: 0 !important;
}

/* Dalle Theme Top Frame */
.dalle-theme .dale-info-frame {
  background-color: #F4F4F4;
  height: 160px;
  width: 100%;
  padding: 32px 8px;
  display: flex;
  align-items: center;
}

.default-theme .dale-top-container {
  display: none !important;
}

.dalle-theme .dale-top-container {
  display: flex !important;
  justify-content: center;
  align-items: flex-start;
  flex-direction: column;
  max-width: 1300px;
  width: 100%;
  margin-inline: auto !important;
  gap: 8px;
}

.default-theme .default-top-container {
  display: block !important;
}

.dalle-theme .default-top-container {
  display: none !important;
}

.dalle-theme .dale-badge {
  width: auto;
  height: 24px;
  border-radius: 4px;
  opacity: 1;
  padding-top: 2px;
  padding-right: 8px;
  padding-bottom: 2px;
  padding-left: 8px;
  gap: 4px;
  background-color: #DDC6FA;
}

.dalle-theme .dale-badge label {
  font-family: Ubuntu;
  font-weight: 400;
  font-style: Regular;
  font-size: 14px;
  line-height: 20px;
  letter-spacing: 0px;
  vertical-align: middle;
  color: #572C8D;
}



/* Dalle Theme Footer */
.dalle-theme footer.footer-entel {
  background-color: #0056A8 !important;
  width: 100% !important;
  height: 94px;
  opacity: 1 !important;
  padding-top: 24px !important;
  padding-right: 70px !important;
  padding-bottom: 24px !important;
  padding-left: 70px !important;
  gap: 10px !important;

  /* Light Blue instead of purple */
}

.dalle-theme footer.footer-entel .container-fluid {
  display: none !important;
}

.dalle-theme footer.footer-entel .dale-footer-wrapper {
  display: flex !important;
  max-width: 1300px !important;
  width: 100%;
  margin-inline: auto;
  justify-content: space-between;
}

.default-theme footer.footer-entel .container-fluid {
  display: block !important;
}

.default-theme footer.footer-entel .dale-footer-wrapper {
  display: none !important;
}

.dalle-theme footer.footer-entel .dale-footer-logos {
  /* width: 522px; */
  height: 46px;
  opacity: 1;
  gap: 32px;
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
}

.dalle-theme footer.footer-entel .dale-footer-logos .logo-dale-footer {
  width: 81px !important;
  height: 46px !important;
}

.dalle-theme footer.footer-entel .dale-footer-logos .logo-coop-footer {
  width: 134px !important;
  height: 23px !important;
}

.dalle-theme footer.footer-entel .dale-footer-text {
  font-family: Ubuntu;
  font-weight: 400;
  font-style: Regular;
  font-size: 12px;
  line-height: 18px;
  letter-spacing: 0%;
  text-align: right;
  vertical-align: middle;
  color: #FFFFFF;
}

.dalle-theme footer.footer-entel .dale-footer-text span {
  text-decoration: underline;
  text-decoration-style: solid;
  text-decoration-thickness: 0%;
}

/* Dalle Theme Primary Colors */
.dalle-theme .title-quote-coop {
  color: #0056A8 !important;
  font-family: Ubuntu !important;
  font-weight: 700 !important;
  font-style: Bold !important;
  font-size: 32px !important;
  line-height: 36px !important;
  letter-spacing: 0px !important;
  vertical-align: middle !important;

  /* Dark blue */
}

.dalle-theme .sub-title-quote-coop {
  color: #003A70 !important;
  font-family: Ubuntu !important;
  font-weight: 400 !important;
  font-style: Regular !important;
  font-size: 14px !important;
  line-height: 20px !important;
  letter-spacing: 0px !important;
  vertical-align: middle !important;

  /* Dark blue */
}


.dalle-theme .title-card-questions-coop {
  color: #383838 !important;
  max-width: 1300px !important;
  height: 78px;
  opacity: 1 !important;
  padding-top: 24px !important;
  padding-right: 16px !important;
  padding-bottom: 24px !important;
}

.dalle-theme .coop-validation-title {
  display: none !important;
}

.dalle-theme .dale-validation-title {
  display: block !important;
}

.default-theme .coop-validation-title {
  display: block !important;
}

.default-theme .dale-validation-title {
  display: none !important;
}

.dalle-theme .dale-plan-wrapper {
  width: 100%;
  height: 88px;
  border-radius: 12px;
  border-width: 1px;
  border: 1px solid #D4D4D4;
  opacity: 1;
  padding: 16px;
  margin-inline: auto;
  align-items: center;
}

.dalle-theme .accordion {
  padding-inline: 0 !important;
}
.dalle-theme .dale-contracts-title-wrapper{
  height: 108px !important;
}
.dalle-theme .dale-contracts-title-wrapper .title-card-questions-coop{
  height: auto !important;
  padding-bottom: 0 !important;
}
.dalle-theme .dale-view-contracts {
  background-color: #F2F3F4 !important;
}

.dalle-theme .coop-view-contracts-text {
  display: none !important;
}

.dalle-theme .dale-view-contracts-text {
  display: block !important;
  margin-top: 0 !important;
}

.default-theme .coop-view-contracts-text {
  display: block !important;
}

.default-theme .dale-view-contracts-text {
  display: none !important;
}

.dalle-theme .coop-fondo-gris,
.dalle-theme .coop-fondo-blanco {
  display: none !important;
}

.dalle-theme .dale-contracts-wrapper {
  display: flex !important;
  flex-direction: column;
  gap: 12px;
  height: 220px;
}

.dalle-theme .dale-fondo-gris,
.dalle-theme .dale-fondo-blanco {
  display: flex;
  Height: 76px;
  border-radius: 12px;
  padding: 8px;
  background-color: #FFFFFF;
  align-items: flex-start;
}

.dalle-theme .dale-fondo-gris img,
.dalle-theme .dale-fondo-blanco img {
  height: 40px;
  width: 40px;
}

.dalle-theme .dale-fondo-gris .dale-document-content,
.dalle-theme .dale-fondo-blanco .dale-document-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-left: 8px;
  padding-block: 4px;
  gap: 4px;
}
.dalle-theme .dale-fondo-gris .dale-document-content-title,
.dalle-theme .dale-fondo-blanco .dale-document-content-title {
  color: #383838;
  font-family: Ubuntu;
  font-weight: 700;
  font-style: Bold;
  font-size: 14px;
  line-height: 20px;
  letter-spacing: 0px;
  vertical-align: middle;

}

.dalle-theme .dale-fondo-gris .dale-document-content-description,
.dalle-theme .dale-fondo-blanco .dale-document-content-description {
  color: #383838;
  font-family: Ubuntu;
  font-weight: 400;
  font-style: Regular;
  font-size: 14px;
  line-height: 20px;
  letter-spacing: 0px;
  vertical-align: middle;

}

.default-theme .coop-fondo-gris,
.default-theme .coop-fondo-blanco {
  display: block !important;
}

.default-theme .dale-contracts-wrapper {
  display: none !important;
}

/* Accept Terms and Conditions */
.dalle-theme .dale-accept-terms {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  padding-top: 24px !important;
  padding-bottom: 24px !important;
  height: 88px;
}
.default-theme .coop-accept-terms {
  display: block !important;
}
.default-theme .dale-accept-terms {
  display: none !important;
}
.dalle-theme .coop-accept-terms {
  display: none !important;
}

/* Dalle Theme Asegurado Table */
.dalle-theme .asegurado-table{
  margin-top: 0 !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}
.dalle-theme .dale-first-th{
  border-top-left-radius: 12px !important;
}
.dalle-theme .dale-last-th{
  border-top-right-radius: 12px !important;
}

/* Dalle Theme Functional Buttons */
.dalle-theme .functional-buttons-wrapper {
  max-width: 1300px;
  margin-inline: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 112px;
  padding-bottom: 0;
}

.default-theme .functional-buttons-wrapper {
  padding-bottom: 50px !important;
  display: flex;
  justify-content: space-between;
  align-items: center;
}


/* Dalle Theme Links */
.dalle-theme a {
  color: #0056A8 !important;
  /* Blue instead of red */
}

.dalle-theme a:hover {
  color: #0056A8 !important;
  /* Blue on hover */
}

/* Dalle Theme Buttons */
.dalle-theme .btn.btn-back {
  color: #E0007B !important;
  /* Pink back button */
}

.dalle-theme .btn.btn-primary {
  background-color: #E0007B !important;
  /* Pink primary button */
  border-color: #E0007B !important;
  border-radius: 24px !important;
  box-shadow: none !important;
  width: 306px !important;
  height: 48px !important;
}

.dalle-theme .btn.btn-primary:hover,
.dalle-theme .btn.btn-primary:focus,
.dalle-theme .btn.btn-primary:active {
  background-color: #E0007B !important;
  border-color: #E0007B !important;
  scale: 1.05 !important;
  box-shadow: 0px 1px 6px 3px #aeaeae3b !important;
}

.dalle-theme .btn.btn-primary:disabled {
  background-color: #D4D4D4 !important;
  border-color: #D4D4D4 !important;
  box-shadow: none !important;
  cursor: not-allowed !important;
  scale: 1 !important;
}

.dalle-theme .btn-check:active+.btn-primary:focus,
.dalle-theme .btn-check:checked+.btn-primary:focus,
.dalle-theme .btn-primary.active:focus,
.dalle-theme .btn-primary:active:focus,
.show>.dalle-theme .btn-primary.dropdown-toggle:focus {
  /* box-shadow: 0 0 0 .25rem rgba(255, 87, 120, 0.5) !important; */
  scale: 1.05 !important;
  box-shadow: 0px 1px 6px 3px #aeaeae3b !important;
}

.dalle-theme .btn-azul {
  background: #0056A8 !important;
  /* Dark gray instead of blue */
  border: 1px solid #0056A8 !important;
  border-radius: 24px !important;
  box-shadow: none !important;
  width: 351px;
  height: 48px;
}

.dalle-theme .btn-azul:hover,
.dalle-theme .btn-azul:focus,
.dalle-theme .btn-azul:active {
  background: #0056A8 !important;
  border: 1px solid #0056A8 !important;
  scale: 1.05 !important;
  box-shadow: 0px 1px 6px 3px #aeaeae3b !important;
}

/* Dalle Theme Form Elements */
.dalle-theme .form-check-input[type="radio"]:checked {
  border-color: #0056A8 !important;
  background-image: url(../img/dale/punto-radio-dale.svg) !important;
}

.dalle-theme .form-check-input[type="checkbox"]:checked {
  border-color: #0056A8 !important;
  background-image: url(../img/dale/color_checkbox-dale.svg) !important;
}

/* Dalle Theme Cards */
.dalle-theme .card {
  border: 1px solid #d1d5db !important;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1) !important;
}

.dalle-theme .card-questions-coop {
  border: none !important;
  padding: 0 !important;
  box-shadow: none !important;
  margin-top: 0 !important;
}

.dalle-theme .card-questions-coop .dale-card-top-coop {
  max-width: 1300px;
  opacity: 1;
  padding-top: 24px;
  padding-right: 16px;
  padding-bottom: 24px;

}

.dalle-theme .divisor-card-questions-coop {
  display: none !important;
}

/* Dalle Theme Alerts */
.dalle-theme .alert-info-blue.Coop {
  background-color: #F9CCE5 !important;
  /* Light magenta background */
  border-color: #F9CCE5 !important;
  color: #E0007B !important;
}

.dalle-theme .alert-info-green.Coop {
  background-color: #d1fae5 !important;
  /* Light green background */
  border-color: #059669 !important;
  color: #047857 !important;
}

/* Dalle Theme Text Colors */
.dalle-theme .text-red,
.dalle-theme .enlace-ver-detalle {
  color: #E0007B !important;
  /* Pink instead of red */
}

.dalle-theme .text-red:hover,
.dalle-theme .enlace-ver-detalle:hover,
.dalle-theme .text-red:focus,
.dalle-theme .enlace-ver-detalle:focus,
.dalle-theme .text-red:active,
.dalle-theme .enlace-ver-detalle:active {
  color: #E0007B !important;
  /* Green instead of red */
}

.dalle-theme .download-red {
  color: #E0007B !important;
}

.dalle-theme li.doc-coop {
  color: #E0007B !important;
}

/* Dalle Theme Category Buttons */
.dalle-theme .btn.btn-categoria:hover,
.dalle-theme .btn.btn-categoria:focus,
.dalle-theme .btn.btn-categoria:active {
  background: #1f2937 !important;
  /* Dark gray instead of blue */
  border: 1px solid #1f2937 !important;
}

.dalle-theme .activadoIndividual {
  background: #1f2937 !important;
  border: 1px solid #1f2937 !important;
}

/* Dalle Theme Table */
.dalle-theme .header-tabla-benef-mobile {
  background-color: #0056A8 !important;
}

.dalle-theme th.tabla-benef {
  background-color: #0056A8 !important;
}

/* Dalle Theme Labels */
.dalle-theme label.form-label {
  color: #383838 !important;
  /* Slightly lighter gray */
  font-weight: 600 !important;
  /* Slightly bolder */
}

/* Dalle Theme Input Focus */
.dalle-theme .form-control:focus {
  border-color: #0056A8 !important;
  box-shadow: 0 0 0 0.2rem #CCE3F9 !important;
}

/* Dalle Theme Spinner/Loading */
.dalle-theme #Spinner>div.spinner-border {
  position: absolute !important;
  width: 8rem !important;
  height: 8rem !important;
  left: 0 !important;
  bottom: 0 !important;
  right: 0 !important;
  top: 0 !important;
  margin: auto !important;
  border-right-color: #fff0 !important;
  border-bottom-color: #E0007B !important;
  border-top-color: #E0007B !important;
  border-left-color: #E0007B !important;
}

/* Dalle Theme Progress */
.dalle-theme .progress-bar {
  background-color: #E0007B !important;
}

/* Dalle Theme Accordion */
/* .dalle-theme .accordion-button-green {
    background-color: #059669 !important;
  } */
/* Dalle Theme Breadcrumb - Override lib.js inline styles */
.dalle-theme .bc-linea-vert {
  background-color: #0073E0 !important;
}

.dalle-theme .bc-linea-int,
.dalle-theme .bc-linea-int-completa {
  background-color: #0073E0 !important;
}

.dalle-theme .bc-circ-ext-act {
  background-color: #0073E0 !important;
}

.dalle-theme .bc-circ-ext-visto {
  border-color: #0073E0 !important;
}

.dalle-theme .bc-tx-act {
  color: #0073E0 !important;
}

.dalle-theme .ver {
  color: #0073E0 !important;
}

.dalle-theme .invalid-feedback {
  color: #A8005C !important;
}

/* Dalle Theme Logo Switching */
.default-theme .dalle-logo {
  display: none !important;
}

.dalle-theme .default-logo {
  display: none !important;
}

.dalle-theme .dalle-logo {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  max-width: 1300px;
  width: 100%;
  margin-inline: auto;
}

.default-theme .default-logo {
  display: flex !important;
}

/* Dalle Theme Icon Switching */
.default-theme .dalle-icon {
  display: none !important;
}

.dalle-theme .default-icon {
  display: none !important;
}

.dalle-theme .dalle-icon {
  display: inline-block !important;
  margin: 10px;
}

.default-theme .default-icon {
  display: inline-block !important;
}

/* Default Theme Styles - Applied when body has 'default-theme' class */
.default-theme {
  /* Keep existing styles - these will be the fallback */
  font-family: "Ubuntu", sans-serif !important;
  background-color: rgba(100, 101, 105, 0.04) !important;
}

/* Ensure default theme maintains original colors */
.default-theme .navbar-quote-coop {
  background-color: #7b2084 !important;
}

.default-theme a {
  color: #e81e2b !important;
}

.default-theme a:hover {
  color: #d31b27 !important;
}

.dalle-theme .identity-warning {
  display: none !important;
}

.default-theme .identity-warning {
  display: block !important;
}