/* RGPD Cookie Banner Styles */
.rgpd-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: white;
    padding: 20px;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
    z-index: 9999;
    transform: translateY(100%);
    transition: transform 0.3s ease-in-out;
    border-top: 3px solid #e74c3c;
}

.rgpd-banner.show {
    transform: translateY(0);
}

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

.rgpd-banner-text {
    flex: 1;
    min-width: 300px;
}

.rgpd-banner-text h4 {
    margin: 0 0 8px 0;
    font-size: 18px;
    font-weight: 600;
    color: #ecf0f1;
}

.rgpd-banner-text p {
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
    color: #bdc3c7;
}

.rgpd-banner-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    align-items: center;
}

.rgpd-btn {
    padding: 10px 20px;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    min-width: 120px;
}

.rgpd-btn-accept {
    background: linear-gradient(135deg, #27ae60 0%, #2ecc71 100%);
    color: white;
}

.rgpd-btn-accept:hover {
    background: linear-gradient(135deg, #229954 0%, #27ae60 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(39, 174, 96, 0.4);
}

.rgpd-btn-customize {
    background: transparent;
    color: #3498db;
    border: 2px solid #3498db;
}

.rgpd-btn-customize:hover {
    background: #3498db;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(52, 152, 219, 0.3);
}

.rgpd-btn-reject {
    background: transparent;
    color: #e74c3c;
    border: 2px solid #e74c3c;
}

.rgpd-btn-reject:hover {
    background: #e74c3c;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(231, 76, 60, 0.3);
}

/* RGPD Settings Modal */
.rgpd-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.rgpd-modal.show {
    display: flex;
}

.rgpd-modal-content {
    background: white;
    border-radius: 12px;
    padding: 30px;
    max-width: 600px;
    width: 100%;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.rgpd-modal.show .rgpd-modal-content {
    transform: scale(1);
}

.rgpd-modal-header {
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #ecf0f1;
}

.rgpd-modal-header h3 {
    margin: 0;
    color: #2c3e50;
    font-size: 24px;
    font-weight: 600;
}

.rgpd-cookie-category {
    margin-bottom: 25px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #3498db;
}

.rgpd-cookie-category h4 {
    margin: 0 0 10px 0;
    color: #2c3e50;
    font-size: 18px;
    font-weight: 600;
}

.rgpd-cookie-category p {
    margin: 0 0 15px 0;
    color: #7f8c8d;
    font-size: 14px;
    line-height: 1.5;
}

.rgpd-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.rgpd-toggle-label {
    font-weight: 500;
    color: #2c3e50;
}

.rgpd-switch {
    position: relative;
    width: 60px;
    height: 30px;
    background: #bdc3c7;
    border-radius: 15px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.rgpd-switch.active {
    background: #27ae60;
}

.rgpd-switch::after {
    content: '';
    position: absolute;
    top: 3px;
    left: 3px;
    width: 24px;
    height: 24px;
    background: white;
    border-radius: 50%;
    transition: transform 0.3s ease;
}

.rgpd-switch.active::after {
    transform: translateX(30px);
}

.rgpd-modal-actions {
    display: flex;
    gap: 15px;
    justify-content: flex-end;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 2px solid #ecf0f1;
}

.rgpd-btn-save {
    background: linear-gradient(135deg, #27ae60 0%, #2ecc71 100%);
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 6px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.rgpd-btn-save:hover {
    background: linear-gradient(135deg, #229954 0%, #27ae60 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(39, 174, 96, 0.4);
}

.rgpd-btn-cancel {
    background: transparent;
    color: #7f8c8d;
    border: 2px solid #bdc3c7;
    padding: 10px 25px;
    border-radius: 6px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.rgpd-btn-cancel:hover {
    background: #bdc3c7;
    color: white;
}

/* Responsive Design */
@media (max-width: 768px) {
    .rgpd-banner {
        padding: 15px;
    }
    
    .rgpd-banner-content {
        flex-direction: column;
        text-align: center;
    }
    
    .rgpd-banner-text {
        min-width: auto;
        margin-bottom: 15px;
    }
    
    .rgpd-banner-actions {
        justify-content: center;
        width: 100%;
    }
    
    .rgpd-btn {
        flex: 1;
        min-width: 100px;
    }
    
    .rgpd-modal-content {
        padding: 20px;
        margin: 10px;
    }
    
    .rgpd-modal-actions {
        flex-direction: column;
    }
    
    .rgpd-btn-save,
    .rgpd-btn-cancel {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .rgpd-banner-text h4 {
        font-size: 16px;
    }
    
    .rgpd-banner-text p {
        font-size: 13px;
    }
    
    .rgpd-btn {
        padding: 8px 15px;
        font-size: 13px;
        min-width: 80px;
    }
}
