/* Assoued Cookie Consent PRO v2.2 - Configurable Position */
:root {
    --acc-navy: #11233E;
    --acc-teal: #5fb3a6;
    --acc-text: #1e293b;
    --acc-muted: #64748b;
    --acc-border: #e2e8f0;
    --acc-bg: #ffffff;
}

/* Subtiele zwevende Logo Button */
.acc-badge-btn {
    position: fixed;
    bottom: 22px;
    width: 44px;
    height: 44px;
    background: #ffffff;
    border: 2px solid var(--acc-teal);
    border-radius: 50%;
    padding: 6px;
    box-shadow: 0 4px 14px rgba(17, 35, 62, 0.12);
    cursor: pointer;
    z-index: 999990;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease, border-color 0.2s ease;
}

/* Positie: Links of Rechts */
.acc-badge-btn.acc-pos-left {
    left: 22px;
    right: auto;
}

.acc-badge-btn.acc-pos-right {
    right: 22px;
    left: auto;
}

.acc-badge-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(17, 35, 62, 0.22);
    border-color: var(--acc-navy);
}

.acc-badge-icon-wrap {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--acc-navy);
    transition: color 0.2s ease;
}

.acc-badge-btn:hover .acc-badge-icon-wrap {
    color: var(--acc-teal);
}

.acc-badge-svg {
    width: 100%;
    height: 100%;
}

.acc-badge-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 50%;
}

/* Modal Overlay */
.acc-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(17, 35, 62, 0.55);
    backdrop-filter: blur(3px);
    z-index: 999999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 16px;
    box-sizing: border-box;
    opacity: 0;
    transition: opacity 0.25s ease-in-out;
}

.acc-modal-overlay.acc-active {
    display: flex;
    opacity: 1;
}

/* Card */
.acc-modal-card {
    background: var(--acc-bg);
    color: var(--acc-text);
    width: 100%;
    max-width: 540px;
    max-height: 90vh;
    border: 1px solid var(--acc-border);
    border-radius: 0px;
    box-shadow: 0 16px 36px rgba(17, 35, 62, 0.22);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    animation: accFadeScale 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    font-family: inherit;
    box-sizing: border-box;
}

@keyframes accFadeScale {
    from {
        transform: scale(0.96) translateY(10px);
        opacity: 0;
    }
    to {
        transform: scale(1) translateY(0);
        opacity: 1;
    }
}

/* Header */
.acc-modal-header {
    background: #ffffff;
    padding: 18px 22px;
    border-bottom: 1px solid #f1f5f9;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.acc-header-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.acc-header-logo-mini {
    width: 34px;
    height: 34px;
    flex-shrink: 0;
}

.acc-header-logo-mini svg {
    width: 100%;
    height: 100%;
}

.acc-badge-subtitle {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 700;
    color: var(--acc-teal);
    display: block;
    margin-bottom: 2px;
}

.acc-modal-header h2 {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    color: var(--acc-navy);
    line-height: 1.2;
}

.acc-close-btn {
    background: transparent;
    border: none;
    font-size: 24px;
    line-height: 1;
    color: var(--acc-muted);
    cursor: pointer;
    padding: 2px 6px;
    transition: color 0.2s;
}

.acc-close-btn:hover {
    color: var(--acc-navy);
}

/* Body */
.acc-modal-body {
    padding: 18px 22px;
    overflow-y: auto;
    font-size: 13.5px;
    line-height: 1.5;
    color: var(--acc-text);
}

.acc-intro-text {
    margin: 0 0 14px 0;
    color: #475569;
    font-size: 13px;
}

.acc-privacy-link {
    color: var(--acc-teal);
    text-decoration: underline;
    font-weight: 600;
}

/* Status Stand Box */
.acc-status-box {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-left: 3px solid var(--acc-navy);
    padding: 10px 14px;
    margin-bottom: 16px;
}

