/* Cookie Consent Component Styles */
.cookie-consent-container {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #fff;
    box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.1);
    z-index: 9999;
    font-family: 'Nunito', sans-serif;
}

.cookie-consent-banner {
    padding: 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #e6e6e6;
}

.cookie-consent-banner-text {
    flex: 1;
    padding-right: 20px;
}

.cookie-consent-banner-buttons {
    display: flex;
    gap: 10px;
}

.cookie-consent-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 10000;
}

.cookie-consent-modal-content {
    background-color: #fff;
    border-radius: 8px;
    width: 90%;
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
}

.cookie-consent-modal-header {
    padding: 20px;
    border-bottom: 1px solid #e6e6e6;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cookie-consent-modal-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #333;
    margin: 0;
}

.cookie-consent-modal-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #666;
}

.cookie-consent-modal-body {
    padding: 20px;
}

.cookie-consent-modal-footer {
    padding: 20px;
    border-top: 1px solid #e6e6e6;
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    position: sticky;
    bottom: 0;
    background-color: #fff;
}

.cookie-category {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e6e6e6;
}

.cookie-category:last-child {
    border-bottom: none;
}

.cookie-category-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.cookie-category-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: #333;
    margin: 0;
}

.cookie-category-description {
    color: #666;
    margin: 0;
}

.cookie-consent-note {
    margin-top: 20px;
    padding: 15px;
    background-color: #f8f9fa;
    border-radius: 4px;
    font-size: 0.9rem;
    color: #666;
}

/* Toggle Switch */
.toggle-switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 24px;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: .4s;
    border-radius: 24px;
}

.toggle-slider:before {
    position: absolute;
    content: "";
    height: 16px;
    width: 16px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

input:checked + .toggle-slider {
    background-color: #6f42c1;
}

input:disabled + .toggle-slider {
    opacity: 0.5;
    cursor: not-allowed;
}

input:checked + .toggle-slider:before {
    transform: translateX(26px);
}

/* Buttons */
.btn-cookie {
    padding: 10px 20px;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.btn-cookie-primary {
    background-color: #6f42c1;
    color: white;
}

.btn-cookie-primary:hover {
    background-color: #5a32a3;
}

.btn-cookie-secondary {
    background-color: #f8f9fa;
    color: #333;
    border: 1px solid #ddd;
}

.btn-cookie-secondary:hover {
    background-color: #e9ecef;
}

.btn-cookie-orange {
    background-color: #fd7e14;
    color: white;
}

.btn-cookie-orange:hover {
    background-color: #e96c05;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .cookie-consent-banner {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .cookie-consent-banner-text {
        margin-bottom: 15px;
        padding-right: 0;
    }
    
    .cookie-consent-banner-buttons {
        width: 100%;
        justify-content: space-between;
    }
    
    .cookie-consent-modal-footer {
        flex-direction: column;
    }
    
    .btn-cookie {
        width: 100%;
        margin-bottom: 10px;
    }
}
