/* Cookie Banner Styles */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, rgba(26, 31, 62, 0.98) 0%, rgba(45, 45, 45, 0.98) 100%);
    backdrop-filter: blur(10px);
    border-top: 2px solid rgba(123, 237, 159, 0.2);
    padding: 1.5rem 0;
    z-index: 1000;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.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: 2rem;
}

.cookie-text {
    flex: 1;
}

.cookie-text p {
    color: #cbd5e1;
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.5;
}

.cookie-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-shrink: 0;
}

.cookie-btn {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.cookie-btn.accept {
    background: linear-gradient(135deg, #7bed9f 0%, #70a1ff 100%);
    color: #1a1f3e;
}

.cookie-btn.accept:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(123, 237, 159, 0.3);
}

.cookie-btn.reject {
    background: transparent;
    color: #cbd5e1;
    border: 1px solid rgba(123, 237, 159, 0.3);
}

.cookie-btn.reject:hover {
    background: rgba(123, 237, 159, 0.1);
    border-color: rgba(123, 237, 159, 0.5);
}

.cookie-btn.customize {
    background: rgba(26, 31, 62, 0.8);
    color: #7bed9f;
    border: 1px solid rgba(123, 237, 159, 0.4);
}

.cookie-btn.customize:hover {
    background: rgba(123, 237, 159, 0.1);
    border-color: #7bed9f;
}

.cookie-link {
    color: #7bed9f;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    white-space: nowrap;
}

.cookie-link:hover {
    text-decoration: underline;
}

/* Cookie Customization Modal */
.cookie-modal {
    display: none;
    position: fixed;
    z-index: 1001;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
}

.cookie-modal-content {
    background: linear-gradient(135deg, rgba(26, 31, 62, 0.98) 0%, rgba(45, 45, 45, 0.98) 100%);
    margin: 5% auto;
    padding: 2rem;
    border: 1px solid rgba(123, 237, 159, 0.2);
    border-radius: 12px;
    width: 90%;
    max-width: 500px;
    position: relative;
}

.cookie-modal h3 {
    color: #f8fafc;
    margin-bottom: 1.5rem;
    text-align: center;
}

.cookie-category {
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: rgba(45, 45, 45, 0.3);
    border-radius: 8px;
    border: 1px solid rgba(123, 237, 159, 0.1);
}

.cookie-category h4 {
    color: #7bed9f;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.cookie-category p {
    color: #cbd5e1;
    font-size: 0.9rem;
    margin: 0;
}

.cookie-toggle {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 24px;
}

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

.cookie-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #2d2d2d;
    transition: 0.2s;
    border-radius: 24px;
    border: 1px solid rgba(123, 237, 159, 0.3);
}

.cookie-slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 2px;
    bottom: 2px;
    background-color: #cbd5e1;
    transition: 0.2s;
    border-radius: 50%;
}

input:checked + .cookie-slider {
    background-color: #7bed9f;
}

input:checked + .cookie-slider:before {
    transform: translateX(26px);
    background-color: #1a1f3e;
}

.cookie-modal-actions {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.cookie-modal-btn {
    flex: 1;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.cookie-modal-btn.save {
    background: linear-gradient(135deg, #7bed9f 0%, #70a1ff 100%);
    color: #1a1f3e;
}

.cookie-modal-btn.cancel {
    background: transparent;
    color: #cbd5e1;
    border: 1px solid rgba(123, 237, 159, 0.3);
}

/* Responsive Design */
@media (max-width: 768px) {
    .cookie-content {
        flex-direction: column;
        align-items: stretch;
        gap: 1.5rem;
    }
    
    .cookie-text {
        text-align: center;
    }
    
    .cookie-actions {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .cookie-btn {
        flex: 1;
        min-width: 120px;
    }
}

@media (max-width: 480px) {
    .cookie-banner {
        padding: 1rem 0;
    }
    
    .cookie-actions {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .cookie-btn {
        width: 100%;
    }
    
    .cookie-text p {
        font-size: 0.9rem;
    }
    
    .cookie-modal-content {
        margin: 10% auto;
        padding: 1.5rem;
    }
    
    .cookie-modal-actions {
        flex-direction: column;
    }
}