@font-face {
  font-family: interTight-light;
  src: url(../fonts/InterTight-Light.ttf);
}
@font-face {
  font-family: interTight-semiBold;
  src: url(../fonts/InterTight-SemiBold.ttf);
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* NAVBAR */
.navbar {
  padding: 0 2rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: relative;
  z-index: 1;
  backdrop-filter: blur(20px);
  position: fixed;
  width: 100%;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0 auto;
    height: 140px;
    gap: 3rem;
}

.logo-navbar {
    width: 230px;
    height: auto;
    display: block;
    color: white;
    text-align: center;
    line-height: 60px;
    border-radius: 8px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 0; /* Eliminamos el gap para que no haya espacios */
    align-items: center;
    flex: 1;
    margin: 0;
    padding: 0;
    height: 100%; /* Ocupa toda la altura disponible */
}


.nav-links li {
    position: relative;
    border-radius: 8px;
    transition: none;
    /*flex: 1; /* Hace que cada li ocupe el espacio disponible */
    height: 100%; /* Ocupa toda la altura del contenedor */
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Efecto hover en el padre (li) - ahora cubre todo el espacio */
.nav-links li:hover {
    background: rgba(0, 212, 170, 0.1);
}


.nav-links a {
    color: white !important;
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    letter-spacing: 0.5px;
    transition: none;
    position: relative;
    font-family: Arial, sans-serif;
    text-transform: uppercase;
    padding: 1rem 1.5rem;
    display: inline-block; /* 👈 Cambiar a inline-block */
    text-align: center;
}

/* Efecto hover - sin cambiar el color del texto */
.nav-links a:hover {
    color: white !important; /* Mantiene el blanco */
}

/* Subrayado personalizado con efecto de reflejo hacia arriba */
/* Subrayado personalizado con efecto de reflejo hacia arriba, aplicado al <li> */
.nav-links li::after {
    content: "";
    position: absolute;
    bottom: 0px; /* Ajusta según necesites */
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: #00d4aa;
    box-shadow: 0 6px 9px #33D76F, 0 -9px 4px #33D76F;
    transition: none;
}

.nav-links li:hover::after {
    width: 80%;
    box-shadow: 0 6px 9px #33D76F, 0 -6px 8px #33D76F;
}

/* Elimina cualquier sobrescritura de color en li:hover */
.nav-links li:hover a {
    color: white !important;
}

.nav-links li:hover {
    background: rgba(0, 212, 170, 0.1);
}
/* Estilo del contenedor cuando se pasa el cursor sobre el elemento */

/* Estilo del contenedor cuando se pasa el cursor sobre el elemento */

.user-section {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-left: auto;
}

.user-info {
  color: white;
  font-size: 1rem;
  font-weight: 500;
  font-family: interTight-semiBold;
  position: relative;
  z-index: 3;
  cursor: pointer;
}

.user-avatar {
  width: 75px;
  height: 75px;
  border-radius: 50%;
  /*background-image: url(../img/heart_code.webp);*/
  background-size: cover;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-left: 0.5em;
  position: relative;
  z-index: 3;
}

.user-avatar:hover {
  transform: scale(1.1);
  border-color: #00d4aa;
}

.user-dropdown {
  position: absolute;
  top: 0;
  right: 10px;
  background: #222222;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.3);
  min-width: 300px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  z-index: 2;
  padding-top: 127px;
  border-bottom-left-radius: 25px;
  border-bottom-right-radius: 25px;
}

.user-dropdown.active {
  opacity: 0.9;
  visibility: visible;
  transform: translateY(0);
}

/* .user-dropdown::before {
  content: "";
  position: absolute;
  top: -8px;
  right: 20px;
  width: 0;
  height: 0;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-bottom: 8px solid #2a2a2a;
} */

.dropdown-item {
  display: block;
  padding: 10px 20px 20px 20px;
  color: white;
  text-decoration: none;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  border-left: 3px solid transparent;
  font-family: interTight-semiBold;
}

.dropdown-item:hover {
  background: rgba(0, 212, 170, 0.1);
  border-left-color: #00d4aa;
  color: #00d4aa;
}

.dropdown-item.active {
  background: rgba(0, 212, 170, 0.2);
  border-left-color: #00d4aa;
  color: #00d4aa;
}

/* .dropdown-item:first-child {
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
} */

.dropdown-item:last-child {
  border-bottom-left-radius: 8px;
  border-bottom-right-radius: 8px;
}

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  padding: 5px;
  z-index: 1001;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: white;
  margin: 3px 0;
  transition: all 0.3s ease;
  border-radius: 2px;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

.mobile-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 999;
}

.mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  right: -300px;
  width: 300px;
  height: 100%;
  background: linear-gradient(135deg, #2a2a2a 0%, #1a1a1a 100%);
  z-index: 1000;
  transition: right 0.3s ease;
  padding: 2rem;
  box-shadow: -5px 0 15px rgba(0, 0, 0, 0.3);
}

.mobile-menu.active {
  right: 0;
}

.mobile-nav-links {
  list-style: none;
  margin-top: 4rem;
}

.mobile-nav-links li {
  margin: 1.5rem 0;
}

.mobile-nav-links a {
  color: white;
  text-decoration: none;
  font-size: 1.1rem;
  font-weight: 500;
  display: block;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
  font-family: interTight-semiBold;
}

.mobile-nav-links a:hover {
  color: #00d4aa;
  padding-left: 1rem;
}

.mobile-user-section {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  gap: 1rem;
  position: relative;
}

.mobile-user-section .user-info {
  cursor: pointer;
}

.mobile-user-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: #1a1a1a;
  border-radius: 8px;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.3);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  margin-top: 10px;
}

