/* ============================================================
   app.css — Estilos globales del sistema de reclutamiento
   ============================================================ */

/* ---- VARIABLES DE COLOR ---- */
:root {
    --bs-primary: #0d47a1;
    --blue-dark:  #0a2e6e;
    --blue-mid:   #1565c0;
    --blue-light: #1976d2;
    --accent:     #2196f3;
}

/* ---- BASE ---- */
body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background: #f0f4f8;
}

/* ---- NAVBAR ---- */
.navbar-main {
    background: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue-mid) 60%, var(--blue-light) 100%);
    box-shadow: 0 2px 12px rgba(13,71,161,.35);
    padding: .75rem 0;
}
.navbar-brand {
    font-weight: 700;
    font-size: 1.35rem;
    letter-spacing: -.5px;
    color: #fff !important;
}
.navbar-brand i { color: #90caf9; }
.navbar-main .nav-link {
    color: rgba(255,255,255,.85) !important;
    font-weight: 500;
    font-size: .92rem;
    padding: .45rem .85rem !important;
    border-radius: 6px;
    transition: background .2s, color .2s;
}
.navbar-main .nav-link:hover,
.navbar-main .nav-link.active {
    background: rgba(255,255,255,.15);
    color: #fff !important;
}
.navbar-main .nav-link i { margin-right: 4px; }
.navbar-main .dropdown-menu {
    border: none;
    box-shadow: 0 8px 24px rgba(0,0,0,.12);
    border-radius: 10px;
    padding: .5rem;
}
.navbar-main .dropdown-item {
    border-radius: 6px;
    font-size: .9rem;
    padding: .5rem .85rem;
}
.navbar-main .dropdown-item:hover { background: #e3f2fd; color: var(--blue-dark); }
.navbar-toggler { border-color: rgba(255,255,255,.4) !important; }
.navbar-toggler-icon { filter: brightness(10); }

/* ---- STAT CARDS ---- */
.stat-card {
    border: none;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,.08);
    transition: transform .2s, box-shadow .2s;
}
.stat-card:hover { transform: translateY(-3px); box-shadow: 0 6px 20px rgba(0,0,0,.12); }
.stat-card .card-body { padding: 1.25rem 1.5rem; }
.stat-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
}

/* ---- TABLES ---- */
.table-card { border: none; border-radius: 14px; overflow: hidden; box-shadow: 0 2px 12px rgba(0,0,0,.07); }
.table thead th {
    background: #1565c0;
    color: #fff;
    border: none;
    font-weight: 600;
    font-size: .85rem;
    text-transform: uppercase;
    letter-spacing: .5px;
    padding: 1rem 1.25rem;
}
.table tbody tr { transition: background .15s; }
.table tbody tr:hover { background: #e8f0fe; }
.table tbody td { padding: .85rem 1.25rem; vertical-align: middle; border-color: #e9ecef; }

/* ---- FORMS ---- */
.form-card { border: none; border-radius: 16px; box-shadow: 0 4px 24px rgba(0,0,0,.09); }
.form-label { font-weight: 600; font-size: .88rem; color: #374151; }
.form-control,
.form-select {
    border-radius: 8px;
    border: 1.5px solid #d1d5db;
    padding: .55rem .85rem;
    font-size: .93rem;
    transition: border-color .2s, box-shadow .2s;
}
.form-control:focus,
.form-select:focus {
    border-color: var(--blue-light);
    box-shadow: 0 0 0 3px rgba(21,101,192,.12);
}

/* ---- BUTTONS ---- */
.btn-primary {
    background: linear-gradient(135deg, var(--blue-mid), var(--accent));
    border: none;
    border-radius: 8px;
    font-weight: 600;
}
.btn-primary:hover {
    background: linear-gradient(135deg, var(--blue-dark), var(--blue-mid));
}

/* ---- PAGE HEADER ---- */
.page-header {
    background: linear-gradient(135deg, var(--blue-dark), var(--blue-mid));
    color: #fff;
    border-radius: 14px;
    padding: 1.5rem 2rem;
    margin-bottom: 1.5rem;
}
.page-header h1 { font-size: 1.6rem; font-weight: 700; margin: 0; }
.page-header p  { margin: .25rem 0 0; opacity: .8; font-size: .9rem; }

/* ---- BADGES ---- */
.badge { border-radius: 6px; font-weight: 600; font-size: .78rem; padding: .35em .65em; }

/* ---- FOOTER ---- */
.footer { background: #1a1a2e; color: rgba(255,255,255,.5); font-size: .82rem; }
