/* ============================================
   HEADER - SKILLTRACK
   ============================================ */

.modern-header {
    background: linear-gradient(135deg, #0b2239 0%, #1e3a8a 100%);
    color: white;
    padding: 0.6rem 0;
    box-shadow: 0 2px 12px rgba(0,0,0,0.15);
    position: relative;
    z-index: 1000;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.modern-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(255,255,255,0.05) 0%, transparent 50%, rgba(255,255,255,0.02) 100%);
    pointer-events: none;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    min-height: 45px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex: 1;
}

.header-center {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

.header-logo {
    height: 35px;
    transition: transform 0.3s ease;
}

.header-logo:hover {
    transform: scale(1.05);
}

.header-right {
    display: flex;
    gap: 1rem;
    align-items: center;
    flex: 1;
    justify-content: flex-end;
}

.header-btn {
    min-width: 150px;
}

/* Menú de usuario */
.user-menu {
    color: white !important;
    font-weight: 500;
    padding: 0.3rem 0.8rem;
    border-radius: 6px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.user-menu:hover {
    background: rgba(255,255,255,0.1);
    color: white !important;
    transform: translateY(-1px);
}

.modern-dropdown {
    background: white;
    border: none;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.15);
    padding: 0.5rem 0;
    margin-top: 0.5rem;
}

.modern-dropdown .dropdown-item {
    padding: 0.75rem 1.5rem;
    color: #333;
    transition: all 0.2s ease;
    border-radius: 0;
}

.modern-dropdown .dropdown-item:hover {
    background: #f8f9fa;
    color: #1e3a8a;
    transform: translateX(5px);
}

.modern-dropdown .dropdown-divider {
    margin: 0.5rem 0;
    border-color: #e9ecef;
}

.modern-login-btn {
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    border: none;
    padding: 0.4rem 1.2rem;
    border-radius: 6px;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0,123,255,0.3);
}

.modern-login-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0,123,255,0.4);
    background: linear-gradient(135deg, #0056b3 0%, #004085 100%);
}
