/* Cookie Consent Banner for WordPress */
.cookie-consent {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 14px;
    line-height: 1.5;
    z-index: 99999;
}


.cookie-consent * {
box-sizing: border-box;
}


.cookie-consent-banner {
    position: fixed;
    z-index: 99999;
    padding: 18px 24px;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.18);
    max-width: 520px;
    backdrop-filter: blur(12px);
}

.cookie-consent-position-bottom_center .cookie-consent-banner {
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    max-width: 600px;
    width: calc(100% - 48px);
}

.cookie-consent-position-bottom_left .cookie-consent-banner {
    bottom: 10px;
    left: 24px;
}

.cookie-consent-position-bottom_right .cookie-consent-banner {
    bottom: 10px;
    right: 24px;
}

.cookie-consent-text {
    margin-bottom: 16px;
    font-size: 13px;
    line-height: 1.6;
    opacity: 0.9;
}

.cookie-consent-policy {
    margin-bottom: 12px;
    font-size: 12px;
}

.cookie-consent-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.cookie-btn {
    padding: 9px 18px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 600;
    transition: all 0.2s ease;
    display: inline-block;
    text-align: center;
}

.cookie-btn:active {
    transform: scale(0.97);
}

.cookie-btn-primary {
    background: #222224;
    color: #fff;
}

.cookie-btn-primary:hover {
    background: #000;
}

.cookie-btn-secondary {
    background: transparent;
    border: 1px solid;
    opacity: 0.7;
}

.cookie-btn-secondary:hover {
    opacity: 1;
}

.cookie-btn-link {
    background: transparent;
    border: none;
    text-decoration: underline;
    opacity: 0.7;
    padding: 9px 6px;
}

.cookie-btn-link:hover {
    opacity: 1;
}

.cookie-consent-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 100000;
}

.cookie-consent-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
}

.cookie-consent-modal-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 480px;
    border-radius: 16px;
    padding: 28px;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.25);
}

.cookie-consent-modal-content h3 {
    margin: 0 0 20px 0;
    font-size: 20px;
    font-weight: 700;
}

.cookie-consent-categories {
    margin-bottom: 24px;
}

.cookie-consent-category {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    padding: 14px 0;
    border-bottom: 1px solid;
    border-color: inherit;
    opacity: 0.85;
    cursor: pointer;
}

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

.cookie-consent-category input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-top: 2px;
    margin-right: 12px;
    cursor: pointer;
    accent-color: #2563eb;
    flex-shrink: 0;
}

.cookie-consent-category input[type="checkbox"]:disabled {
    cursor: not-allowed;
    opacity: 0.6;
}

.cookie-category-label {
    font-weight: 600;
    font-size: 14px;
    flex: 1;
    min-width: 0;
}

.cookie-category-badge {
    font-size: 11px;
    opacity: 0.6;
    font-weight: 400;
    margin-left: 6px;
}

.cookie-category-description {
    display: block;
    width: 100%;
    font-size: 12px;
    opacity: 0.7;
    line-height: 1.5;
    margin-top: 4px;
    padding-left: 30px;
}

.cookie-consent-modal-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.cookie-consent-footer-link {
    text-align: center;
    padding: 10px 0;
    font-size: 13px;
}

.cookie-consent-footer-link a {
    text-decoration: underline;
    cursor: pointer;
    opacity: 0.75;
}

.cookie-consent-footer-link a:hover {
    opacity: 1;
}

.cookie-consent-scheme-light .cookie-consent-banner {
    background: #ffffff;
    color: #1a1a2e;
    border: 1px solid #e2e8f0;
}

.cookie-consent-scheme-light .cookie-consent-modal-content {
    background: #ffffff;
    color: #1a1a2e;
    border: 1px solid #e2e8f0;
}

.cookie-consent-scheme-light .cookie-consent-category {
    border-color: #e2e8f0;
}

.cookie-consent-scheme-light .cookie-btn-secondary {
    color: #1a1a2e;
    border-color: #cbd5e1;
}

.cookie-consent-scheme-light .cookie-btn-secondary:hover {
    background: #f1f5f9;
}

.cookie-consent-scheme-light .cookie-btn-link {
    color: #1a1a2e;
}

.cookie-consent-scheme-dark .cookie-consent-banner {
    background: #1e293b;
    color: #f1f5f9;
    border: 1px solid #334155;
}

.cookie-consent-scheme-dark .cookie-consent-modal-content {
    background: #1e293b;
    color: #f1f5f9;
    border: 1px solid #334155;
}

.cookie-consent-scheme-dark .cookie-consent-category {
    border-color: #334155;
}

.cookie-consent-scheme-dark .cookie-btn-primary {
    background: #3b82f6;
}

.cookie-consent-scheme-dark .cookie-btn-primary:hover {
    background: #2563eb;
}

.cookie-consent-scheme-dark .cookie-btn-secondary {
    color: #f1f5f9;
    border-color: #475569;
}

.cookie-consent-scheme-dark .cookie-btn-secondary:hover {
    background: #334155;
}

.cookie-consent-scheme-dark .cookie-btn-link {
    color: #f1f5f9;
}

.cookie-consent-scheme-dark .cookie-consent-footer-link a {
    color: #93c5fd;
}

@media (max-width: 640px) {
    .cookie-consent-banner {
        max-width: 100% !important;
        width: calc(100% - 32px) !important;
        left: 16px !important;
        right: 16px !important;
        transform: none !important;
        bottom: 16px !important;
        border-radius: 12px !important;
    }

    .cookie-consent-actions {
        flex-direction: column;
    }

    .cookie-btn {
        width: 100%;
    }

    .cookie-consent-modal-content {
        width: calc(100% - 32px);
        max-width: none;
        padding: 20px;
        border-radius: 12px;
    }
}