/* HeredaFácil - Estilos accesibles */

:root {
    --hf-primary: #2563eb;
    --hf-font-size: 18px;
}

/* Tipografía grande para personas mayores */
body {
    font-size: var(--hf-font-size);
    line-height: 1.6;
}

/* Inputs y selects grandes */
.form-control-lg,
.form-select-lg {
    font-size: 1.1rem;
    padding: 0.75rem 1rem;
}

/* Botones grandes y fáciles de tocar */
.btn-lg {
    font-size: 1.1rem;
    padding: 0.75rem 1.5rem;
    min-height: 48px;
}

.btn {
    min-height: 44px;
}

/* Navbar legible */
.navbar {
    font-size: 1.05rem;
}

.navbar-brand {
    font-size: 1.3rem;
    font-weight: bold;
}

/* Cards */
.card {
    border-radius: 12px;
    overflow: hidden;
}

.card-footer {
    background-color: rgba(0,0,0,0.05);
    border-top: 1px solid rgba(0,0,0,0.1);
    padding: 0.75rem;
}

/* Login */
.tracking-wide {
    letter-spacing: 0.5em;
    font-size: 2rem;
}

/* Tabla responsive */
.table {
    font-size: 1rem;
}

.table th {
    white-space: nowrap;
}

/* Badges */
.badge {
    font-size: 0.85rem;
    padding: 0.4em 0.7em;
}

/* Progress bars */
.progress {
    border-radius: 6px;
}

/* Alertas */
.alert {
    font-size: 1.05rem;
    border-radius: 10px;
}

/* Footer */
footer {
    font-size: 0.95rem;
}

/* Mejor contraste para texto muted */
.text-muted {
    color: #555 !important;
}

/* Cards del dashboard con hover */
.card.shadow:hover {
    transform: translateY(-2px);
    transition: transform 0.2s ease;
}

/* Modales */
.modal-content {
    border-radius: 12px;
}

/* Form check switch más grande */
.form-check-lg .form-check-input {
    width: 3em;
    height: 1.5em;
}

/* Accesibilidad: focus visible */
:focus-visible {
    outline: 3px solid var(--hf-primary);
    outline-offset: 2px;
}

/* Print styles */
@media print {
    .navbar, footer, .btn, .no-print {
        display: none !important;
    }

    body {
        font-size: 14px;
    }

    .card {
        border: 1px solid #ddd !important;
        box-shadow: none !important;
    }
}
