/* /public/css/rrhh-theme.css */

/* 1. Importación de Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&family=Roboto:wght@300;400;500;700&display=swap');

/* 2. Variables del Manual de Marca (Halter) */
:root {
    --halter-blue: #024da1;
    --halter-dark: #050f38;
    --halter-accent: #2239a0;
    --bg-app: #f4f6f9;
    --card-shadow: 0 8px 24px rgba(5, 15, 56, 0.05);
    --card-shadow-hover: 0 12px 32px rgba(5, 15, 56, 0.1);
}

/* 3. Tipografía Base */
body {
    font-family: 'Roboto', sans-serif;
    background-color: var(--bg-app);
    color: var(--halter-dark);
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6, .navbar-brand, .card-title {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
}

/* 4. Barra de Navegación Custom */
.navbar-custom {
    background-color: var(--halter-dark);
    padding: 0.8rem 0;
}
.navbar-custom .navbar-brand {
    color: #ffffff;
    font-weight: 700;
    letter-spacing: 0.5px;
}
.navbar-custom .nav-link {
    color: rgba(255, 255, 255, 0.85);
    font-weight: 500;
}
.navbar-custom .nav-link:hover {
    color: #ffffff;
}
.navbar-custom .dropdown-menu {
    border-radius: 8px;
    border: none;
    box-shadow: var(--card-shadow);
}

/* 5. Botones Branding */
.btn-brand {
    background-color: var(--halter-blue);
    color: #ffffff;
    border: none;
    border-radius: 8px;
    padding: 0.5rem 1.5rem;
    font-weight: 500;
    transition: all 0.3s ease;
}
.btn-brand:hover {
    background-color: var(--halter-accent);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(2, 77, 161, 0.3);
}

/* 6. Tarjetas Interactivas (SaaS Style) */
.card-rrhh {
    background-color: #ffffff;
    border: none;
    border-radius: 12px;
    box-shadow: var(--card-shadow);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative; /* Necesario para el stretched-link */
    overflow: hidden;
}
.card-rrhh:hover {
    transform: translateY(-5px);
    box-shadow: var(--card-shadow-hover);
}

/* Variante para Tarjeta de Jefatura */
.card-admin {
    border-bottom: 4px solid var(--halter-blue);
}

/* 7. Utilidades extra */
.hero-section {
    background-color: #ffffff;
    border-bottom: 1px solid #e0e4e8;
}
.icon-box {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    background-color: rgba(2, 77, 161, 0.08);
    color: var(--halter-blue);
    margin-bottom: 1rem;
}

/* --- NUEVO HERO CORPORATIVO --- */
.hero-corporativo {
    /* Gradiente sutil usando los colores de la marca */
    background: linear-gradient(135deg, var(--halter-dark) 0%, var(--halter-blue) 100%);
    color: #ffffff;
    padding: 3.5rem 0;
    margin-bottom: 2.5rem;
    /* Redondeo inferior estilo aplicación móvil moderna */
    border-radius: 0 0 24px 24px;
    box-shadow: 0 8px 24px rgba(2, 77, 161, 0.15);
}

/* Ajuste sutil a la navbar para que se fusione con el hero */
.navbar-custom {
    background-color: var(--halter-dark);
    padding: 0.8rem 0;
    /* Pequeña línea divisoria semitransparente para separar sutilmente la barra del hero */
    border-bottom: 1px solid rgba(255, 255, 255, 0.05); 
}