.notice-bar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 12px 20px;
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transform: translateY(-100%);
    opacity: 1;
}

.notice-wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 1680px;
}

.notice-close {
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
    line-height: 1;
    color: inherit;
}

.notice-bar .notice-message {
    display: inline-block;
    margin-right: 15px;
    line-height: 1.2;
    flex-grow: 2;
}

.notice-bar .notice-close {
    all: unset; /* Resets all default button styles */
    cursor: pointer;
    font-size: 20px;
    padding: 5px 10px;
    margin-left: 10px;
    background: transparent;
    color: #000;
    display: inline-block;
}

.notice-bar .notice-close:hover {
    cursor: pointer;
}

.notice-message .mobile-message {
    display: none;
}

.notice-bar-button {
    display: inline-block;
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    white-space: nowrap;
    transition: ease .4s;
}
.notice-bar-link{
    white-space: nowrap;
}

@media (max-width: 768px) {
    .notice-message .desktop-message {
        display: none !important;
    }
    .notice-message .mobile-message {
        display: inline;
    }
}