/* SMV cookies: information notice + click-to-play video placeholder */

.smv-cookie-notice {
    position: fixed;
    left: 1rem;
    right: 1rem;
    /* --smv-vv-bottom: part of the screen covered by the phone browser's
       toolbar, measured in cookies.js with the visualViewport API */
    bottom: calc(1rem + var(--smv-vv-bottom, 0px) + env(safe-area-inset-bottom, 0px));
    z-index: 1050;
    max-height: calc(100vh - 2rem);
    overflow-y: auto;
    max-width: 44rem;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: .9rem 1.1rem;
    background: var(--bs-dark, #0c1c18);
    color: #fff;
    border-radius: .5rem;
    box-shadow: 0 .5rem 1.5rem rgba(0, 0, 0, .3);
    font-size: .9rem;
}

.smv-cookie-notice[hidden] {
    display: none;
}

.smv-cookie-notice a {
    color: var(--bs-primary);
    white-space: nowrap;
}

.smv-cookie-notice .btn {
    flex-shrink: 0;
}

@media (max-width: 575.98px) {
    .smv-cookie-notice {
        left: .75rem;
        right: .75rem;
        padding: .85rem 1rem;
        gap: .6rem;
        flex-direction: column;
        align-items: stretch;
        text-align: center;
    }
}

/* Video placeholder before the visitor clicks play */
.smv-video-consent {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #0c1c18 linear-gradient(135deg, #19355f, #0c1c18);
    border-radius: .5rem;
}

.smv-video-play {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .75rem;
    max-width: 26rem;
    padding: 1.5rem;
    border: 0;
    background: none;
    color: #fff;
    text-align: center;
    cursor: pointer;
}

.smv-video-play .smv-video-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 4.5rem;
    height: 4.5rem;
    border-radius: 50%;
    background: var(--bs-primary);
    font-size: 1.75rem;
    line-height: 1;
    transition: transform .2s ease;
}

.smv-video-play:hover .smv-video-icon,
.smv-video-play:focus-visible .smv-video-icon {
    transform: scale(1.08);
}

.smv-video-play small {
    opacity: .8;
}

/* Privacy policy page */
.smv-legal {
    max-width: 52rem;
}

.smv-legal h2 {
    font-size: 1.5rem;
    margin-top: 2rem;
}