.mobile-user-dropdown.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.mobile-user-dropdown .dropdown-item {
  display: block;
  padding: 12px 16px;
  color: white;
  text-decoration: none;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  border-left: 3px solid transparent;
}

.mobile-user-dropdown .dropdown-item:hover {
  background: rgba(0, 212, 170, 0.1);
  border-left-color: #00d4aa;
  color: #00d4aa;
}

.mobile-user-dropdown .dropdown-item.active {
  background: rgba(0, 212, 170, 0.2);
  border-left-color: #00d4aa;
  color: #00d4aa;
}

/* LOGIN SECTION */

#login {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  /* Aquí puedes agregar tu imagen de fondo */
  background-image: url(../img/UG_Login.webp);
  /* background: #000; */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  /* min-height: 100vh; */
  position: relative;
  padding: 20px;
}
.container {
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin-top: -5rem;
}

.container-login {
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(20px);
  border-radius: 24px;
  padding: 48px;
  width: 100%;
  max-width: 620px;
  text-align: center;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
  position: relative;
}

.logo-icon img {
  width: 350px;
  margin-left: 3em;
}

.title {
  color: white;
  font-size: 52px;
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: -0.5px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.subtitle {
  color: rgba(255, 255, 255, 0.9);
  font-size: 16px;
  margin-bottom: 36px;
  line-height: 1.5;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.dx-editor-outlined.dx-texteditor-with-floating-label,
.dx-editor-outlined.dx-texteditor-with-label {
  margin-top: 40px;
  /* border-radius: 3rem; */
}

.dx-texteditor-floating-label {
  font-size: 12px;
  font-weight: 600;
}

.login-button {
  width: 50%;
  padding: 16px;
  /* background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%); */
  background-color: #33d76f;
  border: none;
  border-radius: 25px;
  color: white;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 2rem;
  box-shadow: 0 4px 15px rgba(34, 197, 94, 0.3);
}

.login-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(34, 197, 94, 0.4);
  background: linear-gradient(135deg, #16a34a 0%, #15803d 100%);
}

.login-button:active {
  transform: translateY(0);
}

.footer {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  color: #fff;
  display: flex;
  align-items: center;
}
.footer-documents {
  font-family: interTight-semiBold;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 3rem;
}
.footer-logo img {
  width: 150px;
}
.footer span {
  font-size: 20px;
}

/* Section Clientes */
#clientes {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background-image: url(../img/UG_general.webp);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  padding: 20px;
}
/*.container-clientes {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}*/
.container-clientes {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;  /* Cambiar de 'center' para alinear todo */
  justify-content: center;
  text-align: center;  /* Cambiar el texto a la izquierda */
  margin-left: 1%;  /* Añadir margen izquierdo para mover todo el contenido hacia la izquierda */
}


.title-clientes {
  margin-top: 50px;
  font-size: 1.8rem;
  font-weight: 400;
  margin-bottom: 1rem;
  color: #fff;
  font-family: interTight-semiBold;
}
.subtitle-documents {
  color: #fff;
  font-size: 1rem;
  margin-bottom: 3rem;
  font-family: interTight-light;
}

/*
.clients-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  max-width: 95%;
  width: 100%;
  margin-left: 10;
}*/

/* Grid principal que siempre centra el contenido */
.clients-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
  gap: 1rem;
  max-width: 95%;
  width: 100%;
  margin: 0 auto;
}

