/* Cookie Consent Banner */
.cookie-consent-overlay {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 999999;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    color: #e0e0e0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    font-size: 14px;
    line-height: 1.5;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.4);
}

.cookie-consent-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 24px 30px;
}

.cookie-consent-text {
    margin-bottom: 20px;
}

.cookie-consent-text h3 {
    font-size: 18px;
    font-weight: 600;
    color: #ffffff;
    margin: 0 0 8px 0;
}

.cookie-consent-text p {
    margin: 0;
    color: #b0b0b0;
    font-size: 13px;
}

.cookie-consent-text a {
    color: #8ab4f8;
    text-decoration: underline;
}

.cookie-consent-text a:hover {
    color: #aecbfa;
}

.cookie-consent-body {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

/* Category Toggles */
.cookie-consent-categories {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}

.cookie-category {
    display: flex;
    align-items: center;
    gap: 10px;
    white-space: nowrap;
}

.cookie-category-label {
    font-size: 13px;
    color: #d0d0d0;
    cursor: pointer;
    user-select: none;
}

.cookie-category-label.is-disabled {
    color: #888;
    cursor: default;
}

/* Toggle Switch */
.cookie-toggle {
    position: relative;
    width: 40px;
    height: 22px;
    flex-shrink: 0;
}

.cookie-toggle input {
    opacity: 0;
    width: 0;
    height: 0;
    position: absolute;
}

.cookie-toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #444;
    border-radius: 22px;
    transition: background-color 0.25s ease;
}

.cookie-toggle-slider::before {
    content: "";
    position: absolute;
    height: 16px;
    width: 16px;
    left: 3px;
    bottom: 3px;
    background-color: #ccc;
    border-radius: 50%;
    transition: transform 0.25s ease;
}

.cookie-toggle input:checked + .cookie-toggle-slider {
    background-color: #4caf50;
}

.cookie-toggle input:checked + .cookie-toggle-slider::before {
    transform: translateX(18px);
    background-color: #fff;
}

.cookie-toggle input:disabled + .cookie-toggle-slider {
    opacity: 0.6;
    cursor: default;
}

/* Buttons */
.cookie-consent-buttons {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}

.cookie-btn {
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    transition: background-color 0.2s ease, transform 0.1s ease;
}

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

.cookie-btn-accept-all {
    background-color: #4caf50;
    color: #fff;
}

.cookie-btn-accept-all:hover {
    background-color: #43a047;
}

.cookie-btn-save {
    background-color: transparent;
    color: #d0d0d0;
    border: 1px solid #555;
}

.cookie-btn-save:hover {
    background-color: rgba(255, 255, 255, 0.08);
    border-color: #888;
}

/* Responsive */
@media (max-width: 768px) {
    .cookie-consent-inner {
        padding: 20px 16px;
    }

    .cookie-consent-body {
        flex-direction: column;
        align-items: stretch;
    }

    .cookie-consent-categories {
        flex-direction: column;
        gap: 12px;
    }

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

    .cookie-btn {
        text-align: center;
        padding: 12px 20px;
    }
}
