.azure-header {
    background: rgba(255, 255, 255, 0.98);
    border-bottom: 1px solid rgba(0, 122, 204, 0.1);
    box-shadow: 0 2px 20px rgba(0, 122, 204, 0.06);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.azure-header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 4px 25px rgba(0, 122, 204, 0.1);
    transform: translateY(0);
}

.azure-header.hidden {
    transform: translateY(-100%);
}

.azure-header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}

.azure-site-brand {
    display: flex;
    align-items: center;
}

.azure-site-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: #2c3e50;
    transition: all 0.3s ease;
}

.azure-site-logo:hover {
    color: #007acc;
    transform: translateY(-1px);
}

.azure-logo-icon {
    width: 40px;
    height: 40px;
    background: #007acc;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 20px;
    transition: all 0.3s ease;
}

.azure-site-logo:hover .azure-logo-icon {
    background: #0066cc;
    transform: rotate(5deg) scale(1.05);
}

.azure-brand-text {
    display: flex;
    flex-direction: column;
}

.azure-site-title {
    font-size: 20px;
    font-weight: 700;
    margin: 0;
    line-height: 1.2;
    color: #2c3e50;
}

.azure-site-subtitle {
    font-size: 12px;
    color: #7f8c8d;
    margin: 0;
    font-weight: 400;
    opacity: 0.8;
}

.azure-header-nav {
    display: flex;
    align-items: center;
    gap: 8px;
}

.azure-nav-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    color: #7f8c8d;
    text-decoration: none;
    font-weight: 500;
    border-radius: 25px;
    transition: all 0.3s ease;
    position: relative;
    font-size: 14px;
}

.azure-nav-item:hover {
    color: #007acc;
    background: rgba(0, 122, 204, 0.08);
    transform: translateY(-1px);
}

.azure-nav-item.active {
    color: #007acc;
    background: rgba(0, 122, 204, 0.1);
    font-weight: 600;
}

.azure-nav-item.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 2px;
    background: #007acc;
    border-radius: 1px;
}

.azure-nav-item i {
    font-size: 16px;
}

.azure-header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.azure-search-toggle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(0, 122, 204, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #007acc;
}

.azure-search-toggle:hover {
    background: rgba(0, 122, 204, 0.15);
    transform: scale(1.05);
}

.azure-mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    width: 40px;
    height: 40px;
    cursor: pointer;
    padding: 0;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 4px;
}

.azure-hamburger-line {
    width: 20px;
    height: 2px;
    background: #7f8c8d;
    border-radius: 1px;
    transition: all 0.3s ease;
}

.azure-mobile-menu-btn:hover .azure-hamburger-line {
    background: #007acc;
}

.azure-mobile-menu-btn:hover {
    background: rgba(0, 122, 204, 0.08);
}


.azure-search-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.azure-search-overlay.active {
    opacity: 1;
    visibility: visible;
}

.azure-search-container {
    width: 90%;
    max-width: 600px;
    text-align: center;
}

.azure-search-box {
    display: flex;
    align-items: center;
    background: #fff;
    border-radius: 50px;
    padding: 8px;
    box-shadow: 0 10px 40px rgba(0, 122, 204, 0.2);
    margin-bottom: 20px;
}

.azure-search-input {
    flex: 1;
    border: none;
    outline: none;
    padding: 12px 20px;
    font-size: 16px;
    background: transparent;
    color: #2c3e50;
}

.azure-search-input::placeholder {
    color: #95a5a6;
}

.azure-search-btn,
.azure-search-close {
    width: 44px;
    height: 44px;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    font-size: 18px;
}

.azure-search-btn {
    background: #007acc;
    color: #fff;
    margin-right: 4px;
}

.azure-search-btn:hover {
    background: #0066cc;
    transform: scale(1.05);
}

.azure-search-close {
    background: #f8f9fa;
    color: #7f8c8d;
}

.azure-search-close:hover {
    background: #e9ecef;
    color: #495057;
}

.azure-search-tips {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
}


.azure-mobile-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.azure-mobile-nav.active {
    opacity: 1;
    visibility: visible;
}

.azure-mobile-nav-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
}

.azure-mobile-nav-content {
    position: absolute;
    top: 0;
    right: 0;
    width: 320px;
    max-width: 85vw;
    height: 100%;
    background: #fff;
    display: flex;
    flex-direction: column;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
}

.azure-mobile-nav.active .azure-mobile-nav-content {
    transform: translateX(0);
}

.azure-mobile-nav-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
    background: #007acc;
    color: #fff;
}

