.cookie-notification {
    display: none; /* Hidden by default, shown via JS if needed */
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: var(--color-blue4);
    color: var(--color-wh);
    z-index: 9999;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
    font-family: 'Nunito', sans-serif;
}

.cookie-notification__content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.cookie-notification__text {
    flex: 1;
    padding-right: 2rem;
    font-size: 1.6rem;
    line-height: 1.4;
}
.cookie-notification__text a {
    text-decoration: underline;
}

.cookie-notification__link {
    color: var(--color-blue3);
    text-decoration: underline;
    margin-left: 0.5rem;
    transition: color 0.3s ease;
}

.cookie-notification__link:hover {
    color: var(--color-wh);
}

.cookie-notification__buttons {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.cookie-notification__button {
    cursor: pointer;
    padding: 0.7rem 1.5rem;
    border-radius: 0.3rem;
    font-weight: 600;
    font-size: 1.6rem;
    transition: all 0.3s ease;
    border: none;
}

.cookie-notification__button--accept {
    background-color: var(--color-blue3);
    color: var(--color-wh);
}

.cookie-notification__button--accept:hover {
    background-color: var(--color-blue5);
}

.cookie-notification__button--refuse {
    background-color: transparent;
    color: var(--color-wh);
    border: 1px solid var(--color-wh);
}

.cookie-notification__button--refuse:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

/* Warning Modal Styles */
.cookie-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    font-family: 'Nunito', sans-serif;
}

.cookie-modal__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
}

.cookie-modal__content {
    position: relative;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 500px;
    background-color: var(--color-wh);
    border-radius: 0.5rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    z-index: 10001;
}

.cookie-modal__header {
    padding: 1.5rem;
    background-color: var(--color-blue4);
    color: var(--color-wh);
}

.cookie-modal__title {
    margin: 0;
    font-size: 1.8rem;
    font-weight: 600;
}

.cookie-modal__body {
    padding: 1.5rem;
    color: var(--color-dark);
    font-size: 1.6rem;
    line-height: 1.5;
}

.cookie-modal__footer {
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
    padding: 1rem 1.5rem 1.5rem;
    border-top: 1px solid var(--color-gray1);
}

.cookie-modal__button {
    cursor: pointer;
    padding: 0.7rem 1.5rem;
    border-radius: 0.3rem;
    font-weight: 600;
    font-size: 1.6rem;
    transition: all 0.3s ease;
    border: none;
}

.cookie-modal__button--accept {
    background-color: var(--color-blue3);
    color: var(--color-wh);
}

.cookie-modal__button--accept:hover {
    background-color: var(--color-blue5);
}

.cookie-modal__button--leave {
    background-color: var(--color-gray2);
    color: var(--color-wh);
}

.cookie-modal__button--leave:hover {
    background-color: var(--color-dark);
}

/* Site Overlay for Blurring */
.site-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(5px);
    z-index: 9998;
}

@media (max-width: 768px) {
    .cookie-notification__content {
        flex-direction: column;
        align-items: flex-start;
    }

    .cookie-notification__text {
        padding-right: 0;
        padding-bottom: 1rem;
    }

    .cookie-notification__buttons {
        width: 100%;
        justify-content: flex-end;
    }

    .cookie-modal__content {
        width: 95%;
        max-width: 400px;
    }

    .cookie-modal__footer {
        flex-direction: column;
    }

    .cookie-modal__button {
        width: 100%;
        text-align: center;
    }
}
