/* Cookie Modal Styles */
.cookie-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.cookie-modal.show {
    opacity: 1;
    visibility: visible;
}

.cookie-modal-content {
    background: #1a1a1a;
    border-radius: 15px;
    max-width: 600px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
    border: 1px solid #333;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.cookie-modal-header {
    padding: 2rem;
    border-bottom: 1px solid #333;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cookie-modal-header h2 {
    color: #ffd700;
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0;
}

.cookie-modal-close {
    background: none;
    border: none;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.cookie-modal-close:hover {
    background: rgba(255, 215, 0, 0.1);
    color: #ffd700;
}

.cookie-modal-body {
    padding: 2rem;
}

.cookie-modal-body p {
    color: #cccccc;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.cookie-categories {
    margin-bottom: 2rem;
}

.cookie-category {
    background: #222;
    border-radius: 10px;
    margin-bottom: 1rem;
    border: 1px solid #333;
    overflow: hidden;
}

.cookie-category-header {
    padding: 1rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: background 0.3s ease;
}

.cookie-category-header:hover {
    background: rgba(255, 215, 0, 0.05);
}

.cookie-category-title {
    color: #fff;
    font-weight: 600;
    font-size: 1rem;
}

.cookie-toggle {
    position: relative;
    width: 50px;
    height: 24px;
    background: #333;
    border-radius: 12px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.cookie-toggle.active {
    background: #ffd700;
}

.cookie-toggle.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.cookie-toggle-slider {
    position: absolute;
    top: 2px;
    left: 2px;
    width: 20px;
    height: 20px;
    background: #fff;
    border-radius: 50%;
    transition: transform 0.3s ease;
}

.cookie-toggle.active .cookie-toggle-slider {
    transform: translateX(26px);
}

.cookie-category-description {
    padding: 0 1.5rem 1rem;
    color: #888;
    font-size: 0.9rem;
    line-height: 1.5;
}

.cookie-modal-footer {
    padding: 1.5rem 2rem;
    border-top: 1px solid #333;
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
}

.cookie-btn {
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    font-size: 0.9rem;
}

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

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

.cookie-btn-primary {
    background: linear-gradient(135deg, #ffd700, #ff6b35);
    color: #000;
}

.cookie-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.3);
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #1a1a1a;
    background: rgba(0, 0, 0, 0.8);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.cookie-banner.show {
    opacity: 1;
    visibility: visible;
}

.cookie-banner-content {
    background: #1a1a1a;
    border-radius: 15px;
    max-width: 600px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
    border: 1px solid #333;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.cookie-banner-text {
    flex: 1;
}

.cookie-banner-text h3 {
    color: #ffd700;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.cookie-banner-text p {
    color: #cccccc;
    line-height: 1.5;
    margin: 0;
}

.cookie-banner-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Responsive */
@media (max-width: 768px) {
    .cookie-modal-content {
        width: 95%;
        margin: 1rem;
    }
    
    .cookie-modal-header,
    .cookie-modal-body,
    .cookie-modal-footer {
        padding: 1.5rem;
    }
    
    .cookie-banner-content {
        width: 95%;
        margin: 1rem;
        padding: 1.5rem;
    }
    
    .cookie-banner-buttons {
        flex-direction: column;
    }
    
    .cookie-btn {
        width: 100%;
    }
}