/* Cookie Banner Styles */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #1A202C;
    color: #F7FAFC;
    padding: 20px;
    box-shadow: 0 -4px 15px rgba(0,0,0,0.2);
    z-index: 1000;
    transform: translateY(100%);
    transition: transform 0.3s ease-in-out;
}

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

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

.cookie-text h3 {
    font-size: 1.2rem;
    margin-bottom: 8px;
    color: #F7FAFC;
}

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

.cookie-link {
    color: #E53E3E;
    text-decoration: underline;
}

.cookie-link:hover {
    color: #C53030;
}

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

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

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

.cookie-btn-accept:hover {
    background-color: #C53030;
}

.cookie-btn-reject {
    background-color: transparent;
    color: #CBD5E0;
    border: 1px solid #4A5568;
}

.cookie-btn-reject:hover {
    background-color: #4A5568;
    color: #F7FAFC;
}

.cookie-btn-customize {
    background-color: #4A5568;
    color: #F7FAFC;
}

.cookie-btn-customize:hover {
    background-color: #2D3748;
}

/* Cookie Modal */
.cookie-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0,0,0,0.7);
    z-index: 1001;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.cookie-modal.show {
    display: flex;
}

.cookie-modal-content {
    background-color: white;
    border-radius: 12px;
    max-width: 500px;
    width: 100%;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

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

.cookie-modal-header h3 {
    font-size: 1.4rem;
    color: #1A202C;
    margin: 0;
}

.cookie-close {
    background: none;
    border: none;
    font-size: 1.8rem;
    color: #718096;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cookie-close:hover {
    color: #4A5568;
}

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

.cookie-category {
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid #F7FAFC;
}

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

.cookie-category-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.cookie-category h4 {
    font-size: 1.1rem;
    color: #4A5568;
    margin: 0;
}

.cookie-category p {
    font-size: 0.9rem;
    color: #718096;
    margin: 0;
    line-height: 1.4;
}

/* Cookie Switch */
.cookie-switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 24px;
}

.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: #CBD5E0;
    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: #E53E3E;
}

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

input:disabled + .cookie-slider {
    background-color: #4A5568;
    cursor: not-allowed;
}

.cookie-modal-footer {
    padding: 20px 30px 30px;
    text-align: center;
}

.cookie-modal-footer .cookie-btn {
    padding: 12px 30px;
    font-size: 1rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .cookie-content {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .cookie-buttons {
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
    }
    
    .cookie-btn {
        padding: 8px 16px;
        font-size: 0.85rem;
    }
    
    .cookie-modal-content {
        margin: 10px;
        max-height: 90vh;
    }
    
    .cookie-modal-header,
    .cookie-modal-body,
    .cookie-modal-footer {
        padding-left: 20px;
        padding-right: 20px;
    }
}

@media (max-width: 480px) {
    .cookie-banner {
        padding: 15px;
    }
    
    .cookie-text h3 {
        font-size: 1.1rem;
    }
    
    .cookie-text p {
        font-size: 0.9rem;
    }
    
    .cookie-buttons {
        width: 100%;
    }
    
    .cookie-btn {
        flex: 1;
        min-width: 0;
    }
}