/**
 * Styles pour le banner RGPD
 * MadiPlan Analytics Pro
 */

.madiplan-gdpr-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #fff;
    border-top: 3px solid #0073aa;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
    padding: 20px;
    z-index: 999999;
    display: none;
    animation: slideUp 0.5s ease;
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.madiplan-gdpr-banner.show {
    display: block;
}

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

.madiplan-gdpr-text {
    flex: 1;
    min-width: 300px;
}

.madiplan-gdpr-text h3 {
    margin: 0 0 10px 0;
    font-size: 18px;
    color: #23282d;
}

.madiplan-gdpr-text p {
    margin: 0;
    font-size: 14px;
    color: #666;
    line-height: 1.6;
}

.madiplan-gdpr-text a {
    color: #0073aa;
    text-decoration: underline;
}

.madiplan-gdpr-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.madiplan-gdpr-button {
    padding: 12px 24px;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.madiplan-gdpr-button-accept {
    background: #0073aa;
    color: #fff;
}

.madiplan-gdpr-button-accept:hover {
    background: #005a87;
}

.madiplan-gdpr-button-decline {
    background: #f0f0f0;
    color: #333;
}

.madiplan-gdpr-button-decline:hover {
    background: #e0e0e0;
}

.madiplan-gdpr-button-settings {
    background: transparent;
    color: #0073aa;
    border: 1px solid #0073aa;
}

.madiplan-gdpr-button-settings:hover {
    background: #f0f6fc;
}

/* Responsive */
@media (max-width: 768px) {
    .madiplan-gdpr-content {
        flex-direction: column;
        align-items: stretch;
    }
    
    .madiplan-gdpr-text {
        min-width: 100%;
    }
    
    .madiplan-gdpr-actions {
        width: 100%;
    }
    
    .madiplan-gdpr-button {
        flex: 1;
        text-align: center;
    }
}

/* Modal de paramètres RGPD */
.madiplan-gdpr-modal {
    display: none;
    position: fixed;
    z-index: 1000000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.6);
}

.madiplan-gdpr-modal.show {
    display: block;
}

.madiplan-gdpr-modal-content {
    background-color: #fff;
    margin: 5% auto;
    padding: 30px;
    border-radius: 8px;
    width: 90%;
    max-width: 600px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

.madiplan-gdpr-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #f0f0f0;
}

.madiplan-gdpr-modal-header h2 {
    margin: 0;
    font-size: 24px;
    color: #23282d;
}

.madiplan-gdpr-modal-close {
    font-size: 32px;
    font-weight: bold;
    color: #999;
    cursor: pointer;
    line-height: 1;
}

.madiplan-gdpr-modal-close:hover {
    color: #333;
}

.madiplan-gdpr-modal-body {
    margin-bottom: 20px;
}

.madiplan-gdpr-option {
    padding: 15px;
    margin-bottom: 15px;
    background: #f9f9f9;
    border-radius: 6px;
    border-left: 4px solid #0073aa;
}

.madiplan-gdpr-option h4 {
    margin: 0 0 8px 0;
    font-size: 16px;
    color: #23282d;
}

.madiplan-gdpr-option p {
    margin: 0 0 10px 0;
    font-size: 13px;
    color: #666;
}

.madiplan-gdpr-toggle {
    display: flex;
    align-items: center;
    gap: 10px;
}

.madiplan-gdpr-toggle input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.madiplan-gdpr-modal-footer {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
}
