/* Estilos principales - Turpial Airlines, C.A. */
/* Paleta elegante: Negro, Gris, Azul Claro, Blanco */

:root {
    /* Paleta principal */
    --elegant-black: #1a1a1a;          /* Negro elegante */
    --elegant-black-light: #2d2d2d;    /* Negro claro */
    --elegant-dark: #333333;           /* Gris muy oscuro */
    --turpial-black: #040404;              /* Negro corporativo oficial */
    --turpial-black-light: #1a1a1a;       /* Negro claro */
    --turpial-dark: #2d2d2d;              /* Negro suave */


    /* Grises sofisticados */
    --elegant-gray-dark: #4a4a4a;      /* Gris oscuro */
    --elegant-gray-medium: #666666;    /* Gris medio */
    --elegant-gray-light: #8c8c8c;     /* Gris claro */
    --elegant-gray-subtle: #f8f9fa;    /* Gris muy claro */
    --turpial-gray-dark: #3d3d3d;         /* Gris oscuro */
    --turpial-gray-medium: #666666;       /* Gris medio */
    --turpial-gray-light: #999999;        /* Gris claro */
    --turpial-gray-subtle: #f5f5f5;       /* Gris muy claro */
    --turpial-gold: #FCC41C;              /* Oro oficial Turpial */
    --turpial-gold-light: #ffd54f;        /* Oro claro */
    --turpial-gold-dark: #f9a825;         /* Oro oscuro */
    --turpial-gold-subtle: #fff8e1;       /* Oro muy claro */
    --turpial-gold-pale: #fffde7;         /* Oro pálido */

    /* Azules claros elegantes */
    --elegant-blue: #4a90e2;           /* Azul principal */
    --elegant-blue-light: #6ba8e9;     /* Azul claro */
    --elegant-blue-dark: #357abd;      /* Azul oscuro */
    --elegant-blue-subtle: #e8f2fc;    /* Azul muy claro */
    --elegant-blue-pale: #f0f7ff;      /* Azul pálido */
    
    /* Colores de acento */
    --accent-silver: #c0c0c0;          /* Plata para detalles */
    --accent-cyan: #00bcd4;            /* Cian para highlights */
    --accent-bronze: #cd7f32;             /* Bronce para detalles */
    --accent-amber: #ff8f00;              /* Ámbar para highlights */

  
    /* Neutros */
    --pure-white: #ffffff;
    --pure-black: #000000;
    --shadow-light: rgba(0, 0, 0, 0.08);
    --shadow-medium: rgba(0, 0, 0, 0.15);
    --shadow-dark: rgba(0, 0, 0, 0.25);
}

* {
    box-sizing: border-box;
}

body {
    font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--elegant-dark);
    background: linear-gradient(135deg, var(--pure-white) 0%, var(--elegant-blue-pale) 100%);
    font-weight: 400;
    min-height: 100vh;
}

/* Header elegante */
.header {
    background: linear-gradient(135deg, var(--elegant-black) 0%, var(--elegant-black-light) 100%);
    color: var(--pure-white);
    padding: 1rem 0;
    box-shadow: 0 4px 12px var(--shadow-medium);
    border-bottom: 3px solid var(--accent-bronze);
}

.header .navbar-brand {
    font-weight: 700;
    font-size: 1.8rem;
    color: var(--turpial-gold) !important;
    letter-spacing: -0.025em;
    text-shadow: 0 2px 4px var(--shadow-dark);
}

.header .navbar-nav .nav-link {
    color: var(--accent-silver) !important;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    margin: 0 0.2rem;
}

.header .navbar-nav .nav-link:hover {
    color: var(--pure-black) !important;
    background-color: var(--turpial-gold);
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(74, 144, 226, 0.3);
}

/* Hero Section elegante */
.hero {
    background: linear-gradient(135deg, var(--turpial-gold-dark) 45%, var(--turpial-gold-light) 80%);
    min-height: 300px;
    display: flex;
    align-items: center;
    color: var(--pure-black);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
}

.hero .container {
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 3.2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    letter-spacing: -0.025em;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.95;
    font-weight: 400;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}






/* Buttons elegantes */
.btn-turpial {
    background: linear-gradient(135deg, var(--turpial-gold) 45%, var(--turpial-gold-light) 100%);
    border: 2px solid var(--turpial-gold-dark);
    color: var(--pure-black);
    font-weight: 600;
    padding: 12px 32px;
    border-radius: 8px;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    box-shadow: 0 4px 12px rgba(74, 144, 226, 0.3);
    position: relative;
    overflow: hidden;
}

