/* Cookie Consent Banner */
.cookie-consent-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #ffffff;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    z-index: 999999;
    padding: 20px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
}

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

.cookie-consent-text {
    flex: 1;
    font-size: 14px;
    line-height: 1.5;
    color: #333333;
}

.cookie-consent-text a {
    color: #0073aa;
    text-decoration: none;
}

.cookie-consent-text a:hover {
    text-decoration: underline;
}

.cookie-consent-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.cookie-consent-button {
    padding: 8px 16px;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s, color 0.2s;
}

.cookie-consent-button.accept-all {
    background-color: #0073aa;
    color: #ffffff;
}

.cookie-consent-button.accept-all:hover {
    background-color: #005177;
}

.cookie-consent-button.reject-non-essential {
    background-color: #f0f0f0;
    color: #333333;
}

.cookie-consent-button.reject-non-essential:hover {
    background-color: #e0e0e0;
}

.cookie-consent-button.preferences {
    background-color: transparent;
    color: #0073aa;
    border: 1px solid #0073aa;
}

.cookie-consent-button.preferences:hover {
    background-color: #f0f7fb;
}

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

.cookie-consent-modal-content {
    background-color: #ffffff;
    border-radius: 8px;
    padding: 30px;
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
}

.cookie-consent-modal-content h2 {
    margin: 0 0 20px;
    font-size: 24px;
    color: #333333;
}

.cookie-consent-modal-content p {
    margin: 0 0 30px;
    font-size: 14px;
    line-height: 1.5;
    color: #666666;
}

.cookie-types {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 30px;
}

.cookie-type {
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    padding: 20px;
}

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

.cookie-type-header h3 {
    margin: 0;
    font-size: 16px;
    color: #333333;
}

.required-badge {
    background-color: #f0f0f0;
    color: #666666;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
}

.cookie-type-description {
    font-size: 14px;
    line-height: 1.5;
    color: #666666;
    margin-bottom: 15px;
}

/* Toggle Switch */
.switch {
    position: relative;
    display: inline-block;
    width: 50px;
    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: .4s;
}

.slider:before {
    position: absolute;
    content: "";
    height: 16px;
    width: 16px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: .4s;
}

input:checked + .slider {
    background-color: #0073aa;
}

input:focus + .slider {
    box-shadow: 0 0 1px #0073aa;
}

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

.slider.round {
    border-radius: 24px;
}

.slider.round:before {
    border-radius: 50%;
}

.cookie-consent-modal-buttons {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .cookie-consent-content {
        flex-direction: column;
        text-align: center;
    }

    .cookie-consent-buttons {
        justify-content: center;
    }

    .cookie-consent-modal-content {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .cookie-consent-banner {
        padding: 15px;
    }

    .cookie-consent-button {
        width: 100%;
    }

    .cookie-consent-modal-buttons {
        flex-direction: column;
    }

    .cookie-consent-modal-buttons .cookie-consent-button {
        width: 100%;
    }
} 