/* Para dispositivos grandes - máximo 5 por fila */
@media (min-width: 1200px) {
  .clients-grid {
    max-width: calc(5 * 200px + 4 * 1rem); /* 5 tarjetas + gaps */
  }
}

/* Para dispositivos medianos - máximo 4 por fila */
@media (max-width: 1199px) and (min-width: 900px) {
  .clients-grid {
    max-width: calc(4 * 200px + 3 * 1rem); /* 4 tarjetas + gaps */
  }
}

/* Para dispositivos pequeños - máximo 3 por fila */
@media (max-width: 899px) and (min-width: 600px) {
  .clients-grid {
    max-width: calc(3 * 200px + 2 * 1rem); /* 3 tarjetas + gaps */
  }
}

/*
.client-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: all 0.3s ease;
  padding: 1rem;
  border-radius: 12px;
}*/

.client-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: all 0.3s ease;
  padding: 1rem;
  border-radius: 12px;
  flex: 0 0 auto;
  width: 180px; /* Ancho fijo para cada tarjeta */
}

.client-card:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(16, 185, 129, 0.3);
}

.client-avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  margin-bottom: 1.5rem;
  border: 2px solid #33d76f;
  transition: all 0.3s ease;
  overflow: hidden;
  position: relative;
}

.client-card:hover .client-avatar {
  border-color: rgba(16, 185, 129, 0.6);
  box-shadow: 0 0 20px rgba(16, 185, 129, 0.3);
}

/*Es para el contenedor de la imagen*/
.client-avatar img.client-image {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Esto hace que recorte sin deformar */
  display: block;
} 

.avatar-1 {
  background-image: url(../img/heart_code.webp);
  background-size: cover;
}

.avatar-2 {
  background-image: url(../img/ocean.webp);
  background-size: cover;
}

.avatar-3 {
  background-image: url(../img/lights.webp);
  background-size: cover;
}
.avatar-4 {
  background-image: url(../img/Image_Excel.webp);
  background-size: cover;
}
.avatar-5 {
  background-image: url(../img/Image_docs.webp);
  background-size: cover;
}

.client-avatar::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60px;
  height: 60px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
}

.client-name {
  font-size: 1.6rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
  color: white;
}

.client-details {
  color: #33d76f;
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.3s ease;
  border-bottom: 1px solid #33d76f;
  border-top: transparent;
  border-left: transparent;
  border-right: transparent;
  cursor: pointer;
  background: none;
  font-family: inherit;
}

.client-details:hover {
  color: #34d399;
  border-bottom-color: #34d399;
}
.clients-grid-documents {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  max-width: 380px;
  width: 100%;
}

/* Estilos personalizados para el popup */
/* .dx-popup-content {
  background: #2a2a2a !important;
  border-radius: 12px !important;
  border: 1px solid rgba(16, 185, 129, 0.3) !important;
} */

/* .dx-popup-title {
  color: white !important;
  font-size: 1.5rem !important;
  text-align: center !important;
  padding: 1.5rem !important;
} */







.dx-popup-content {
  background: #1e1e1e !important;
  color: white;
  padding: 0 !important;
  border-radius: 10px !important;
  overflow: hidden;
}

/* Eliminar el marco blanco del modal */
.dx-overlay-content.dx-popup-normal {
  background-color: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

.dx-popup-wrapper .dx-popup-content {
  border: none !important;
}

/* Eliminar bordes y fondos blancos en todos los contenedores del popup */
.dx-popup-wrapper .dx-overlay-content {
  background: transparent !important;
  border: none !important;
}

.dx-popup-wrapper .dx-popup-normal {
  border-radius: 10px !important;
}

.modal-content {
  padding: 30px 20px;
  text-align: center;
  color: white;
  background: #1e1e1e;
  border-radius: 10px;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.3);
}

