/* Estilos personalizados para Talento Humano */

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.nav-link.active {
    background-color: rgba(255, 255, 255, 0.2);
}

.section {
    display: block;
}

.section.hidden {
    display: none;
}

.section.active {
    display: block;
}

/* Tarjeta de Postulación */
.postulacion-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.postulacion-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

/* Iconos SVG personalizados */
.icon-profesion {
    width: 48px;
    height: 48px;
    fill: currentColor;
    transition: transform 0.3s ease;
}

.postulacion-card:hover .icon-profesion {
    transform: scale(1.1) rotate(5deg);
}

/* Badge de estado */
.badge-estado {
    display: inline-block;
    padding: 0.375rem 0.875rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge-pendiente {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    color: #92400e;
    box-shadow: 0 2px 4px rgba(146, 64, 14, 0.2);
}

.badge-en-revision {
    background: linear-gradient(135deg, #dbeafe 0%, #93c5fd 100%);
    color: #1e40af;
    box-shadow: 0 2px 4px rgba(30, 64, 175, 0.2);
}

.badge-seleccionado {
    background: linear-gradient(135deg, #d1fae5 0%, #6ee7b7 100%);
    color: #065f46;
    box-shadow: 0 2px 4px rgba(6, 95, 70, 0.2);
}

.badge-rechazado {
    background: linear-gradient(135deg, #fee2e2 0%, #fca5a5 100%);
    color: #991b1b;
    box-shadow: 0 2px 4px rgba(153, 27, 27, 0.2);
}

/* Lista de estudios y experiencias */
.item-list {
    background: linear-gradient(90deg, #f9fafb 0%, #ffffff 100%);
    border-left: 4px solid #3b82f6;
    padding: 1.25rem;
    border-radius: 0.75rem;
    margin-bottom: 0.75rem;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.item-list:hover {
    transform: translateX(4px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-left-width: 6px;
}

/* Animaciones */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
}

.fade-in {
    animation: fadeIn 0.5s ease-out;
}

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

/* Scrollbar personalizado */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f5f9;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #3b82f6 0%, #1e3a5f 100%);
    border-radius: 10px;
    border: 2px solid #f1f5f9;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #1e3a5f 0%, #3b82f6 100%);
}

/* Efectos de hover mejorados */
button, .btn {
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

button:hover, .btn:hover {
    transform: translateY(-2px);
}

button:active, .btn:active {
    transform: translateY(0);
}

/* Inputs mejorados */
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="date"],
input[type="number"],
select,
textarea {
    transition: all 0.3s ease;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
input[type="date"]:focus,
input[type="number"]:focus,
select:focus,
textarea:focus {
    transform: scale(1.02);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.15);
}

/* Tablas */
table {
    border-collapse: separate;
    border-spacing: 0;
}

table tbody tr {
    transition: all 0.2s ease;
}

table tbody tr:hover {
    background-color: #f8fafc;
    transform: scale(1.01);
}

/* Cards mejoradas */
.bg-white.rounded-xl {
    transition: all 0.3s ease;
}

.bg-white.rounded-xl:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Loading spinner */
@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.animate-spin {
    animation: spin 1s linear infinite;
}

/* Gradientes personalizados */
.gradient-azul {
    background: linear-gradient(135deg, #1e3a5f 0%, #3b82f6 100%);
}

.gradient-azul-reverse {
    background: linear-gradient(135deg, #3b82f6 0%, #1e3a5f 100%);
}