.btn-turpial:hover {
    background: linear-gradient(135deg, var(--turpial-gold) 45%, var(--turpial-gold-light) 100%);
    border-color: var(--pure-black);
    color: var(--pure-black);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(74, 144, 226, 0.4);
}

.btn-outline-turpial {
    border: 2px solid var(--turpial-gold);
    color: var(--pure-black);
    background-color: transparent;
    font-weight: 600;
    padding: 10px 28px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.btn-outline-turpial:hover {
    background-color: var(--turpial-gold);
    color: var(--pure-white);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(74, 144, 226, 0.3);
}

/* Cards elegantes */
.card {
    border: 1px solid #e1e5e9;
    border-radius: 12px;
    box-shadow: 0 2px 8px var(--shadow-light);
    transition: all 0.3s ease;
    overflow: hidden;
    background-color: var(--pure-white);
    backdrop-filter: blur(10px);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px var(--shadow-medium);
    border-color: var(--elegant-blue-light);
}

.card-header {
    background: linear-gradient(135deg, var(--elegant-black) 0%, var(--elegant-dark) 100%);
    border: none;
    color: var(--pure-white);
    font-weight: 600;
    padding: 1.5rem;
    border-bottom: 2px solid var(--elegant-blue);
}

.vacancy-card {
    margin-bottom: 2rem;
    border-left: 4px solid var(--turpial-gold);
    transition: all 0.3s ease;
}

.vacancy-card:hover {
    border-left-color: var(--turpial-gold-light);
}

.vacancy-card .card-body {
    padding: 2rem;
    background: linear-gradient(135deg, var(--pure-white) 0%, var(--elegant-gray-subtle) 100%);
}

.vacancy-title {
    color: var(--elegant-black);
    font-weight: 700;
    font-size: 1.4rem;
    margin-bottom: 1rem;
    letter-spacing: -0.025em;
}

.vacancy-meta {
    color: var(--elegant-gray-medium);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}


.vacancy-meta .badge {
    background: linear-gradient(135deg, var(--turpial-gold-subtle) 0%, var(--turpial-gold-pale) 100%);
    color: var(--turpial-gold-dark);
    margin-right: 0.5rem;
    margin-bottom: 0.5rem;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    border: 1px solid var(--turpial-gold);
}

/* Forms elegantes */
.form-control {
    border: 2px solid #e1e5e9;
    border-radius: 8px;
    padding: 12px 16px;
    transition: all 0.3s ease;
    font-size: 1rem;
    background-color: var(--pure-white);
}

.form-control:focus {
    border-color: var(--elegant-blue);
    box-shadow: 0 0 0 3px rgba(74, 144, 226, 0.1);
    outline: none;
    background-color: var(--pure-white);
}

.form-label {
    font-weight: 600;
    color: var(--elegant-dark);
    margin-bottom: 0.8rem;
}

/* Navigation */
.navbar {
    padding: 0;
}

.navbar-toggler {
    border: 1px solid var(--accent-silver);
    padding: 0.5rem 0.75rem;
    color: var(--pure-white);
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 2px var(--elegant-blue);
}

/* Footer elegante */
.footer {
    background: linear-gradient(135deg, var(--elegant-black) 0%, var(--elegant-dark) 100%);
    color: var(--accent-silver);
    padding: 3rem 0 1.5rem;
    margin-top: 4rem;
    border-top: 3px solid var(--turpial-gold);
}

.footer h5 {
    color: var(--turpial-gold);
    font-weight: 500;
    margin-bottom: 1.2rem;
    font-size: 1.1rem;
}

.footer a {
    color: var(--accent-silver);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.footer a:hover {
    color: var(--elegant-blue-light);
    text-decoration: none;
    transform: translateX(5px);
}

/* Filters elegantes */
.filters {
    background: linear-gradient(135deg, var(--pure-white) 0%, var(--elegant-gray-subtle) 100%);
    padding: 2rem;
    border-radius: 12px;
    margin-bottom: 2rem;
    border: 1px solid #e1e5e9;
    box-shadow: 0 4px 12px var(--shadow-light);
}

.filters h4 {
    color: var(--elegant-black);
    margin-bottom: 1.5rem;
    font-weight: 700;
    border-bottom: 2px solid var(--elegant-blue);
    padding-bottom: 0.8rem;
}

/* Admin Sidebar elegante */
.admin-sidebar {
    background: linear-gradient(180deg, var(--elegant-black) 0%, var(--elegant-dark) 100%);
    min-height: 100vh;
    padding: 0;
    border-right: 3px solid var(--elegant-blue);
}

.admin-sidebar .nav-link {
    color: var(--accent-silver);
    padding: 1.2rem 1.5rem;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    transition: all 0.3s ease;
    font-weight: 500;
    position: relative;
}

.admin-sidebar .nav-link:hover,
.admin-sidebar .nav-link.active {
    background: linear-gradient(135deg, var(--elegant-blue) 0%, var(--elegant-blue-dark) 100%);
    color: var(--pure-white);
    font-weight: 600;
    border-left: 4px solid var(--accent-cyan);
    transform: translateX(5px);
}

.admin-sidebar .nav-link i {
    margin-right: 0.75rem;
    width: 20px;
    text-align: center;
}

/* Stats Cards elegantes */
.stats-card {
    background: linear-gradient(135deg, var(--pure-white) 0%, var(--elegant-blue-pale) 100%);
    color: var(--elegant-dark);
    border: 1px solid #e1e5e9;
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    margin-bottom: 2rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px var(--shadow-light);
    position: relative;
    overflow: hidden;
}

.stats-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, var(--accent-bronze) 0%, var(--turpial-gold) 100%);
}