.client-modal-title {
  font-size: 32px;
  margin-bottom: 20px;
  font-weight: 500;
  color: white;
}

.progress-container {
  margin: 10px auto 20px;
  position: relative;
  width: 220px;
  height: 220px;
}

.progress-circle {
  width: 100%;
  height: 100%;
  margin: 0 auto;
  position: relative;
}

/* Estilos para el valor dentro del gauge */
.gauge-value {
  font-size: 48px;
  font-weight: bold;
  color: white;
  text-align: center;
  line-height: 1;
}

.stats-container {
  display: flex;
  justify-content: center;
  margin: 25px 0;
  padding: 0;
  color: white;
}

.stat-item {
  text-align: center;
  padding: 0 20px;
}

.stat-divider {
  width: 1px;
  background-color: #444;
  margin: 0 10px;
}

.stat-label {
  font-size: 16px;
  color: #ccc;
  margin-bottom: 5px;
}

.stat-value {
  font-size: 20px;
  font-weight: bold;
  color: white;
}

.history-link-container {
  margin: 20px 0;
  text-align: center;
}

.historial-link {
  color: #10b981;
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: color 0.2s;
}

.historial-link:hover {
  color: #34d399;
  text-decoration: underline;
}

.notes-section {
  margin: 25px 0;
  padding: 0 20px;
  color: #aaa;
  font-size: 14px;
  line-height: 1.5;
}

.modal-close-button {
  background: transparent;
  color: #10b981;
  border: none;
  padding: 10px 25px;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: color 0.2s;
  margin-top: 10px;
}

.modal-close-button:hover {
  color: #34d399;
  text-decoration: underline;
}

/* Ocultar la barra de título original del popup */
.dx-popup-title.dx-toolbar {
  display: none !important;
}

/* Estilos para overlay */
.dx-overlay-shader {
  background-color: rgba(0, 0, 0, 0.7) !important;
}

.dx-button-mode-outlined {
  background-color: transparent;
  border-color: transparent;
  color: #33d76f;
}
.dx-button-has-text .dx-button-content {
  padding: 8px 18px;
  color: #33d76f;
}
.dx-button-has-text .dx-button-content:hover {
  border: 0;
}
.dx-button-mode-outlined:hover {
  border: 0;
  background: transparent;
}

/* Forzar letras blancas en el dropdown de Clients (DevExtreme SelectBox/TagBox) en el modal de Edit User */
.dx-list:not(.dx-list-select-decorator-enabled) .dx-list-item,
.dx-list .dx-list-item,
.dx-list .dx-list-item .dx-list-item-content,
.dx-list .dx-list-item .dx-list-item-content span,
.dx-list .dx-list-item .dx-list-item-content div {
  color: #fff !important;
}

/* Ocultar visualmente los iconos de check en el dropdown de Clients (DevExtreme SelectBox/TagBox) */
.dx-list .dx-item-selected .dx-list-select-checkbox,
.dx-list .dx-list-select-checkbox,
.dx-list .dx-checkbox,
.dx-list .dx-checkbox-icon,
.dx-list .dx-checkbox-checked,
.dx-list .dx-checkbox-checked .dx-checkbox-icon,
.dx-list .dx-checkbox-icon:before,
.dx-list .dx-checkbox-icon:after {
  display: none !important;
}

/* Más espacio arriba del campo Clients en el modal de Edit User */
#clientField {
  margin-top: 10px !important;
}




.dx-texteditor.dx-state-focused.dx-editor-filled,.dx-texteditor.dx-state-hover.dx-editor-filled {
  border-color: #33D76F !important;
}
 
.dx-editor-filled.dx-texteditor-with-floating-label .dx-texteditor-label{
  color: #33D76F;
  transform: translateY(-20px);
}
 
.dx-editor-filled.dx-texteditor-with-floating-label.dx-state-focused .dx-texteditor-label .dx-label span{
  color: #33D76F;
}
 
