/* Contenedor principal de la aplicación */
.scs-limpieza-app {
    max-width: 100%; /* Adaptado al 100% como indica el CSS de la ULL */
    background: #ffffff !important;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 500px;
    position: relative;
    padding: 20px;
    
    /* ELIMINACIÓN DE LA SOMBRA: Forzamos a "none" para que se vea plano */
    box-shadow: none !important;
    
    font-family: "Inter", "Segoe UI", sans-serif;
}

/* Ocultar pasos inactivos por defecto */
.scs-paso {
    display: none;
}
.scs-paso-activo {
    display: block;
}

/* Tipografías y Textos */
.scs-titulo-principal {
    font-size: 24px;
    color: #111111;
    text-align: center;
    margin-bottom: 20px;
    font-weight: 700;
}
.scs-titulo-seccion, .scs-pregunta-texto {
    font-size: 18px;
    color: #2c3e50;
    margin-bottom: 20px;
    font-weight: 600;
    line-height: 1.4;
}
.scs-texto-informativo, .scs-texto-final {
    font-size: 15px;
    line-height: 1.6;
    color: #555555;
    margin-bottom: 15px;
}
.scs-gracias-titulo {
    font-size: 20px;
    color: #00a896;
    margin: 25px 0 15px 0;
}

/* Formularios y Selectores */
.scs-select-contenedor {
    margin-bottom: 25px;
}
.scs-input-select {
    width: 100%;
    padding: 12px;
    border: 2px solid #e2e8f0;
    border-radius: 6px;
    background-color: #fff;
    font-size: 15px;
    color: #4a5568;
    outline: none;
    transition: border-color 0.2s ease;
}
.scs-input-select:focus {
    border-color: #00a896;
}
.scs-textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #e2e8f0;
    border-radius: 6px;
    font-size: 14px;
    resize: vertical;
    outline: none;
    margin-bottom: 25px;
}
.scs-textarea:focus {
    border-color: #00a896;
}

/* Botonería y Controles de flujo */
/* ==========================================================================
   Botones de Control - Clonado ULL (Reforzado contra el tema de WordPress)
   ========================================================================== */
.scs-control-btn {
    display: block !important;
    width: 100% !important;
    box-sizing: border-box !important;
    outline: none !important;
    -webkit-tap-highlight-color: transparent !important;
    border-radius: 4px !important;
    
    /* Forzamos la eliminación de cualquier borde o sombra roja del tema */
    border: none !important;
    outline: 0 !important;
    box-shadow: none !important;
    
    padding: 12px 14px !important;
    font-size: 1rem !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    text-align: center !important;
    margin-top: 20px !important;
    
    /* Colores oficiales ULL */
    background: #214f91 !important;
    color: #ffffff !important;
    text-shadow: none !important; /* Elimina sombras de texto del tema */
    
    transition: all 0.2s ease !important;
}

/* Estado Hover (pasar el ratón) */
.scs-control-btn:hover {
    background: #2a65b0 !important;
    color: #ffffff !important;
    border: none !important;
    box-shadow: none !important;
}

/* Estado Active (hacer clic) */
.scs-control-btn:active {
    transform: scale(0.97) !important;
    background: #2a65b0 !important;
    color: #ffffff !important;
    border: none !important;
    box-shadow: none !important;
}

/* Estado disabled */
.scs-control-btn:disabled {
    background-color: #cbd5e1 !important;
    color: #94a3b8 !important;
    cursor: not-allowed !important;
    transform: none !important;
    border: none !important;
}
/* Botones de selección de números (1 al 5) */
.scs-botonera-valores {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.scs-valor-selector {
    padding: 12px;
    background: #f8fafc;
    border: 2px solid #e2e8f0;
    border-radius: 6px;
    font-size: 16px;
    font-weight: bold;
    color: #4a5568;
    cursor: pointer;
    transition: all 0.2s ease;
}
.scs-valor-selector:hover {
    background: #edf2f7;
    border-color: #cbd5e1;
}
.scs-valor-selector.scs-seleccionado {
    background: #00a896;
    color: #ffffff;
    border-color: #00a896;
}

/* Estructura de barra de progreso */
/* ==========================================================================
   Barra de Progreso (Clonada de la ULL)
   ========================================================================== */
/* ==========================================================================
   Barra de Progreso - Posicionada en la Base del Contenedor
   ========================================================================== */
.scs-progreso-barra {
    height: 8px !important;
    background: #b8c9dd !important; /* Azul grisáceo de fondo */
    border-radius: 4px !important;
    
    /* Forzamos el anclaje en la parte inferior del contenedor principal */
    position: absolute !important;
    bottom: 25px !important;        /* Separación del borde inferior de la tarjeta */
    left: 40px !important;          /* Alineado con los márgenes internos izquierdo... */
    right: 40px !important;         /* ...y derecho de la aplicación */
    
    margin: 0 !important;           /* Eliminamos márgenes que puedan moverla de sitio */
    z-index: 5 !important;
    display: block !important;
}

.scs-progreso-llenado {
    height: 100% !important;
    border-radius: 4px !important;
    width: 0%;                       
    background: #214f91 !important;  /* Azul oscuro oficial ULL */
    transition: width 0.3s ease !important;
}

.scs-progreso-texto {
    display: block !important;
    text-align: right !important;    /* Alineado a la derecha como la ULL */
    font-size: 0.8rem !important;
    color: #6b7280 !important;       /* Gris de la ULL */
    margin-top: 8px !important;
}