/* Cookie Consent Banner */
#cookie-consent-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #fff;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    z-index: 10000;
    padding: 20px;
    display: none;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

#cookie-consent-banner.show {
    display: block;
}

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

#cookie-consent-banner .cookie-consent-text {
    flex: 1;
    min-width: 300px;
    color: #333;
    font-size: 14px;
    line-height: 1.5;
}

#cookie-consent-banner .cookie-consent-text a {
    color: #007bff;
    text-decoration: underline;
}

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

#cookie-consent-banner .cookie-consent-btn {
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    white-space: nowrap;
}

#cookie-consent-banner .cookie-consent-btn-accept {
    background: #28a745;
    color: #fff;
}

#cookie-consent-banner .cookie-consent-btn-accept:hover {
    background: #218838;
}

#cookie-consent-banner .cookie-consent-btn-decline {
    background: #6c757d;
    color: #fff;
}

#cookie-consent-banner .cookie-consent-btn-decline:hover {
    background: #5a6268;
}

#cookie-consent-banner .cookie-consent-btn-settings {
    background: transparent;
    color: #007bff;
    border: 1px solid #007bff;
}

#cookie-consent-banner .cookie-consent-btn-settings:hover {
    background: #007bff;
    color: #fff;
}

/* Cookie Settings Modal */
#cookie-settings-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 10001;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

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

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

#cookie-settings-modal .cookie-settings-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #666;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

#cookie-settings-modal .cookie-settings-close:hover {
    color: #000;
}

#cookie-settings-modal h2 {
    margin-top: 0;
    margin-bottom: 20px;
    font-size: 24px;
    color: #333;
}

#cookie-settings-modal .cookie-settings-group {
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

#cookie-settings-modal .cookie-settings-group:last-child {
    border-bottom: none;
}

#cookie-settings-modal .cookie-settings-group h3 {
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 18px;
    color: #333;
}

#cookie-settings-modal .cookie-settings-group p {
    margin: 0 0 15px 0;
    color: #666;
    font-size: 14px;
    line-height: 1.5;
}

#cookie-settings-modal .cookie-settings-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

#cookie-settings-modal .cookie-settings-toggle label {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 14px;
    color: #333;
}

#cookie-settings-modal .cookie-settings-toggle input[type="checkbox"] {
    margin-right: 10px;
    width: 18px;
    height: 18px;
    cursor: pointer;
}

#cookie-settings-modal .cookie-settings-toggle input[type="checkbox"]:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

#cookie-settings-modal .cookie-settings-actions {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

/* Responsive */
@media (max-width: 768px) {
    #cookie-consent-banner .cookie-consent-container {
        flex-direction: column;
        text-align: center;
    }
    
    #cookie-consent-banner .cookie-consent-buttons {
        width: 100%;
        justify-content: center;
    }
    
    #cookie-consent-banner .cookie-consent-btn {
        flex: 1;
        min-width: 120px;
    }
    
    #cookie-settings-modal .cookie-settings-content {
        padding: 20px;
    }
}

