.cookie-consent {
    position: fixed;
    left: 0;
    bottom: 0;
    z-index: 100000000;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.9);
    box-shadow: 0 0 24px 0 rgba(0, 0, 0, 0.2);
}

.cookie-consent__inner {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 20px;
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 20px 0;
}

.cookie-consent__text {
    flex: 1 0 0;
    min-width: 0;
    margin: 0;
    color: #4f4f4f;
    font-family: 'Microsoft JhengHei', sans-serif;
    font-size: 16px;
    line-height: 1.5;
    text-align: justify;
}

.cookie-consent__link {
    color: #3197fa;
    text-decoration: underline;
    cursor: pointer;
}

.cookie-consent__button {
    flex-shrink: 0;
    width: 160px;
    padding: 8px 10px;
    border: none;
    border-radius: 9999px;
    background-color: #005bac;
    color: #ffffff;
    font-family: 'Microsoft JhengHei', sans-serif;
    font-size: 16px;
    line-height: 1.5;
    text-align: center;
    cursor: pointer;
}

@media (max-width: 1280px) {
    .cookie-consent__inner {
        padding-left: 20px;
        padding-right: 20px;
    }
}

@media (max-width: 1024px) {
    .cookie-consent__inner {
        padding: 20px;
    }
}

@media (max-width: 768px) {
    .cookie-consent__inner {
        padding-left: 10px;
        padding-right: 10px;
    }
}

@media (max-width: 576px) {
    .cookie-consent__inner {
        flex-direction: column;
        align-items: center;
    }

    .cookie-consent__text {
        flex: none;
        width: 100%;
    }

    .cookie-consent__button {
        width: 100%;
    }
}