/* sintemas.css - Estilos base para Temas de Sistemas */

:root {
    --st-primary: rgba(0,70,255,1);
    --st-primary-dark: #0037cc;
    --st-secondary: #00c2ff;
    --st-dark: #1a1a1a;
    --st-light: #f8faff;
    --st-white: #ffffff;
    --st-muted: #6c757d;
    --st-risk-low: #198754;
    --st-risk-medium: #ffc107;
    --st-risk-high: #fd7e14;
    --st-risk-critical: #dc3545;
    --st-border-radius: 1.25rem;
    --st-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    background-color: var(--st-light);
    color: var(--st-dark);
    line-height: 1.6;
}

.s7-page {
    overflow-x: hidden;
}

/* Hero Section */
.s7-hero {
    background: linear-gradient(135deg, #f8faff 0%, #eef2ff 100%);
    padding: 80px 0;
    position: relative;
}

.s7-eyebrow {
    display: inline-block;
    color: var(--st-primary);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

.s7-hero h1 {
    font-weight: 800;
    letter-spacing: -0.02em;
}

.s7-microcopy {
    font-size: 0.875rem;
    color: var(--st-muted);
}

/* Cards & Components */
.s7-card-step {
    border: none;
    border-radius: var(--st-border-radius);
    box-shadow: var(--st-shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background: var(--st-white);
}

.s7-card-step:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.08);
}

.st-icon-box {
    width: 56px;
    height: 56px;
    background: var(--st-primary);
    color: var(--st-white);
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 1.25rem;
    font-weight: 700;
}

.s7-touch-button {
    height: 100px;
    width: auto;
    border-radius: 10px;
    padding-inline: 0.25rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    transition: all 0.2s ease;
    font-size:0.95em;
}

.btn-primary.s7-touch-button {
    background-color: var(--st-primary);
    border-color: var(--st-primary);
}

.btn-primary.s7-touch-button:hover {
    background-color: var(--st-primary-dark);
    border-color: var(--st-primary-dark);
    transform: scale(1.02);
}

/* Problems Section */
.s7-problem-card {
    border: none;
    border-radius: var(--st-border-radius);
    background: var(--st-white);
    padding: 2rem;
    height: 100%;
    border-left: 4px solid var(--st-primary);
}

/* Responsive adjustments */
@media (max-width: 991.98px) {
    .s7-hero {
        padding: 60px 0;
        text-align: center;
    }
    .s7-hero .hero-illustration {
        margin-top: 3rem;
        max-width: 80%;
    }
}

@media (max-width: 575.98px) {
    .s7-touch-button {
        width: 100%;
    }
}

/* Findings & Results Utils */
.last-child-mb-0 > div:last-child {
    margin-bottom: 0 !important;
}

.collapse .bg-light {
    border-radius: 1rem !important;
}

/* Step-by-Step Wizard Styles */
.s7-step-mode-active .s7-question-step {
    display: none;
    animation: fadeIn 0.4s ease;
}

.s7-step-mode-active .s7-question-step.is-active {
    display: block;
}

.s7-step-progress {
    height: 6px;
    background: #eee;
    border-radius: 3px;
    overflow: hidden;
}

.s7-step-progress-bar {
    height: 100%;
    background: var(--st-primary);
    transition: width 0.3s ease;
}

/* Global Animated Progress Bar */
.s7-global-progress {
    height: 12px;
    border-radius: 10px;
    background-color: #e9ecef;
    overflow: hidden;
}

.s7-global-progress .progress-bar {
    box-shadow: 0 0 15px rgba(0, 70, 255, 0.4);
    position: relative;
}

.s7-global-progress .progress-bar::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    animation: shine 2s infinite;
}

@keyframes shine {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.s7-help-tooltip {
    cursor: help;
    color: var(--st-primary);
    font-size: 0.9rem;
    margin-left: 0.5rem;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.gap{
    width:50px;
    height:50px;
}
.brand img{
    max-width:150px;
}

.s7-question-step.is-active .form-label,
.s7-question-step.is-active .form-label i{
    font-size:1.5em;
    color:var(--st-primary);
}



/*SLIDER*/
/* 1. General para navegadores basados en WebKit (Chrome, Edge, Safari, Opera) */
.form-range::-webkit-slider-thumb {
    width: 24px;                  /* Cambia el ancho (Original de Bootstrap suele ser ~1rem/16px) */
    height: 24px;                 /* Cambia el alto */
    margin-top: -6px;             /* Centra la bolita verticalmente respecto a la barra (ajustar si es necesario) */
    cursor: pointer;
    transition: transform 0.1s ease;
}

/* Efecto visual opcional al hacer touch/click */
.form-range::-webkit-slider-thumb:active {
    transform: scale(1.2);        /* Se hace un poco más grande al presionarla */
}

/* 2. Para Firefox */
.form-range::-moz-range-thumb {
    width: 24px;
    height: 24px;
    border: 0;                    /* Quita bordes raros que a veces mete Firefox */
    cursor: pointer;
    transition: transform 0.1s ease;
}

.form-range::-moz-range-thumb:active {
    transform: scale(1.2);
}