/* ==========================================
   GENERAL & FUENTES
   ========================================== */
html, body {
    height: 100%; /* Necesario para que el footer sepa dónde es "abajo" */
    margin: 0;
}

body { 
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; 
    color: #2d2d2d; 
    -webkit-font-smoothing: antialiased;
    background-color: #f3f2f1;
    display: flex;
    flex-direction: column; /* Organiza Navbar, Main y Footer en columna */
}

/* El contenido principal crecerá para empujar al footer */
main {
    flex: 1 0 auto; 
}

/* ==========================================
   ESTILOS DASHBOARD (Layout Moderno)
   ========================================== */

/* Banner de bienvenida */
.hero-banner {
    background: linear-gradient(135deg, #0d6efd 0%, #0042a5 100%);
    border-radius: 20px;
    padding: 3rem;
    color: white;
    position: relative;
    overflow: hidden;
}

.hero-img {
    position: absolute;
    right: 20px;
    bottom: -20px;
    width: 280px;
    opacity: 0.2;
    pointer-events: none;
}

/* Tarjetas de Vacantes */
.card-vacante-moderna {
    transition: all 0.3s ease;
    border: 1px solid rgba(0,0,0,0.08) !important;
    border-radius: 12px;
    cursor: pointer;
    background-color: white;
    animation: fadeIn 0.4s ease-out;
}

.card-vacante-moderna:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1) !important;
    border-color: #0d6efd !important;
}

/* ==========================================
   MODALES Y DETALLES
   ========================================== */
.modal-content {
    border-radius: 20px;
    border: none;
    animation: fadeIn 0.3s ease-out;
}

.bg-primary-subtle { 
    background-color: #e7f1ff !important; 
}

.text-formatted { 
    white-space: pre-line; 
    line-height: 1.6; 
    color: #4a4a4a; 
}

/* ==========================================
   TU FOOTER (Restaurado y Pegado Abajo)
   ========================================== */
.footer-corporativo {
    flex-shrink: 0; /* Evita que el footer se comprima */
    background-color: #ffffff;
    border-top: 1px solid #e9ecef;
    padding: 40px 0 30px 0;
    width: 100%;
    position: relative;
    clear: both;
}

.footer-corporativo h5, .footer-corporativo h6 { color: #212529; }
.footer-corporativo ul li a:hover { color: #0d6efd !important; }

.redes-sociales a {
    display: inline-block;
    width: 35px; height: 35px;
    background: #f8f9fa;
    border-radius: 50%;
    text-align: center;
    line-height: 35px;
    transition: 0.3s;
    text-decoration: none;
}
.redes-sociales a:hover { background: #0d6efd; color: white !important; }

/* Animación */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Utilidades */
.cursor-pointer { cursor: pointer; }


/* TIMELINE EXPERIENCIA */
.timeline {
    border-left: 2px solid #0d6efd;
    padding-left: 15px;
}

.timeline-item {
    position: relative;
    margin-bottom: 20px;
}

.timeline-item::before {
    content: "";
    position: absolute;
    left: -9px;
    top: 5px;
    width: 12px;
    height: 12px;
    background: #0d6efd;
    border-radius: 50%;
}

/* TAGS HABILIDADES */
.skill-badge {
    background: #e7f1ff;
    color: #0d6efd;
    padding: 6px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

