/* Estilos compartidos para ambas páginas */

input[type=range] {
    -webkit-appearance: none;
    width: 100%;
    background: transparent;
    position: relative;
    z-index: 10;
}
input[type=range]:focus { outline: none; }

input[type=range]::-webkit-slider-thumb {
    -webkit-appearance: none;
    height: 22px;
    width: 22px;
    border-radius: 50%;
    background: #ffffff;
    border: 2px solid #00a9e0;
    cursor: pointer;
    margin-top: -10px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: transform 0.1s;
}
input[type=range]::-webkit-slider-thumb:hover { transform: scale(1.1); }

input[type=range]::-webkit-slider-runnable-track {
    width: 100%;
    height: 4px;
    cursor: pointer;
    background: #e2e8f0;
    border-radius: 2px;
}

input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.faq-content {
    transition: max-height 0.3s ease-out, padding 0.3s ease;
    max-height: 0;
    overflow: hidden;
}
.faq-content.open {
    max-height: 500px;
    padding-top: 1rem;
    padding-bottom: 1.5rem;
}

.tab-content {
    display: none;
    animation: fadeIn 0.4s ease-in-out;
}
.tab-content.active { display: block; }

.view-section {
    display: none;
    animation: fadeIn 0.3s ease-in-out;
}
.view-section.active { display: block; }

.card-checkbox:checked + div {
    border-color: #00a9e0;
    background-color: #f0f9ff;
}
.compliance-checkbox:checked + div {
    border-color: #00a9e0;
    box-shadow: 0 0 0 1px #00a9e0;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(5px); }
    to { opacity: 1; transform: translateY(0); }
}
