#cookie_note {
    display: none;
    position: fixed;
    left: 50%;
    bottom: 15px;
    bottom: calc(15px + env(safe-area-inset-bottom, 0px));
    width: calc(100% - 24px);
    max-width: 1140px;
    box-sizing: border-box;
    padding: 16px;
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
    transform: translateX(-50%);
    z-index: 9999;
    opacity: 0;
    transition: opacity 0.25s ease;
}

#cookie_note.show {
    display: block;
    opacity: 1;
}

#cookie_note p {
    margin: 0;
    font-size: clamp(0.8rem, 2.6vw, 0.95rem);
    line-height: 1.45;
    text-align: left;
    color: #000000;
    word-wrap: break-word;
}

#cookie_note p a {
    font-weight: 700;
	color: #000000;
    text-decoration: underline;
}

#cookie_note .cookie_accept {
    width: 100%;
    min-height: 44px;
    margin: 12px 0 0;
    padding: 10px 16px;
    font-size: 0.95rem;
    color: #ffffff;
    background-color: #eb6320;
    border: 1px solid #eb6320;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.2s ease, border-color 0.2s ease;
	display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s ease-in;
    outline: none;
	font-size: clamp(1rem, 0.912rem + 0.3756vw, 1.25rem);
}

#cookie_note .cookie_accept:hover,
#cookie_note .cookie_accept:focus {
    background-color: #8e8e8e;
    border-color: #8e8e8e;
    color: #ffffff;
    outline: none;
}

#cookie_note .cookie_accept:active {
    background-color: #8e8e8e;
    border-color: #8e8e8e;
}

@media (min-width: 576px) {
    #cookie_note {
        padding: 20px;
    }

    #cookie_note .cookie_accept {
        width: auto;
        min-width: 140px;
        margin: 12px auto 0;
    }
}

@media (min-width: 768px) {
    #cookie_note.show {
        display: flex;
        align-items: center;
        gap: 20px;
    }

    #cookie_note p {
        flex: 1;
    }

    #cookie_note .cookie_accept {
        flex-shrink: 0;
        width: auto;
        margin: 0;
    }
}

@media (max-width: 360px) {
    #cookie_note {
        padding: 12px;
        bottom: 8px;
        width: calc(100% - 16px);
    }

    #cookie_note p {
        font-size: 0.8rem;
    }
}
