/* Cookie Banner Styles */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(44, 44, 44, 0.98);
    backdrop-filter: blur(10px);
    color: white;
    padding: 24px 0;
    z-index: 10000;
    transform: translateY(100%);
    transition: transform 0.3s ease;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
}

.cookie-banner.show {
    transform: translateY(0);
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.cookie-text p {
    margin: 0;
    flex: 1;
    font-size: 0.95rem;
    line-height: 1.4;
}

.cookie-text a {
    color: #8C9A3B;
    text-decoration: underline;
    font-weight: 500;
}

.cookie-text a:hover {
    color: #6B7F2A;
}

.cookie-buttons {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
    flex-wrap: wrap;
}

.cookie-btn {
    padding: 10px 18px;
    border: none;
    border-radius: 6px;
    font-family: inherit;
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.cookie-btn.accept {
    background-color: #8C9A3B;
    color: white;
}

.cookie-btn.accept:hover {
    background-color: #6B7F2A;
    transform: translateY(-1px);
}

.cookie-btn.reject {
    background-color: #dc3545;
    color: white;
}

.cookie-btn.reject:hover {
    background-color: #c82333;
    transform: translateY(-1px);
}

.cookie-btn.customize {
    background-color: transparent;
    color: white;
    border: 1px solid #8C9A3B;
}

.cookie-btn.customize:hover {
    background-color: #8C9A3B;
    transform: translateY(-1px);
}

.cookie-btn.decline {
    background-color: transparent;
    color: white;
    border: 1px solid #666;
}

.cookie-btn.decline:hover {
    background-color: #666;
    transform: translateY(-1px);
}

/* Cookie Customization Panel */
.cookie-customization {
    background-color: rgba(44, 44, 44, 0.98);
    border-top: 1px solid #555;
    padding: 30px 0;
}

.cookie-custom-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.cookie-custom-content h3 {
    color: #8C9A3B;
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.cookie-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.cookie-category {
    background-color: rgba(255, 255, 255, 0.05);
    padding: 20px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.cookie-switch {
    display: flex;
    align-items: center;
    cursor: pointer;
    margin-bottom: 10px;
}

.cookie-switch input[type="checkbox"] {
    display: none;
}

.slider {
    position: relative;
    width: 50px;
    height: 24px;
    background-color: #666;
    border-radius: 24px;
    margin-right: 12px;
    transition: background-color 0.3s;
}

.slider:before {
    content: "";
    position: absolute;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: white;
    top: 2px;
    left: 2px;
    transition: transform 0.3s;
}

.cookie-switch input:checked + .slider {
    background-color: #8C9A3B;
}

.cookie-switch input:checked + .slider:before {
    transform: translateX(26px);
}

.cookie-switch input:disabled + .slider {
    background-color: #8C9A3B;
    opacity: 0.6;
}

.cookie-label {
    font-weight: 500;
    color: white;
}

.cookie-description {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
    line-height: 1.4;
}

.cookie-custom-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
}

/* Responsive Design */
@media (max-width: 768px) {
    .cookie-content {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .cookie-buttons {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .cookie-banner {
        padding: 15px 0;
    }
    
    .cookie-content {
        padding: 0 16px;
    }
    
    .cookie-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .cookie-btn {
        width: 100%;
        padding: 12px;
    }
}