/**
 * Header Component Styles
 */

/* Navigation hover states - moved from nav.css for consistency */
.nav-user-link:hover {
    background: #059669 !important;
}

.nav-signup-link:hover {
    background: #059669 !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.25);
}

.nav-login-link:hover {
    background: #10b981 !important;
    color: white !important;
}

/* Nav brand logo */
.nav-brand-logo {
    width: 32px;
    height: 32px;
    background: #10B981;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    font-size: 20px;
    font-weight: bold;
}

/* Nav right section */
.nav-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

/* Nav links */
.nav-user-link,
.nav-signup-link,
.nav-login-link {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s;
}

.nav-user-link {
    padding: 8px 16px;
    background: #10b981;
    color: white;
}

.nav-user-link svg {
    margin-right: 6px;
}

.nav-signup-link {
    padding: 8px 16px;
    background: #10b981;
    color: white;
    margin-right: 10px;
}

.nav-login-link {
    padding: 8px 16px;
    border: 2px solid #10b981;
    color: #10b981;
}

/* Test mode form */
.test-mode-selector form {
    display: inline;
}

.test-mode-selector select {
    min-width: 350px;
    max-width: 450px;
}

/* Progress bar active width - dynamically set via data attribute */
.header-progress-line-active[data-width] {
    transition: width 0.3s ease;
}

/* Test mode banner */
.test-mode-banner {
    color: white;
    padding: 10px;
    text-align: center;
    font-weight: bold;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9999;
}

/* When test mode banner is active */
body.test-mode-banner-active {
    padding-top: 40px;
}

body.test-mode-banner-active .site-header {
    margin-top: 0;
}

/* Responsive styles */
@media (max-width: 768px) {
    .nav-right {
        flex-direction: column;
        width: 100%;
    }
    
    .test-mode-selector {
        width: 100%;
        margin-bottom: 10px;
    }
    
    .nav-user-link,
    .nav-login-link {
        width: 100%;
        justify-content: center;
    }
}