a:not(.footer-link) {
    text-decoration: none !important;
    color: inherit !important;
}

.header {
    position: fixed;
    z-index: 100;

    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #ffffff;

    padding: 24px;
    width: calc(100% - 48px);

    gap: 24px;
}

@media (max-width: 800px) {
    .header {
    top: 24px;
    right: 24px;
    left: 24px;
    }
}

.header-left-side {
    display: flex;
    justify-content: center;
    align-items: center;
}

.header-kroyal-name {
    font-size: 2rem;
    font-family: Days One;
    font-weight: normal;
    margin: 0;
}

@media (max-width: 800px) {
    .header-kroyal-name {
        font-size: 1.5rem;
    }
}


.header-search-input {
    width: 50%;
    height: 32px;
    border: 0;
    border-bottom: 2px solid #3D2D8E;

    font-size: 1rem;
    font-weight: bold;
}

@media (max-width: 800px) {
    .header-search-input {
        font-size: 1rem;
        height: 24px;
    }
}

.header-search-input:focus {
    outline: none;
}

.header-right-side {
    display: flex;
    justify-content: center;
    align-items: center;
}

.header-keyw-ael-text {
    font-size: 1.5rem;
    color: #643BD5;
    margin: 0 24px 0 0;
    white-space: nowrap;
}

.header-account-image {
    width: 50px;
    height: 50px;
    border-radius: 100%;
    object-fit: cover;
}

@media (max-width: 800px) {
    .header-keyw-ael-text {
        font-size: 1rem;
    }

    .header-account-image {
        width: 32px;
        height: 32px;
    }
}

.user-avatar-link {
    display: inline-flex;
    align-items: center;
    gap: 8px; /* расстояние между именем и аватаркой */
    text-decoration: none;
}

/* Mobile Header Image - аватарка на мобильной версии */
.Mobil-Header-image {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    cursor: pointer;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.Mobil-Header-image:hover {
    opacity: 0.8;
}

@media (max-width: 640px) {
    .Mobil-Header-image {
        display: none !important;
    }
    
    /* Убираем margin-right у кнопки уведомлений на мобильной версии */
    .notification-button-mobile {
        margin-right: 0 !important;
    }
}