/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

/* Header styles */
.header {
    width: 100%;
    background: white;
    border-bottom: 1px solid #e0e0e0;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
    height: 64px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Left section */
.header-left {
    display: flex;
    align-items: center;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    padding: 8px;
    cursor: pointer;
}

.menu-icon {
    display: block;
    width: 24px;
    height: 2px;
    background: #5f6368;
    position: relative;
}

.menu-icon::before,
.menu-icon::after {
    content: '';
    position: absolute;
    width: 24px;
    height: 2px;
    background: #5f6368;
    left: 0;
}

.menu-icon::before {
    top: -6px;
}

.menu-icon::after {
    bottom: -6px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo-img {
    /*width: 32px;*/
    height: 32px;
}

.logo-text {
    font-size: 20px;
    font-weight: 500;
    color: #202124;
}

/* Navigation */
.nav-desktop {
    display: flex;
    margin-left: 32px;
}

.nav-link {
    color: #5f6368;
    text-decoration: none;
    padding: 8px 16px;
    font-size: 14px;
    font-weight: 500;
    position: relative;
}

.nav-link:hover {
    color: #202124;
}

.nav-link.active {
    color: #01875f;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 2px;
    background: #01875f;
}

.nav-mobile {
    display: none;
    padding: 8px 0;
    border-top: 1px solid #e0e0e0;
}

/* Right section */
.header-right {
    display: flex;
    align-items: center;
    gap: 8px;
}

.search-container {
    display: flex;
    align-items: center;
    background: #f1f3f4;
    border-radius: 24px;
    padding: 8px 16px;
    width: 300px;
}

.search-icon {
    width: 20px;
    height: 20px;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%235f6368" stroke-width="2"><circle cx="11" cy="11" r="8"/><line x1="21" y1="21" x2="16.65" y2="16.65"/></svg>') no-repeat center;
}

.search-input {
    border: none;
    background: none;
    padding: 8px;
    width: 100%;
    outline: none;
    font-size: 14px;
}

.icon-button {
    background: none;
    border: none;
    padding: 8px;
    cursor: pointer;
    border-radius: 50%;
}

.icon-button:hover {
    background: #f1f3f4;
}

.help-icon,
.user-icon {
    display: block;
    width: 24px;
    height: 24px;
}

.help-icon {
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%235f6368" stroke-width="2"><circle cx="12" cy="12" r="10"/><path d="M9.09 9a3 3 0 0 1 5.83 1c0 2-3 3-3 3"/><line x1="12" y1="17" x2="12.01" y2="17"/></svg>') no-repeat center;
}

.user-icon {
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%235f6368" stroke-width="2"><path d="M20 21v-2a4 4 0 0 0-4-4H8a4 4 0 0 0-4 4v2"/><circle cx="12" cy="7" r="4"/></svg>') no-repeat center;
}

/* Responsive styles */
@media (max-width: 1024px) {
    .search-container {
        width: 200px;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    .nav-desktop {
        display: none;
    }

    .search-container {
        display: none;
    }

    .nav-mobile.active {
        display: flex;
        flex-direction: column;
    }

    .nav-mobile .nav-link {
        padding: 12px 16px;
    }
}