/* Cookie Banner Styles */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #2D2D2D 0%, #1a1a1a 100%);
    border-top: 2px solid #00FF66;
    padding: 25px;
    z-index: 10000;
    transform: translateY(100%);
    transition: transform 0.4s ease;
    box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(10px);
}

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

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 40px;
}

.cookie-text h3 {
    color: #00FF66;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.cookie-text p {
    color: #cccccc;
    font-size: 0.95rem;
    line-height: 1.5;
    margin: 0;
    max-width: 500px;
}

.cookie-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex-shrink: 0;
    min-width: 200px;
}

.cookie-btn {
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.cookie-btn.accept {
    background: #00FF66;
    color: #2D2D2D;
}

.cookie-btn.accept:hover {
    background: #00CC52;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 255, 102, 0.3);
}

.cookie-btn.reject {
    background: #FF4444;
    color: #ffffff;
}

.cookie-btn.reject:hover {
    background: #CC3333;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 68, 68, 0.3);
}

.cookie-btn.customize {
    background: #0099FF;
    color: #ffffff;
}

.cookie-btn.customize:hover {
    background: #0077CC;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 153, 255, 0.3);
}

.cookie-link {
    color: #00FF66;
    text-decoration: none;
    font-size: 0.9rem;
    text-align: center;
    padding: 8px;
    transition: color 0.3s ease;
}

.cookie-link:hover {
    color: #0099FF;
    text-decoration: underline;
}

/* Cookie Modal */
.cookie-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    z-index: 10001;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    backdrop-filter: blur(5px);
}

.cookie-modal-content {
    background: linear-gradient(135deg, #2D2D2D 0%, #1a1a1a 100%);
    border: 2px solid #4A4A4A;
    border-radius: 16px;
    max-width: 600px;
    width: 100%;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.cookie-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px 30px 20px;
    border-bottom: 1px solid #4A4A4A;
}

.cookie-modal-header h3 {
    color: #00FF66;
    font-size: 1.4rem;
    font-weight: 600;
    margin: 0;
}

.cookie-close {
    background: none;
    border: none;
    color: #cccccc;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 5px;
    transition: color 0.3s ease;
}

.cookie-close:hover {
    color: #FF4444;
}

.cookie-modal-body {
    padding: 30px;
}

.cookie-category {
    margin-bottom: 30px;
    padding-bottom: 25px;
    border-bottom: 1px solid #4A4A4A;
}

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

.cookie-category-header {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.cookie-category-info h4 {
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.cookie-category-info p {
    color: #cccccc;
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0;
}

/* Cookie Switch */
.cookie-switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 24px;
    flex-shrink: 0;
    margin-top: 2px;
}

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

.cookie-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #4A4A4A;
    transition: 0.3s;
    border-radius: 24px;
}

.cookie-slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: 0.3s;
    border-radius: 50%;
}

input:checked + .cookie-slider {
    background-color: #00FF66;
}

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

.cookie-slider.essential {
    background-color: #00FF66;
    opacity: 0.7;
    cursor: not-allowed;
}

.cookie-modal-footer {
    padding: 20px 30px 30px;
    border-top: 1px solid #4A4A4A;
    display: flex;
    gap: 15px;
    justify-content: flex-end;
}

/* Responsive Design */
@media (max-width: 768px) {
    .cookie-content {
        flex-direction: column;
        gap: 25px;
        text-align: left;
    }
    
    .cookie-buttons {
        min-width: auto;
        width: 100%;
    }
    
    .cookie-btn {
        width: 100%;
    }
    
    .cookie-modal-content {
        margin: 10px;
        max-height: 90vh;
    }
    
    .cookie-modal-header,
    .cookie-modal-body,
    .cookie-modal-footer {
        padding-left: 20px;
        padding-right: 20px;
    }
    
    .cookie-category-header {
        gap: 15px;
    }
    
    .cookie-modal-footer {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .cookie-banner {
        padding: 20px 15px;
    }
    
    .cookie-text h3 {
        font-size: 1.1rem;
    }
    
    .cookie-text p {
        font-size: 0.9rem;
    }
    
    .cookie-btn {
        padding: 10px 20px;
        font-size: 0.85rem;
    }
    
    .cookie-modal-header h3 {
        font-size: 1.2rem;
    }
    
    .cookie-category-info h4 {
        font-size: 1rem;
    }
    
    .cookie-category-info p {
        font-size: 0.85rem;
    }
}