:root {
--primary-color: #0056b3;
--secondary-color: #6c757d;
--light-gray: #f8f9fa;
--dark-gray: #343a40;
--font-family-sans-serif: 'Roboto', sans-serif;
}

html, body {
height: 100%;
}

body {
font-family: var(--font-family-sans-serif);
background-color: var(--light-gray);
color: #212529;
display: flex;
flex-direction: column;
}

.content-wrapper {
flex: 1 0 auto;
}

.footer {
flex-shrink: 0;
}

.navbar-custom {
background-color: #ffffff;
box-shadow: 0 2px 4px rgba(0,0,0,0.05);
padding: 0.5rem 0;
}

.navbar-custom .navbar-brand img {
max-height: 70px;
width: auto;
object-fit: contain;
transition: transform 0.3s ease;
}

.navbar-custom .navbar-brand img:hover {
transform: scale(1.05);
}

.logo-inicio {
padding: 1.5rem 1rem;
background-color: #ffffff;
}

.logo-inicio .display-6 {
font-weight: 700;
color: var(--primary-color);
}

.logo-inicio .lead {
font-weight: 300;
margin: 0.5rem auto 0;
}

.feature-section {
padding: 1.5rem 1rem;
}

.feature-card {
background-color: #ffffff;
border: 1px solid #dee2e6;
border-radius: 0.5rem;
padding: 1rem;
text-align: center;
transition: all 0.3s ease;
height: 100%;
display: flex;
flex-direction: column;
justify-content: center;
}

.feature-card:hover {
transform: translateY(-5px);
box-shadow: 0 0.25rem 0.5rem rgba(0,0,0,0.1);
cursor: pointer;
}

.feature-card .bi {
font-size: 2rem;
color: var(--primary-color);
margin-bottom: 0.5rem;
}

.feature-card h5 {
font-weight: 500;
color: var(--dark-gray);
font-size: 1rem;
margin-bottom: 0.5rem;
}

.feature-card p {
font-weight: 300;
color: var(--secondary-color);
font-size: 0.875rem;
}

.footer {
background-color: var(--dark-gray);
color: #ffffff;
padding: 1rem 1rem;
}

.footer h5 {
font-weight: 500;
color: #ffffff;
font-size: 1rem;
margin-bottom: 0.5rem;
}

.footer p, .footer a {
color: rgba(255,255,255,0.7);
text-decoration: none;
font-size: 0.875rem;
}

.footer a:hover {
color: #ffffff;
text-decoration: underline;
}

.footer .social-icons a {
font-size: 1.25rem;
margin-right: 1rem;
}

.alerta-obligatorios {
    font-size: 12px;
    font-weight: 500;
    color: var(--dark-gray);
}

.politica_privacidad {
    font-size: 13px;
    margin-top: 10px;
}

.label-sm {
    font-size: 12px;
    font-weight: 500;
    color: var(--dark-gray);
    padding-top: 20px;
    padding-bottom: 2px;
}

.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.loading-overlay.show {
    visibility: visible;
    opacity: 1;
}

.iniciar_sesion:hover {
    cursor: pointer;
    text-decoration: underline;
    color: var(--primary-color);
}