:root {
    --primary-color: rgb(13, 32, 50);
    --accent-color: rgb(41, 98, 155);
}

.dc-header {
    background-color: var(--primary-color);
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
}

.dc-header .site-header {
    background-color: var(--primary-color);
    height: 80px;
    display: flex;
    align-items: center;
    padding: 0 40px;
    font-family: 'Roboto', sans-serif;
}

.dc-header .logo {
    width: auto;
    height: 37.5px;
}

.dc-header .nav-container {
    flex: 1;
    display: flex;
    justify-content: center;
    margin: 0 40px;
}

.dc-header .nav-links {
    display: flex;
    align-items: center;
    gap: 20px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.dc-header .nav-links li,
.dc-header .nav-links a {
    display: flex;
    align-items: center;
    height: auto;
    padding: 0 16px;
    box-sizing: border-box;
}

.dc-header .nav-links a {
    color: white;
    text-decoration: none;
    font-size: 15px;
    font-weight: 400;
    padding: 8px 0;
    position: relative;
    display: inline-block;
    line-height: normal;
    white-space: nowrap;
    transition: all 0.2s ease;
}

.dc-header .nav-links a::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    bottom: 0;
    left: 0;
    background: linear-gradient(90deg, #fff, rgba(255,255,255,0.5), #fff);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.dc-header .nav-links a:hover::after {
    transform: scaleX(1);
}

.dc-header .login-section {
    display: flex;
    align-items: center;
}

/* Google Sign-In Button Styles */
.dc-header .login-section iframe,
.dc-header .login-section div[role="button"] {
    background: white !important;
    border: 1px solid rgb(41, 98, 155) !important;
    border-radius: 4px !important;
    color: rgb(13, 32, 50) !important;
}

.dc-header .login-section iframe:hover,
.dc-header .login-section div[role="button"]:hover {
    background: rgb(13, 32, 50) !important;
    color: white !important;
    border-color: white !important;
}

.dc-header .user-welcome {
    color: white;
    display: none;
    margin-left: 10px;
}

/* Dropdown styles */
.dc-header .dropdown {
    position: relative;
    display: inline-block;
}

.dc-header .dropdown-content {
    display: none;
    position: absolute;
    background-color: var(--primary-color);
    min-width: 250px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 4px;
    padding: 0;
    z-index: 1000;
    top: 100%;
    left: 0;
}

.dc-header .dropdown:hover .dropdown-content {
    display: block;
}

.dc-header .dropdown-content a {
    color: white;
    padding: 8px 16px;
    text-decoration: none;
    display: block;
    font-size: 14px;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.dc-header .dropdown-content a:hover {
    font-weight: 700;
    background: none;
}

.dc-header .header-spacer {
    background-color: rgb(13, 32, 50);
    height: 2rem;
    margin-top: -2rem;
}

.header {
    background-color: #ffffff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    padding: 1rem 2rem;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 30px;
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    color: #333;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #007bff;
}

.nav-link.active {
    color: #007bff;
}

.login-section {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.user-dropdown {
    position: relative;
    display: inline-block;
}

#userWelcome {
    display: none;
    cursor: pointer;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    background-color: #f8f9fa;
    transition: background-color 0.3s ease;
}

#userWelcome:hover {
    background-color: #e9ecef;
}

#userWelcome span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
}

.dropdown-content {
    display: none;
    position: absolute;
    right: 0;
    top: 100%;
    background-color: white;
    min-width: 200px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    padding: 0.5rem 0;
    margin-top: 0.5rem;
    z-index: 1001;
}

.user-dropdown:hover .dropdown-content {
    display: block;
}

.dropdown-content a {
    color: #333;
    padding: 0.75rem 1rem;
    text-decoration: none;
    display: block;
    transition: background-color 0.3s ease;
}

.dropdown-content a:hover {
    background-color: #f8f9fa;
    color: #007bff;
}

.dropdown-content hr {
    margin: 0.5rem 0;
    border: none;
    border-top: 1px solid #e9ecef;
}

@media (max-width: 1024px) {
    .dc-header {
        height: auto;
    }

    .dc-header .site-header {
        height: 60px !important;
        padding: 0;
    }

    .dc-header .nav-container {
        display: none; /* Hide by default */
        position: absolute;
        top: 60px;
        left: 0;
        width: auto;
        min-width: 200px;
        background-color: var(--primary-color);
        margin: 0;
        padding: 0;
    }

    .dc-header .nav-container.active {
        display: block; /* Show when active */
    }

    .dc-header .nav-links {
        flex-direction: column;
        margin: 0;
        padding: 0;
    }

    .dc-header .nav-links li {
        margin: 0;
        padding: 0;
        width: 100%;
    }

    .dc-header .nav-links a {
        padding: 12px 15px;
        margin: 0;
        width: 100%;
        display: block;
    }

    .mobile-menu-toggle {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        width: 24px;
        height: 18px;
        position: absolute;
        left: 15px;
        top: 50%;
        transform: translateY(-50%);
        z-index: 1001;
        cursor: pointer;
        padding: 0;
        margin: 0;
    }

    .mobile-menu-toggle span {
        display: block;
        width: 24px;
        height: 2px;
        background-color: white;
        transition: transform 0.3s ease;
    }

    .dc-header .logo {
        height: 34.5px !important; /* Reduced from 37.5px by 8% */
        width: auto;
    }
}

@media (max-width: 768px) {
    .header {
        padding: 1rem;
    }

    .nav-links {
        gap: 1rem;
    }

    .logo img {
        height: 32px;
    }
}

/* Only if you need to style .dropbtn specifically: */
.dc-header .dropbtn {
    display: flex;
    align-items: center;
    height: 140px;
    padding: 0 16px;
    box-sizing: border-box;
    background: none;
    border: none;
    color: inherit;
    font: inherit;
    cursor: pointer;
} 