/* Overlay */
.cookie-banner {
    all: initial;
    display: flex;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 100001;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, .45);
    justify-content: center;
    align-items: center;
    font-family: system-ui, sans-serif;
}

/* Modal */
.cookie-banner-content {
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    width: 90%;
    max-width: 600px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, .1);
    color: #333;
    overflow: auto;
    max-height: 90vh;
}

.cookie-banner h3 {
    margin-top: 0;
    font-size: 20px;
    font-weight: 600;
}

.cookie-banner p {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 1em;
    color: #444;
}

.cookie-banner-buttons {
    margin-top: 25px;
    text-align: center;
}

.cookie-banner-buttons button {
    margin: 5px 8px;
    padding: 10px 20px;
    background: #444;
    color: #fff;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    transition: background .3s;
}

.cookie-banner-buttons button:hover {
    background: #222;
}

.options {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 20px;
}

.cookie-option {
    display: flex;
    align-items: flex-start;
    background: #f1f1f1;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    padding: 12px 16px;
    gap: 14px;
}

.cookie-option input[type=checkbox] {
    margin-top: 6px;
    width: 18px;
    height: 18px;
}

.cookie-option strong {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 4px;
    display: block;
}

.cookie-option p {
    margin: 0;
    font-size: 13px;
    line-height: 1.5;
    color: #555;
}

.page-visible {
    display: block;
}

.page-hidden {
    display: none;
}

.cookie-banner-footer {
    margin-top: 20px;
    font-size: 12px;
    text-align: center;
    color: #888;
}

.cookie-banner-footer a {
    color: #666;
    text-decoration: none;
    margin: 0 5px;
}

.cookie-banner-footer a:hover {
    text-decoration: underline;
}

/* Placeholder (YouTube/Vimeo) */
.ytv-placeholder {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    background: #fafafa;
    border: 1px solid #ddd;
    height: 315px;
    overflow: hidden;
    text-align: center;
}

.placeholder-content {
    max-width: 90%;
    margin: 0 auto;
}

.play-button {
    width: 80px;
    height: 80px;
    margin: 0 auto 10px;
    display: block;
    cursor: pointer;
    background: url('/images/playbutton.png') no-repeat center center;
    background-size: contain;
    border: 0;
}

.placeholder-text {
    font-size: 14px;
    color: #333;
}

/* Floating Settings Button */
#cookieSettingsButton {
    position: fixed;
    bottom: 20px;
    left: 20px;
    background: #f5f5f5;
    border: 1px solid #ccc;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10000;
    box-shadow: 0 2px 6px rgba(0, 0, 0, .08);
    transition: background .3s, border-color .3s;
}

#cookieSettingsButton:hover {
    background: #e0e0e0;
    border-color: #999;
}

#cookieSettingsButton svg {
    width: 24px;
    height: 24px;
    fill: #555;
    transition: fill .3s;
}

#cookieSettingsButton:hover svg {
    fill: #222;
}