/* VARIABLES CORPORATIVAS PREVERSALUD */
:root {
    --ps-fucsia: #F10066;
    --ps-fucsia-hover: #D10056;
    --ps-azul: #4445A4;
    --ps-azul-hover: #353683;
}

html {
    font-size: 14px;
    position: relative;
    min-height: 100%;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

body {
    margin-bottom: 80px;
    background-color: #F8F9FA; /* Fondo gris muy clarito para resaltar las tarjetas blancas */
}

/* SOBRESCRIBIR BOTONES PRIMARIOS (Color Azul Corporativo) */
.btn-primary {
    background-color: var(--ps-azul) !important;
    border-color: var(--ps-azul) !important;
    color: white;
    font-weight: 500;
    transition: all 0.3s ease;
}

    .btn-primary:hover {
        background-color: var(--ps-azul-hover) !important;
        border-color: var(--ps-azul-hover) !important;
        transform: translateY(-1px);
        box-shadow: 0 4px 8px rgba(68, 69, 164, 0.2);
    }

/* SOBRESCRIBIR BOTONES SECUNDARIOS / ÉXITO (Color Fucsia Corporativo) */
.btn-success {
    background-color: var(--ps-fucsia) !important;
    border-color: var(--ps-fucsia) !important;
    color: white;
    font-weight: 500;
    transition: all 0.3s ease;
}

    .btn-success:hover {
        background-color: var(--ps-fucsia-hover) !important;
        border-color: var(--ps-fucsia-hover) !important;
        transform: translateY(-1px);
        box-shadow: 0 4px 8px rgba(241, 0, 102, 0.2);
    }

/* ENLACES GLOBALES */
a {
    color: var(--ps-azul);
    text-decoration: none;
}

    a:hover {
        color: var(--ps-azul-hover);
    }

/* CLASES DE TEXTO PERSONALIZADAS */
.text-primary {
    color: var(--ps-azul) !important;
}

.text-fucsia {
    color: var(--ps-fucsia) !important;
}

.hover-fucsia {
    transition: color 0.2s ease;
}

    .hover-fucsia:hover {
        color: var(--ps-fucsia) !important;
    }

/* FOCOS Y BORDES */
.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.25rem rgba(241, 0, 102, 0.25) !important;
    border-color: var(--ps-fucsia) !important;
}

/* PIE DE PÁGINA */
.footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    white-space: nowrap;
    line-height: 60px;
}