.acc-status-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.acc-status-title {
    font-weight: 700;
    font-size: 12.5px;
    color: var(--acc-navy);
}

.acc-toggle-details-btn {
    background: transparent;
    border: none;
    color: var(--acc-teal);
    font-size: 11.5px;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 3px;
    padding: 0;
}

.acc-chevron {
    transition: transform 0.2s ease;
}

.acc-chevron.rotated {
    transform: rotate(180deg);
}

.acc-details-panel {
    display: none;
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px dashed #cbd5e1;
    font-size: 11.5px;
}

.acc-details-panel.acc-open {
    display: block;
}

.acc-detail-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 3px;
}

.acc-detail-label {
    color: var(--acc-muted);
}

.acc-detail-value {
    font-weight: 600;
    color: var(--acc-navy);
}

.acc-detail-value.acc-code {
    word-break: break-all;
    font-family: monospace;
    font-size: 10.5px;
}

/* Categorieën */
.acc-categories-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.acc-category-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 10px 12px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    gap: 14px;
}

.acc-cat-info {
    flex: 1;
}

.acc-cat-title-row {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13.5px;
    color: var(--acc-navy);
    margin-bottom: 2px;
}

.acc-badge-pill {
    font-size: 10px;
    padding: 2px 6px;
    background: #e2e8f0;
    color: #475569;
    font-weight: 600;
}

.acc-cat-info p {
    margin: 0;
    font-size: 12px;
    color: var(--acc-muted);
    line-height: 1.35;
}

/* Switch */
.acc-switch {
    position: relative;
    display: inline-block;
    width: 40px;
    height: 22px;
    flex-shrink: 0;
}

.acc-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.acc-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #cbd5e1;
    transition: 0.22s;
    border-radius: 22px;
}

.acc-slider:before {
    position: absolute;
    content: "";
    height: 16px;
    width: 16px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: 0.22s;
    border-radius: 50%;
    box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}

.acc-switch input:checked + .acc-slider {
    background-color: var(--acc-teal);
}

.acc-switch input:checked + .acc-slider:before {
    transform: translateX(18px);
}

.acc-slider.locked {
    background-color: var(--acc-navy);
    cursor: not-allowed;
    opacity: 0.9;
}

/* Footer */
.acc-modal-footer {
    background: #f8fafc;
    padding: 14px 22px;
    border-top: 1px solid #e2e8f0;
}

.acc-footer-actions {
    display: flex;
    gap: 8px;
    justify-content: flex-end;
    flex-wrap: wrap;
}

.acc-btn {
    padding: 9px 15px;
    font-size: 12.5px;
    font-weight: 600;
    border-radius: 0px;
    cursor: pointer;
    transition: all 0.2s ease;
    border: 1px solid transparent;
    text-align: center;
}

.acc-btn-primary {
    background: var(--acc-teal);
    color: #ffffff;
    border-color: var(--acc-teal);
}

.acc-btn-primary:hover {
    background: var(--acc-navy);
    border-color: var(--acc-navy);
    color: #ffffff;
}

.acc-btn-secondary {
    background: #ffffff;
    color: var(--acc-navy);
    border-color: var(--acc-navy);
}

.acc-btn-secondary:hover {
    background: #f1f5f9;
}

.acc-btn-outline {
    background: transparent;
    color: var(--acc-muted);
    border-color: #cbd5e1;
}

.acc-btn-outline:hover {
    background: #e2e8f0;
    color: var(--acc-text);
}

.acc-branding-credit {
    margin-top: 10px;
    text-align: center;
    font-size: 11px;
    color: #94a3b8;
}

.acc-branding-credit a {
    color: var(--acc-navy);
    text-decoration: none;
    font-weight: 600;
}

.acc-branding-credit a:hover {
    text-decoration: underline;
}

@media (max-width: 580px) {
    .acc-footer-actions {
        flex-direction: column-reverse;
    }
    .acc-btn {
        width: 100%;
        padding: 11px;
    }
}
