/**
 * SureCookie: stijl van de banner, het instellingenvenster en de geblokkeerde kaart.
 * De kleuren zelf komen uit inc/cookie-consent.php. Dit bestand regelt vorm, lettertype en indeling.
 */

/* Banner */
.surecookie-public-banner.surecookie-banner {
    font-family: Arial, Helvetica, sans-serif;
    border: 1px solid #e5e5e5;
    border-radius: 14px;
    box-shadow: 0 24px 60px -20px rgba(32, 67, 108, 0.35), 0 2px 8px rgba(0, 0, 0, 0.06);
    overflow: hidden;
}

.surecookie-banner-inner-box {
    padding: 22px 24px 18px;
}

.surecookie-banner-logo-wrapper {
    margin: 0 0 14px;
    padding: 0 0 14px;
    border-bottom: 1px solid #e5e5e5;
}

.surecookie-banner-logo {
    display: block;
    width: auto;
    height: 44px;
    max-width: 100%;
}

.surecookie-banner-heading {
    margin: 0 0 8px;
    font-family: 'FS-book', Arial, Helvetica, sans-serif;
    font-size: 20px;
    font-weight: 400;
    line-height: 1.3;
    color: #20436c !important;
}

.surecookie-banner-description {
    margin: 0 0 18px;
    font-size: 14px;
    line-height: 22px;
}

/* Knoppen: accepteren en weigeren even groot, daaronder de keuzes */
.surecookie-banner-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.surecookie-banner-buttons .surecookie-btn-base {
    width: 100%;
    margin: 0;
    padding: 11px 14px;
    border-radius: 8px;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.2;
    transition: background-color 250ms ease, color 250ms ease, border-color 250ms ease, transform 250ms ease, box-shadow 250ms ease;
}

.surecookie-banner-buttons .surecookie-btn-base:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 18px -10px rgba(32, 67, 108, 0.6);
}

.surecookie-banner-buttons .surecookie-btn-base:focus-visible {
    outline: 2px solid #20436c;
    outline-offset: 2px;
}

.surecookie-accept-all-btn { order: 1; }
.surecookie-decline-btn { order: 2; }

.surecookie-accept-btn,
.surecookie-preferences-btn {
    order: 3;
    background: #ffffff !important;
    color: #20436c !important;
    border: 1px solid #c9d3df !important;
}

.surecookie-preferences-btn { order: 4; }

.surecookie-accept-btn:hover,
.surecookie-preferences-btn:hover {
    background: #f1f5f9 !important;
    border-color: #20436c !important;
}

.surecookie-banner-buttons .surecookie-branding {
    grid-column: 1 / -1;
    order: 5;
    justify-self: end;
    font-size: 11px;
    color: #6b7280;
}

/* Vloeiend verdwijnen en verschijnen alleen als de bezoeker dat prettig vindt */
.surecookie-banner-animation-fade {
    animation-duration: 450ms;
}

/* Eén lettertype voor de banner, het instellingenvenster en de geblokkeerde kaart */
.surecookie-banner,
.surecookie-banner *,
.surecookie-preferences-modal,
.surecookie-preferences-modal *,
.surecookie-placeholder,
.surecookie-placeholder * {
    font-family: Arial, Helvetica, sans-serif !important;
}

.surecookie-banner .surecookie-banner-heading,
.surecookie-preferences-modal .surecookie-modal-title {
    font-family: 'FS-book', Arial, Helvetica, sans-serif !important;
    font-weight: 400 !important;
    color: #20436c !important;
}

.surecookie-preferences-modal .surecookie-modal-title {
    font-size: 22px;
}

/* Instellingenvenster */
.surecookie-modal-backdrop {
    backdrop-filter: blur(2px);
}

.surecookie-preferences-modal {
    border-radius: 14px !important;
    box-shadow: 0 30px 70px -24px rgba(32, 67, 108, 0.5) !important;
}

.surecookie-preferences-modal button {
    border-radius: 8px;
    transition: background-color 250ms ease, color 250ms ease, border-color 250ms ease;
}

.surecookie-category-item {
    transition: background-color 250ms ease;
}

.surecookie-category-item:hover {
    background-color: #f6f8fb;
}

/* Geblokkeerde kaart: rustig vlak met een kaartspeld, de knop laadt de kaart */
.surecookie-placeholder.surecookie-placeholder-google-maps {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #eef2f6;
    background-image:
        linear-gradient(135deg, rgba(32, 67, 108, 0.05) 25%, transparent 25%),
        linear-gradient(225deg, rgba(32, 67, 108, 0.05) 25%, transparent 25%),
        linear-gradient(45deg, rgba(32, 67, 108, 0.05) 25%, transparent 25%),
        linear-gradient(315deg, rgba(32, 67, 108, 0.05) 25%, #eef2f6 25%);
    background-position: 20px 0, 20px 0, 0 0, 0 0;
    background-size: 40px 40px;
}

.surecookie-placeholder-google-maps .surecookie-placeholder-content {
    position: relative !important;
    inset: auto !important;
    width: 100% !important;
    height: auto !important;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    max-width: 460px;
    margin: 0 16px;
    padding: 32px 28px;
    border: 1px solid #e5e5e5;
    border-radius: 14px;
    box-shadow: 0 20px 50px -24px rgba(32, 67, 108, 0.4);
    text-align: center;
}

.surecookie-placeholder-google-maps .surecookie-placeholder-content::before {
    content: '';
    width: 36px;
    height: 36px;
    background-color: #20436c;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 21s7-6.2 7-11.5A7 7 0 0 0 5 9.5C5 14.8 12 21 12 21z'/%3E%3Ccircle cx='12' cy='9.5' r='2.5'/%3E%3C/svg%3E") no-repeat center / contain;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 21s7-6.2 7-11.5A7 7 0 0 0 5 9.5C5 14.8 12 21 12 21z'/%3E%3Ccircle cx='12' cy='9.5' r='2.5'/%3E%3C/svg%3E") no-repeat center / contain;
}

.surecookie-placeholder-google-maps .surecookie-placeholder-text {
    font-size: 15px;
    line-height: 24px;
    color: #222222 !important;
}

.surecookie-placeholder-google-maps .surecookie-placeholder-button {
    padding: 12px 22px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    transition: background-color 250ms ease, transform 250ms ease, box-shadow 250ms ease;
}

.surecookie-placeholder-google-maps .surecookie-placeholder-button:hover {
    background-color: #1a3656 !important;
    transform: translateY(-1px);
    box-shadow: 0 10px 20px -12px rgba(32, 67, 108, 0.7);
}