.azure-mobile-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.azure-mobile-logo-icon {
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.azure-mobile-brand-text {
    display: flex;
    flex-direction: column;
}

.azure-mobile-title {
    font-size: 18px;
    font-weight: 600;
    margin: 0;
    line-height: 1.2;
}

.azure-mobile-subtitle {
    font-size: 12px;
    opacity: 0.9;
    margin: 0;
}

.azure-mobile-close-btn {
    background: none;
    border: none;
    font-size: 24px;
    color: #fff;
    cursor: pointer;
    padding: 8px;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.azure-mobile-close-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

.azure-mobile-nav-list {
    flex: 1;
    overflow-y: auto;
    padding: 10px 0;
}

.azure-mobile-nav-item {
    display: flex;
    align-items: center;
    padding: 16px 20px;
    color: #2c3e50;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
}

.azure-mobile-nav-item:hover {
    background: rgba(0, 122, 204, 0.05);
    color: #007acc;
}

.azure-mobile-nav-item.active {
    background: rgba(0, 122, 204, 0.1);
    color: #007acc;
    border-right: 3px solid #007acc;
}

.azure-mobile-nav-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(0, 122, 204, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
    color: #007acc;
    font-size: 18px;
}

.azure-mobile-nav-text {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.azure-mobile-nav-title {
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 2px;
}

.azure-mobile-nav-desc {
    font-size: 12px;
    color: #95a5a6;
}

.azure-nav-arrow {
    font-size: 14px;
    opacity: 0.5;
    transition: all 0.3s ease;
}

.azure-mobile-nav-item:hover .azure-nav-arrow {
    opacity: 1;
    transform: translateX(3px);
}

.azure-mobile-footer {
    padding: 20px;
    border-top: 1px solid #f0f0f0;
    background: #f8f9fa;
}

.azure-mobile-stats {
    display: flex;
    justify-content: space-around;
    gap: 10px;
}

.azure-mobile-stat-item {
    text-align: center;
    flex: 1;
}

.azure-mobile-stat-number {
    display: block;
    font-size: 20px;
    font-weight: 700;
    color: #007acc;
    margin-bottom: 4px;
}

.azure-mobile-stat-label {
    font-size: 12px;
    color: #95a5a6;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}


@media (max-width: 1024px) {
    .azure-header-nav {
        gap: 4px;
    }

    .azure-nav-item {
        padding: 8px 12px;
        font-size: 13px;
    }

    .azure-search-toggle {
        width: 36px;
        height: 36px;
    }
}

@media (max-width: 768px) {
    .azure-header-container {
        height: 60px;
        padding: 0 15px;
    }

    .azure-header-nav {
        display: none;
    }

    .azure-mobile-menu-btn {
        display: flex;
    }

    .azure-logo-icon {
        width: 36px;
        height: 36px;
        font-size: 18px;
    }

    .azure-site-title {
        font-size: 18px;
    }

    .azure-site-subtitle {
        font-size: 11px;
    }

    .azure-search-toggle {
        width: 36px;
        height: 36px;
    }
}

@media (max-width: 480px) {
    .azure-header-container {
        padding: 0 10px;
    }

    .azure-mobile-nav-content {
        width: 100%;
    }

    .azure-mobile-nav-header {
        padding: 16px;
    }

    .azure-mobile-title {
        font-size: 16px;
    }

    .azure-mobile-nav-item {
        padding: 14px 16px;
    }

    .azure-search-container {
        width: 95%;
    }

    .azure-search-input {
        font-size: 14px;
        padding: 10px 16px;
    }
}


.azure-mobile-nav-list::-webkit-scrollbar {
    width: 4px;
}

.azure-mobile-nav-list::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.azure-mobile-nav-list::-webkit-scrollbar-thumb {
    background: #007acc;
    border-radius: 2px;
}

.azure-mobile-nav-list::-webkit-scrollbar-thumb:hover {
    background: #0066cc;
}


.azure-nav-item:focus,
.azure-search-toggle:focus,
.azure-mobile-menu-btn:focus,
.azure-search-input:focus,
.azure-search-btn:focus,
.azure-search-close:focus {
    outline: 2px solid #007acc;
    outline-offset: 2px;
}


@keyframes azureSlideIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.azure-header {
    animation: azureSlideIn 0.5s ease-out;
}


@media (prefers-color-scheme: dark) {
    .azure-header {
        background: rgba(45, 45, 45, 0.98);
        border-bottom-color: rgba(0, 122, 204, 0.3);
    }

    .azure-site-title,
    .azure-nav-item,
    .azure-mobile-nav-item {
        color: #e0e0e0;
    }

    .azure-site-subtitle,
    .azure-mobile-nav-desc {
        color: #b0b0b0;
    }

    .azure-mobile-nav-content {
        background: #2d2d2d;
    }

    .azure-search-box {
        background: #3d3d3d;
    }

    .azure-search-input {
        color: #e0e0e0;
    }
}


@media (prefers-contrast: high) {
    .azure-header {
        border-bottom: 2px solid #007acc;
    }

    .azure-nav-item,
    .azure-mobile-nav-item {
        border: 1px solid transparent;
    }

    .azure-nav-item:focus,
    .azure-mobile-nav-item:focus {
        border-color: #007acc;
    }
}


@media (prefers-reduced-motion: reduce) {

    .azure-header,
    .azure-nav-item,
    .azure-mobile-nav-content,
    .azure-search-overlay {
        transition: none;
    }

    .azure-mobile-close-btn:hover {
        transform: none;
    }
}