/* Cookie Consent Banner */
.cookie-consent-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: white;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    padding: 15px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: transform 0.3s ease-in-out;
    transform: translateY(100%);
}

.cookie-consent-banner.show {
    transform: translateY(0);
}

.cookie-consent-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.cookie-consent-text {
    flex: 1;
    min-width: 280px;
    font-size: 14px;
    line-height: 1.5;
    color: var(--text-color);
}

.cookie-consent-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.cookie-consent-buttons button {
    padding: 8px 16px;
    border-radius: 4px;
    font-weight: 500;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.cookie-accept-all-btn {
    background-color: var(--primary-color);
    color: white;
    border: none;
}

.cookie-accept-all-btn:hover {
    background-color: var(--primary-dark);
}

.cookie-reject-all-btn {
    background-color: #f1f1f1;
    color: var(--text-color);
    border: 1px solid #ddd;
}

.cookie-reject-all-btn:hover {
    background-color: #e5e5e5;
}

.cookie-settings-btn {
    background-color: white;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
}

.cookie-settings-btn:hover {
    background-color: rgba(var(--primary-rgb), 0.05);
}

/* Cookie Settings Modal */
.cookie-settings-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.cookie-settings-modal.show {
    opacity: 1;
    visibility: visible;
}

.cookie-settings-content {
    background-color: white;
    border-radius: 8px;
    width: 100%;
    max-width: 600px;
    max-height: 80vh;
    overflow-y: auto;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.cookie-settings-modal.show .cookie-settings-content {
    transform: translateY(0);
}

.cookie-settings-header {
    margin-bottom: 20px;
}

.cookie-settings-header h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.cookie-settings-header p {
    font-size: 14px;
    color: var(--text-color);
    line-height: 1.5;
}

.cookie-settings-options {
    margin-bottom: 20px;
}

.cookie-option {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.cookie-option:last-child {
    border-bottom: none;
}

.cookie-option-toggle {
    margin-right: 15px;
    margin-top: 3px;
}

.cookie-option-info h4 {
    font-size: 16px;
    margin-bottom: 5px;
    color: var(--text-color);
}

.cookie-option-info p {
    font-size: 13px;
    color: #666;
    line-height: 1.5;
}

.cookie-settings-buttons {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

/* Toggle Switch */
.switch {
    position: relative;
    display: inline-block;
    width: 46px;
    height: 24px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: .3s;
    border-radius: 24px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: .3s;
    border-radius: 50%;
}

input:checked + .slider {
    background-color: var(--primary-color);
}

input:checked + .slider:before {
    transform: translateX(22px);
}

/* Necessary cookies always checked and disabled */
input:disabled + .slider {
    opacity: 0.7;
    cursor: not-allowed;
}

/* Responsive */
@media (max-width: 768px) {
    .cookie-consent-content {
        flex-direction: column;
        align-items: stretch;
    }
    
    .cookie-consent-buttons {
        justify-content: center;
    }
} 