/* PlanRoute.nl - Cookie Consent Banner CMP */
.consent-overlay {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 10000;
    display: flex;
    justify-content: center;
    padding: 16px;
    animation: consentSlideUp 0.4s ease-out;
}

@keyframes consentSlideUp {
    from { transform: translateY(100%); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.consent-banner {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 -4px 24px rgba(0,0,0,0.15);
    max-width: 680px;
    width: 100%;
    max-height: 80vh;
    overflow-y: auto;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.consent-header {
    padding: 24px 24px 8px;
}

.consent-header h2 {
    margin: 0 0 8px;
    font-size: 20px;
    color: #1b4332;
}

.consent-header p {
    margin: 0;
    font-size: 14px;
    color: #495057;
    line-height: 1.5;
}

.consent-categories {
    padding: 8px 24px;
}

.consent-category {
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
}

.consent-category:last-child {
    border-bottom: none;
}

.consent-cat-header {
    display: flex;
    align-items: center;
    gap: 12px;
}

.consent-cat-title {
    font-size: 14px;
    font-weight: 600;
    color: #1b4332;
}

.consent-cat-desc {
    margin: 4px 0 0 44px;
    font-size: 12px;
    color: #6c757d;
    line-height: 1.4;
}

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

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

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

.consent-slider:before {
    position: absolute;
    content: "";
    height: 16px;
    width: 16px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: 0.3s;
    border-radius: 50%;
}

.consent-switch input:checked + .consent-slider {
    background-color: #2d6a4f;
}

.consent-switch input:disabled + .consent-slider {
    background-color: #2d6a4f;
    opacity: 0.7;
    cursor: not-allowed;
}

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

.consent-links {
    padding: 8px 24px;
    display: flex;
    gap: 16px;
}

.consent-links a {
    font-size: 12px;
    color: #2d6a4f;
    text-decoration: underline;
}

.consent-links a:hover {
    color: #1b4332;
}

.consent-actions {
    padding: 12px 24px 24px;
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.consent-btn {
    padding: 10px 20px;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    flex: 1;
    min-width: 120px;
}

.consent-btn-accept {
    background: #2d6a4f;
    color: white;
}

.consent-btn-accept:hover {
    background: #1b4332;
}

.consent-btn-reject {
    background: #f8f9fa;
    color: #495057;
    border: 2px solid #dee2e6;
}

.consent-btn-reject:hover {
    background: #e9ecef;
}

.consent-btn-settings {
    background: #fff;
    color: #2d6a4f;
    border: 2px solid #2d6a4f;
}

.consent-btn-settings:hover {
    background: #f0f7f4;
}

.consent-footer-link {
    display: inline-block;
    position: fixed;
    bottom: 12px;
    left: 12px;
    background: rgba(255,255,255,0.9);
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 6px 12px;
    font-size: 11px;
    color: #6c757d;
    cursor: pointer;
    z-index: 9999;
    text-decoration: none;
    transition: all 0.2s;
}

.consent-footer-link:hover {
    background: #fff;
    color: #2d6a4f;
    border-color: #2d6a4f;
}

@media (max-width: 480px) {
    .consent-overlay {
        padding: 0;
    }
    .consent-banner {
        border-radius: 16px 16px 0 0;
    }
    .consent-actions {
        flex-direction: column;
    }
    .consent-btn {
        min-width: 100%;
    }
}