.stats-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px var(--shadow-medium);
}

.stats-card h3 {
    font-size: 2.5rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: var(--turpial-gold);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.stats-card p {
    margin: 0;
    font-weight: 500;
    color: var(--elegant-gray-medium);
}

/* Tables elegantes */
.table {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px var(--shadow-light);
    border: 1px solid #e1e5e9;
    background-color: var(--pure-white);
}

.table th {
    background: linear-gradient(135deg, var(--elegant-blue) 0%, var(--elegant-blue-dark) 100%);
    color: var(--pure-white);
    border: none;
    font-weight: 600;
    padding: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.9rem;
}

.table td {
    padding: 1.2rem;
    vertical-align: middle;
    border-color: var(--elegant-gray-subtle);
    color: var(--elegant-dark);
}

.table tbody tr:hover {
    background-color: var(--shadow-light);
    transform: scale(1.01);
    transition: all 0.2s ease;
}

/* Status badges elegantes con colores mejorados */
.status-badge {
    padding: 0.6rem 1.2rem;
    border-radius: 25px;
    font-size: 0.85rem;
    font-weight: 600;
    border: 1px solid transparent;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.status-badge:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Pendiente - Azul brillante */
.status-pendiente { 
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
    color: #1565c0; 
    border-color: #42a5f5;
    box-shadow: 0 2px 8px rgba(21, 101, 192, 0.25);
}

/* En Revisión - Púrpura moderno */
.status-revision { 
    background: linear-gradient(135deg, #f3e5f5 0%, #e1bee7 100%);
    color: #7b1fa2; 
    border-color: #ab47bc;
    box-shadow: 0 2px 8px rgba(123, 31, 162, 0.25);
}

/* Entrevista - Verde esmeralda */
.status-entrevista { 
    background: linear-gradient(135deg, #e0f7fa 0%, #b2ebf2 100%);
    color: #00838f; 
    border-color: #26c6da;
    box-shadow: 0 2px 8px rgba(0, 131, 143, 0.25);
}

/* Seleccionado - Verde vibrante */
.status-seleccionado { 
    background: linear-gradient(135deg, #e8f5e8 0%, #c8e6c9 100%);
    color: #2e7d32; 
    border-color: #66bb6a;
    box-shadow: 0 2px 8px rgba(46, 125, 50, 0.25);
}

/* Rechazado - Rojo coral */
.status-rechazado { 
    background: linear-gradient(135deg, #ffebee 0%, #ffcdd2 100%);
    color: #c62828; 
    border-color: #ef5350;
    box-shadow: 0 2px 8px rgba(198, 40, 40, 0.25);
}

/* Estados adicionales */
.status-contratado {
    background: linear-gradient(135deg, #f1f8e9 0%, #dcedc8 100%);
    color: #388e3c;
    border-color: #8bc34a;
    box-shadow: 0 2px 8px rgba(56, 142, 60, 0.25);
}

.status-cancelado {
    background: linear-gradient(135deg, #fafafa 0%, #eeeeee 100%);
    color: #424242;
    border-color: #9e9e9e;
    box-shadow: 0 2px 8px rgba(66, 66, 66, 0.15);
}

.status-proceso {
    background: linear-gradient(135deg, #fff8e1 0%, #ffecb3 100%);
    color: #f57f17;
    border-color: #ffca28;
    box-shadow: 0 2px 8px rgba(245, 127, 23, 0.25);
}

/* Charts containers elegantes */
.chart-container {
    background: linear-gradient(135deg, var(--pure-white) 0%, var(--elegant-gray-subtle) 100%);
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 12px var(--shadow-light);
    border: 1px solid #e1e5e9;
    margin-bottom: 2rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.3rem;
    }
    
    .hero p {
        font-size: 1.1rem;
    }
    
    .admin-sidebar {
        min-height: auto;
    }
    
    .stats-card h3 {
        font-size: 2rem;
    }
    
    .header .navbar-brand {
        font-size: 1.5rem;
    }
}

/* Animations elegantes */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.slide-in-left {
    animation: slideInLeft 0.5s ease-out;
}

/* Utilities elegantes */
.text-turpial {
    color: var(--turpial-gold) !important;
}

.bg-turpial {
    background-color: var(--elegant-blue) !important;
}

.bg-turpial-gradient {
    background: linear-gradient(135deg, var(--elegant-blue) 0%, var(--elegant-blue-light) 100%) !important;
}

.border-turpial {
    border-color: var(--elegant-blue) !important;
}

.text-elegant {
    color: var(--elegant-black) !important;
}

.bg-elegant {
    background-color: var(--elegant-black) !important;
}

/* Custom scrollbar elegante */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--elegant-gray-subtle);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, var(--elegant-blue) 0%, var(--elegant-blue-dark) 100%);
    border-radius: 5px;
    border: 2px solid var(--elegant-gray-subtle);
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, var(--elegant-blue-dark) 0%, var(--elegant-black-light) 100%);
}

/* Nuevas utilidades corporativas */
.corporate-accent {
    color: var(--accent-cyan) !important;
}

.corporate-warning {
    color: #ff9800 !important;
}

.corporate-danger {
    color: #f44336 !important;
}

.corporate-text {
    color: var(--elegant-dark) !important;
}

.corporate-text-light {
    color: var(--elegant-gray-medium) !important;
}

/* Mejoras en botones secundarios */
.btn-secondary {
    background: linear-gradient(135deg, var(--elegant-gray-medium) 0%, var(--elegant-gray-dark) 100%);
    border-color: var(--elegant-gray-medium);
    color: var(--pure-white);
}

.btn-secondary:hover {
    background: linear-gradient(135deg, var(--elegant-gray-dark) 0%, var(--elegant-dark) 100%);
    border-color: var(--elegant-gray-dark);
    color: var(--pure-white);
    transform: translateY(-2px);
}

/* Alertas mejoradas */
.alert-success {
    background: linear-gradient(135deg, #e8f5e8 0%, #d0edd0 100%);
    border: 1px solid #66bb6a;
    color: #2e7d32;
    border-radius: 8px;
}

.alert-warning {
    background: linear-gradient(135deg, #fff3e0 0%, #ffe0b2 100%);
    border: 1px solid #ffb74d;
    color: #e65100;
    border-radius: 8px;
}

.alert-danger {
    background: linear-gradient(135deg, #ffebee 0%, #ffcdd2 100%);
    border: 1px solid #ef5350;
    color: #c62828;
    border-radius: 8px;
}

.alert-info {
    background: linear-gradient(135deg, var(--elegant-blue-subtle) 0%, #e3f2fd 100%);
    border: 1px solid var(--elegant-blue-light);
    color: var(--elegant-blue-dark);
    border-radius: 8px;
}

/* Efectos de brillo y profundidad */
.glass-effect {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.shadow-elegant {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

/* Gradientes personalizados */
.gradient-primary {
    background: linear-gradient(135deg, var(--elegant-blue) 0%, var(--elegant-blue-light) 100%);
}

.gradient-dark {
    background: linear-gradient(135deg, var(--elegant-black) 0%, var(--elegant-dark) 100%);
}

.gradient-light {
    background: linear-gradient(135deg, var(--pure-white) 0%, var(--elegant-blue-pale) 100%);
}   