/* Cookie Consent Banner Styles */
.cookie-consent-banner {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%) translateY(200%);
    max-width: 500px;
    background: rgba(30, 30, 30, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 2rem;
    z-index: 9999;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    color: #a1a1aa;
    transition: transform 0.5s ease-in-out;
}

.cookie-consent-banner.show {
    transform: translateX(-50%) translateY(0);
}

.cookie-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 0.75rem;
}

.cookie-description {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.cookie-description a {
    color: #007AFF;
    text-decoration: none;
}

.cookie-description a:hover {
    text-decoration: underline;
}

.cookie-settings {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.cookie-category {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.category-label {
    font-weight: 500;
    color: #ffffff;
}

.category-description {
    font-size: 0.85rem;
    color: #a1a1aa;
}

/* Toggle Switch Styles */
.toggle-switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 28px;
    flex-shrink: 0;
}

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

.toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(255, 255, 255, 0.1);
    transition: .4s;
    border-radius: 28px;
}

.toggle-slider:before {
    position: absolute;
    content: "";
    height: 20px;
    width: 20px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

input:checked + .toggle-slider {
    background-color: #007AFF;
}

input:disabled + .toggle-slider {
    cursor: not-allowed;
    background-color: rgba(0, 122, 255, 0.3);
}

input:checked + .toggle-slider:before {
    transform: translateX(22px);
}

.cookie-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.cookie-btn {
    padding: 0.75rem 1rem;
    border: none;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.cookie-btn.primary {
    background: #007AFF;
    color: #ffffff;
}

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

.cookie-btn.secondary {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
}

.cookie-btn.secondary:hover {
    background: rgba(255, 255, 255, 0.2);
}

@media (max-width: 768px) {
    .cookie-consent-banner {
        left: 50%;
        right: auto;
        bottom: 10px;
        padding: 1.5rem;
        max-width: none !important;
        width: 90% !important;
        transform: translateX(-50%) translateY(200%);
    }

    .cookie-consent-banner.show {
        transform: translateX(-50%) translateY(0);
    }

    .cookie-actions {
        grid-template-columns: 1fr;
    }
} 