/* Cookie consent / Privacy Preference Center modal */
.cookie-consent-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
}
.cookie-consent-modal {
    position: relative;
    width: 100%;
    max-width: 520px;
    max-height: 90vh;
    overflow-y: auto;
    background: #f5f5f5;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
    padding: 32px 28px 28px;
    color: #1a1a1a;
}
.cookie-consent-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 36px;
    height: 36px;
    border: none;
    background: transparent;
    font-size: 1.5rem;
    line-height: 1;
    color: #666;
    cursor: pointer;
    border-radius: 6px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, color 0.2s;
}
.cookie-consent-close:hover {
    background: rgba(0, 0, 0, 0.08);
    color: #1a1a1a;
}
.cookie-consent-title {
    margin: 0 0 16px;
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a1a1a;
    letter-spacing: -0.02em;
}
.cookie-consent-intro {
    margin: 0 0 20px;
    font-size: 0.95rem;
    line-height: 1.55;
    color: #333;
}
.cookie-consent-policy-link {
    color: #1a1a1a;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 2px;
}
.cookie-consent-policy-link:hover {
    color: #000;
}
.cookie-consent-allow-wrap {
    margin-bottom: 24px;
}
.cookie-consent-btn {
    display: inline-block;
    padding: 12px 24px;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s, color 0.2s;
    border: none;
    text-align: center;
}
.cookie-consent-btn-primary {
    background: #1a1a1a;
    color: #fff;
    width: 100%;
}
.cookie-consent-btn-primary:hover {
    background: #000;
}
.cookie-consent-btn-secondary {
    background: #fff;
    color: #1a1a1a;
    border: 1px solid #1a1a1a;
}
.cookie-consent-btn-secondary:hover {
    background: #f0f0f0;
}
.cookie-consent-categories {
    border: 1px solid rgba(0, 0, 0, 0.12);
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 24px;
    background: #fff;
}
.cookie-consent-category {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    gap: 12px;
}
.cookie-consent-category:last-child {
    border-bottom: none;
}
.cookie-consent-category-necessary {
    background: #fafafa;
}
.cookie-consent-category-label {
    font-size: 0.95rem;
    font-weight: 500;
    color: #1a1a1a;
}
.cookie-consent-category-badge {
    font-size: 0.8rem;
    color: #666;
    font-weight: 500;
}
.cookie-consent-toggle {
    position: relative;
    display: inline-block;
    width: 44px;
    height: 24px;
    flex-shrink: 0;
}
.cookie-consent-toggle-input {
    opacity: 0;
    width: 0;
    height: 0;
}
.cookie-consent-toggle-slider {
    position: absolute;
    cursor: pointer;
    inset: 0;
    background: #1a1a1a;
    border-radius: 24px;
    transition: 0.25s;
}
.cookie-consent-toggle-slider::before {
    content: "";
    position: absolute;
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background: #fff;
    border-radius: 50%;
    transition: 0.25s;
}
.cookie-consent-toggle-input:checked + .cookie-consent-toggle-slider::before {
    transform: translateX(20px);
}
.cookie-consent-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.cookie-consent-actions .cookie-consent-btn-secondary {
    width: 100%;
}
