/* ==========================================
   Cookie Consent Banner
   ========================================== */

.cookie-consent {
    position: fixed;
    bottom: 0px;
    right: 0;
    z-index: 9999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
    font-family: 'IBM Plex Sans JP', sans-serif;
}

.cookie-consent.is-visible {
    opacity: 1;
    pointer-events: auto;
}

.cookie-consent__modal {
    width: 500px;
    background-color: #2a2a2a;
    border: 2px solid #2a2a2a;
    padding: 35px 40px 30px;
    display: flex;
    flex-direction: column;
    gap: 5px;
    box-sizing: border-box;
}

.cookie-consent__title {
    font-size: 14px;
    font-weight: 500;
    color: #fff;
    margin: 0;
    line-height: 27px;
}

.cookie-consent__text {
    font-size: 13px;
    font-weight: 400;
    line-height: 24px;
    color: #e0e0e0;
    margin: 0;
}

.cookie-consent__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-top: 10px;
}

.cookie-consent__link {
    font-size: 13px;
    font-weight: 500;
    line-height: 30px;
    color: #fff;
    text-decoration: underline;
    white-space: nowrap;
}

.cookie-consent__link:hover {
    opacity: 0.8;
}

.cookie-consent__btn {
    flex-shrink: 0;
    background-color: #666;
    color: #fff;
    border: none;
    padding: 14px 0;
    width: 150px;
    font-size: 13px;
    font-weight: 600;
    line-height: 30px;
    font-family: 'IBM Plex Sans JP', sans-serif;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.cookie-consent__btn:hover {
    background-color: #777;
}

@media (max-width: 768px) {
    .cookie-consent {
        bottom: 0;
        right: 0;
        left: 0;
    }

    .cookie-consent__modal {
        width: 100%;
        min-height: 230px;
        padding: 25px;
        border-left: none;
        border-right: none;
        border-bottom: none;
        justify-content: space-between;
    }

    .cookie-consent__text {
        font-size: 13px;
        line-height: 24px;
    }

    .cookie-consent__footer {
        flex-direction: row;
        align-items: center;
        margin-top: 5px;
    }

    .cookie-consent__link {
        font-size: 13px;
        font-weight: 500;
        line-height: 30px;
    }

    .cookie-consent__btn {
        width: 35%;
        padding: 10px 0;
        font-size: 13px;
        text-align: center;
    }
}