.dx-editor-filled.dx-texteditor-with-floating-label.dx-state-focused.dx-texteditor-empty .dx-texteditor-label{
  color: #33D76F;
  transform: translateY(-20px);
}
 
.dx-editor-filled.dx-texteditor-with-floating-label.dx-texteditor-empty .dx-texteditor-label{
  color: #222222;
  transform: translateY(0px);
}
 
.dx-texteditor-input{
  padding-top: 0px !important;
  padding-bottom: 0px !important;
}


#email-textbox{
  margin-bottom: 40px;
}
#password-textbox  {
  margin-top: 40px;
}

/* --- Custom Modal Styles for SVG Arc Modal --- */
.custom-modal-content {
    background: rgba(29, 29, 29, 0.6) !important;  /* Changed from 0.85 to 0.6 for more transparency */
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
    border-radius: 24px !important;
    padding: 40px !important;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 480px; /* Increased from 440px to 480px */
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.custom-modal-content .client-name {
    color: #ffffff;
    font-size: 28px;
    font-weight: 700;
    margin: 0 0 10px 0;
}

.custom-modal-content .progress-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 30px;
    position: relative;
    height: auto;
    width: 100%;
}

.custom-modal-content .arc-container {
    position: relative;
    width: 260px; /* Increased from 220px to 260px */
    height: 140px; /* Increased from 120px to 140px */
    margin: 0 auto;
}

/* Remove previous progress-text class since we're now using SVG text element */
.custom-modal-content #progressArc {
    display: block;
    margin: 0 auto;
    overflow: visible;
    width: 100%;
    height: 100%;
}

.custom-modal-content #progressArc text {
    font-family: 'Inter Tight', sans-serif;
    font-weight: 300;
}

/* Add a specific rule for the SVG stroke width if needed */
.custom-modal-content #progressArc path {
    stroke-linecap: round;
}

.custom-modal-content .modal-details {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: -21px;
    margin-bottom: 15px;
}
.custom-modal-content .detail-item {
    display: flex;
    flex-direction: column;
}
.custom-modal-content .detail-label {
    color: #A0A0A0;
    font-size: 14px;
    margin-bottom: 4px;
}
.custom-modal-content .detail-value {
    color: #ffffff;
    font-size: 18px;
    font-weight: 600;
}
.custom-modal-content .divider {
    width: 1px;
    height: 40px;
    background-color: #A0A0A0;
}
.custom-modal-content .history-link {
    color: #86EFAC;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    border-bottom: 1px solid #86EFAC;
    padding-bottom: 2px;
    margin-bottom: 25px;
    display: inline-block;
}
.custom-modal-content .notes {
    color: #A0A0A0;
    font-size: 14px;
    margin: 0 0 25px 0;
    max-width: 380px; /* Increased from 280px to 380px */
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.custom-modal-content .close-link {
    color: #86EFAC;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    border-bottom: 1px solid #86EFAC;
    padding-bottom: 3px;
    cursor: pointer;
}

/* Hide DevExtreme popup title bar */
.dx-popup-title.dx-toolbar {
    display: none !important;
}

/* Animación de entrada */
@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.container {
  animation: slideUp 0.6s ease-out;
}

/* Arreglo para el fondo duplicado en el modal */
.dx-popup-wrapper .dx-overlay-shader {
    background-color: rgba(0, 0, 0, 0.7) !important;
    opacity: 1 !important;
}

.dx-overlay-content.dx-popup-normal {
    background-color: transparent !important;
    border: none !important;
}

/* Eliminar fondos adicionales del contenido modal */
.custom-modal-content {
    background: rgba(29, 29, 29, 0.6) !important; /* Cambiado de 0.85 a 0.6 para mayor transparencia */
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
    border-radius: 24px !important;
    padding: 40px !important;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 440px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Limpiar cualquier otra configuración de fondo de los componentes del popup */
.dx-popup-content {
    background: transparent !important;
    padding: 0 !important;
}

.custom-modal-content .percentage-text {
  font-family: 'Inter Tight', sans-serif;
  font-weight: 300;
  font-size: 55px;
  line-height: 21px;
  letter-spacing: 0px;
  color: #FFFFFF;
  opacity: 1;
  text-align: left; 
}

