/* Overlay oscuro */
#tyc-reset-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7); /* overlay_color: #000000, overlay_opacity: 0.7 */
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow-y: auto; /* Permitir scroll vertical en el overlay */
}

/* Contenido */
#tyc-reset-modal .tyc-reset-content {
    margin: 1rem 0;
    line-height: 1.4;
    overflow-y: auto; /* Scroll solo para el contenido */
    flex-grow: 1; /* Ocupar el espacio disponible */
}

/* Contenedor del modal */
#tyc-reset-modal {
    background: #ffffff; /* window_bg_color: #ffffff */
    padding: 2rem;
    max-width: 500px; /* window_max_width: 500 */
    width: 90%;
    border-radius: 8px; /* window_border_radius: 8 */
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2); /* window_shadow: 1, shadow_opacity: 0.2 */
    max-height: 50vh; /* window_max_height: 50 */
    display: flex;
    flex-direction: column;
}

/* Título principal */
#tyc-reset-modal h2 {
    margin-top: 0;
    font-size: 18px; /* title_font_size: 1.5rem -> 18px */
    font-family: Arial, sans-serif; /* Sugerido */
    font-weight: bold; /* Corregido de 'bolds' */
    color: #1d2327; /* title_color: #1d2327 */
    flex-shrink: 0; /* Evitar que el título se encoja */
}

/* Texto central */
#tyc-reset-modal .tyc-reset-intro-text {
    font-size: 15px; /* intro_font_size: 1rem -> 15px */
    font-family: Arial, sans-serif; /* Sugerido */
    font-weight: normal; /* Sugerido */
    color: #1d2327; /* intro_color: #1d2327 */
}

/* Texto con enlace */
#tyc-reset-modal .tyc-reset-link {
    font-size: 15px; /* link_font_size: 1rem -> 15px */
    font-family: Arial, sans-serif; /* Sugerido */
    font-weight: normal; /* Sugerido */
    color: #2271b1; /* link_color: #2271b1 */
}

/* Botones */
#tyc-reset-modal .tyc-reset-buttons {
    margin-top: 1.5rem;
    display: flex;
    justify-content: space-around;
}

/* Botones: tipografia y tamaño */
/* Estilos comunes para ambos botones */
#tyc-reset-modal #tyc-reset-accept,
#tyc-reset-modal #tyc-reset-cancel {
    padding: 0.6rem 1.2rem;
    font-size: 15px; /* User's latest value, without !important */
    font-family: Arial, sans-serif;
    font-weight: bold; /* User's latest value, without !important */
    letter-spacing: 1.5px; /* User's latest value */
    cursor: pointer;
    border: none;
    border-radius: 4px;
    text-decoration: none;
    display: inline-block;
    line-height: normal;
}

/* Botón Aceptar - Colores */
#tyc-reset-modal #tyc-reset-accept {
    background-color: #0073aa;
    color: #ffffff;
}

/* Botón Cancelar - Colores */
#tyc-reset-modal #tyc-reset-cancel {
    background-color: #aaaaaa;
    color: #ffffff;
}

/* Para pantallas pequeñas */
@media (max-width: 480px) {
 #tyc-reset-modal {
   padding: 1rem;
 }
 #tyc-reset-modal .tyc-reset-buttons {
   flex-direction: column;
 }
 #tyc-reset-modal .tyc-reset-buttons .button {
  width: 100%;
  margin-bottom: 0.5rem;
 }
}
