/* Styles pour le simulateur GTM Server Side */
body, html {
    height: 100%;
    overflow-x: hidden;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Titre principal et logo */
.welcome-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 0.5rem;
}

.welcome-title img {
    height: 90px;
    margin-right: 10px;
    vertical-align: middle;
    display: inline-block;
    padding-bottom: 12px;
}
h2 {
    font-size: 2.2rem;
    color: #10b981;
    font-weight: 700;
    margin-bottom: 2rem;
}

h3 {
    font-size: 1.5rem;
    color: white;
    font-weight: 600;
}

h4 {
    font-size: 1.2rem;
    color: white;
    font-weight: 600;
}

.form-label {
    color: #e2e8f0;
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.form-check-label {
    color: #e2e8f0;
    font-weight: 500;
    cursor: pointer;
    transition: color 0.3s ease;
}

.form-check-label:hover {
    color: #10b981;
}

/* Layout principal */
body {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #334155 100%);
    color: white;
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
}

.container {
    padding-top: 2rem;
    padding-bottom: 2rem;
    position: relative;
    z-index: 1;
}

/* Formulaires et contrôles */
.form-control, .form-select {
    border-radius: 12px;
    padding: 1rem 1.25rem;
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: white;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.form-select {
    cursor: pointer;
}

.form-control:focus, .form-select:focus {
    background: rgba(15, 23, 42, 0.8);
    border-color: rgba(16, 185, 129, 0.6);
    box-shadow: 0 0 0 0.2rem rgba(16, 185, 129, 0.25);
    color: white;
}

.form-control::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.form-select option {
    background: #1e293b;
    color: white;
}

.btn-primary {
    background: linear-gradient(135deg, #10b981, #059669);
    border: none;
    color: white;
    border-radius: 15px;
    padding: 1rem 2.5rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    min-width: 250px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
    transition: left 0.6s ease;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #059669, #047857);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 15px 40px rgba(16, 185, 129, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.2);
    border: none;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:active {
    transform: translateY(-1px) scale(1.02);
}

/* Carte principale du formulaire */
.main-form-card {
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.95) 0%, rgba(30, 41, 59, 0.9) 100%);
    border: 1px solid rgba(16, 185, 129, 0.4);
    border-radius: 20px;
    padding: 2.5rem;
    backdrop-filter: blur(15px);
    box-shadow: 0 25px 80px rgba(16, 185, 129, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.15);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.main-form-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #10b981, #22c55e, #059669, #10b981);
    background-size: 300% 100%;
    animation: shimmer-border 4s ease-in-out infinite;
}

.form-card-body {
    position: relative;
    z-index: 1;
}

/* Conteneurs spécifiques */
.tags-container {
    background: rgba(15, 23, 42, 0.4);
    border: 1px solid rgba(16, 185, 129, 0.2);
    border-radius: 12px;
    padding: 1.5rem;
    backdrop-filter: blur(10px);
}

/* Styles modernes pour les checkboxes */
.form-check {
    margin-bottom: 1rem;
    padding-left: 2rem;
}

.form-check-input {
    width: 1.2rem;
    height: 1.2rem;
    margin-top: 0.1rem;
    margin-left: -2rem;
    background: rgba(15, 23, 42, 0.6);
    border: 2px solid rgba(16, 185, 129, 0.4);
    border-radius: 6px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.form-check-input:focus {
    border-color: rgba(16, 185, 129, 0.8);
    box-shadow: 0 0 0 0.2rem rgba(16, 185, 129, 0.25);
}

.form-check-input:checked {
    background: linear-gradient(135deg, #10b981, #059669);
    border-color: #10b981;
    box-shadow: 0 0 10px rgba(16, 185, 129, 0.5);
}

.form-check-input:checked::before {
    content: '✓';
    display: block;
    text-align: center;
    color: white;
    font-weight: bold;
    font-size: 0.9rem;
    line-height: 1;
}

.card {
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    border-radius: 15px;
}

.card.bg-white {
    background: linear-gradient(5deg, #43434300, #01354d) !important;
    color: white;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.6);
}

.card h4,
.card label,
.card .form-label {
    color: #2B2B2B;
}

.card.bg-white h4,
.card.bg-white label,
.card.bg-white .form-label,
.card.bg-white h2 {
    color: white;
}

.form-check-label {
    color: #ffffff;
}

.card.bg-white .form-check-label {
    color: white;
}

.card .form-check-input:checked {
    background-color: #77ff00;
    border-color: #77ff00;
}

.card .btn-primary {
    background-color: #77ff00;
    color: #212529;
    border: none;
    max-width: 300px;
    margin: 0 auto;
}

.card .btn-primary:hover {
    background-color: #65d106;
    transform: scale(1.05);
}

/* Panneau latéral pour les résultats */
.right-panel {
    position: fixed;
    top: 0;
    right: -100%;
    width: 50%;
    height: 100vh;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #334155 100%);
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.3);
    transition: right 0.5s ease-in-out;
    z-index: 1000;
    overflow-y: auto;
    padding: 2rem;
    color: white;
}

.right-panel.show {
    right: 0;
}

.panel-close-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 1.5rem;
    cursor: pointer;
    color: #ffffff;
    background: rgba(6, 182, 212, 0.1);
    border: 1px solid rgb(255, 255, 255);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.panel-close-btn:hover {
    color: #ffffff9e;
    background: #ffffff78;
    border-color: #ffffff;
}

/* Overlay pour le fond lorsque le panneau est ouvert */
.panel-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 999;
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

.panel-overlay.show {
    display: block;
    opacity: 1;
}

/* Styles pour le contenu du panneau */
.results-card {
    opacity: 0;
    display: none;
    transition: opacity 0.5s ease-in-out;
    background-color: transparent;
    padding: 0;
    box-shadow: none;
    border-radius: 0;
    color: white;
}

.results-card.show {
    opacity: 1;
    display: block;
}

/* Styles dashboard pour le contenu */
.right-panel h1, .right-panel h2, .right-panel h3, .right-panel h4, .right-panel h5, .right-panel h6 {
    color: white;
    font-weight: 600;
}

.right-panel .card {
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(6, 182, 212, 0.2);
    border-radius: 12px;
    backdrop-filter: blur(10px);
    color: white;
}

.right-panel .progress {
    background: rgb(101 109 128 / 80%);
    border-radius: 8px;
}

.right-panel .progress-bar {
    background: linear-gradient(90deg, #06b6d4, #0891b2);
}

.right-panel .alert {
    background: rgba(15, 23, 42, 0.8);
    border: 1px solid rgba(6, 182, 212, 0.3);
    color: white;
}

.right-panel .alert-danger {
    background: rgba(220, 38, 38, 0.2);
    border-color: rgba(220, 38, 38, 0.4);
    color: #fca5a5;
}

.right-panel .text-muted {
    color: #94a3b8 !important;
}

.right-panel .text-primary {
    color: #06b6d4 !important;
}

.right-panel .text-success {
    color: #10b981 !important;
}

.right-panel .spinner-border {
    color: #06b6d4;
}

/* Styles spécifiques pour tous les éléments du panneau */
.right-panel * {
    color: white;
}

.right-panel .row {
    margin: 0;
}

.right-panel .col, .right-panel .col-md-6, .right-panel .col-md-4, .right-panel .col-md-3, .right-panel .col-12 {
    padding: 0.5rem;
}

.right-panel .card-body {
    background: transparent;
    color: white;
}

.right-panel .card-title {
    color: #06b6d4;
    font-weight: 700;
    margin-bottom: 1rem;
}

.right-panel .btn {
    border-radius: 8px;
    font-weight: 600;
}

.right-panel .btn-primary {
    background: linear-gradient(90deg, #06b6d4, #0891b2);
    border: none;
    color: white;
}

.right-panel .btn-primary:hover {
    background: linear-gradient(90deg, #0891b2, #0e7490);
    transform: translateY(-2px);
}

.right-panel .btn-secondary {
    background: rgba(6, 182, 212, 0.2);
    border: 1px solid rgba(6, 182, 212, 0.4);
    color: #06b6d4;
}

.right-panel .btn-secondary:hover {
    background: rgba(6, 182, 212, 0.3);
    color: white;
}

.right-panel strong {
    color: #06b6d4;
    font-weight: 700;
}

.right-panel .text-center {
    color: white;
}

.right-panel .mb-3, .right-panel .mb-4, .right-panel .mb-5 {
    margin-bottom: 1rem;
}

.right-panel .mt-3, .right-panel .mt-4, .right-panel .mt-5 {
    margin-top: 1.5rem;
}

.right-panel .p-3, .right-panel .p-4 {
    padding: 1.5rem;
}

.right-panel .border {
    border: 1px solid rgba(6, 182, 212, 0.2) !important;
}

.right-panel .border-top {
    border-top: 1px solid rgba(6, 182, 212, 0.2) !important;
}

.right-panel .border-bottom {
    border-bottom: 1px solid rgba(6, 182, 212, 0.2) !important;
}

.right-panel .bg-light {
    background: rgba(15, 23, 42, 0.6) !important;
}

.right-panel .bg-primary {
    background: linear-gradient(90deg, #16374b, #172134) !important;
}

.right-panel .bg-success {
    background: linear-gradient(90deg, #10b98133, #172134) !important;
    color: #10b981 !important;
}

.right-panel .bg-warning {
    background: rgba(245, 158, 11, 0.2) !important;
    color: #f59e0b !important;
}

.right-panel .bg-danger {
    background: rgba(220, 38, 38, 0.2) !important;
    color: #dc2626 !important;
}

.right-panel .text-dark {
    color: white !important;
}

.right-panel .text-secondary {
    color: #94a3b8 !important;
}

.right-panel .text-info {
    color: #06b6d4 !important;
}

.right-panel .text-warning {
    color: #f59e0b !important;
}

.right-panel .text-danger {
    color: #dc2626 !important;
}

.right-panel .small {
    color: #94a3b8;
}

.right-panel .lead {
    color: #e2e8f0;
    font-weight: 400;
}

.right-panel hr {
    border-color: rgba(6, 182, 212, 0.2);
}

.right-panel .highlight-box {
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.2), rgba(6, 182, 212, 0.1));
    border: 1px solid rgba(6, 182, 212, 0.4);
    border-radius: 12px;
    padding: 1.5rem;
    margin: 1rem 0;
    position: relative;
    overflow: hidden;
}

.right-panel .highlight-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #06b6d4, #0891b2);
}

.right-panel .icon-metric {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.right-panel .icon-metric i {
    font-size: 2rem;
    color: #06b6d4;
    width: 3rem;
    text-align: center;
}

.right-panel .loading-shimmer {
    background: linear-gradient(90deg, rgba(6, 182, 212, 0.1) 25%, rgba(6, 182, 212, 0.3) 50%, rgba(6, 182, 212, 0.1) 75%);
    background-size: 200% 100%;
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

/* Cartes de comparaison modernes */
.right-panel .comparison-card {
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.98) 0%, rgba(30, 41, 59, 0.95) 100%);
    border: 1px solid rgba(6, 182, 212, 0.3);
    border-radius: 20px;
    padding: 2.5rem;
    margin-bottom: 2rem;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(20px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.right-panel .comparison-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, #06b6d4, transparent);
    opacity: 0.8;
}

.right-panel .comparison-card:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow: 0 20px 60px rgba(6, 182, 212, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.2);
    border-color: rgba(6, 182, 212, 0.5);
}

.right-panel .comparison-title {
    color: white;
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 2rem;
    text-align: center;
    position: relative;
    padding-bottom: 1rem;
}

.right-panel .comparison-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, transparent, #06b6d4, transparent);
}

.right-panel .metric-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(6, 182, 212, 0.1);
}

.right-panel .metric-row:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.right-panel .metric-info {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.right-panel .metric-name {
    color: #e2e8f0;
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    opacity: 0.8;
}

.right-panel .metric-current {
    color: #94a3b8;
    font-size: 1.8rem;
    font-weight: 700;
    line-height: 1;
}

.right-panel .metric-improved {
    color: #06b6d4;
    font-size: 1.8rem;
    font-weight: 700;
    line-height: 1;
    text-shadow: 0 0 20px rgba(6, 182, 212, 0.3);
}

.right-panel .gain-badge {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.2), rgba(5, 150, 105, 0.3));
    color: #10b981;
    padding: 0.6rem 1.2rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 700;
    border: 1px solid rgba(16, 185, 129, 0.3);
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.2);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.right-panel .gain-badge::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

.right-panel .gain-badge:hover::before {
    left: 100%;
}

.right-panel .loss-badge {
    background: linear-gradient(135deg, rgba(220, 38, 38, 0.2), rgba(185, 28, 28, 0.3));
    color: #dc2626;
    padding: 0.6rem 1.2rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 700;
    border: 1px solid rgba(220, 38, 38, 0.3);
    box-shadow: 0 4px 15px rgba(220, 38, 38, 0.2);
}

.right-panel .metric-separator {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 0 1rem;
}

.right-panel .separator-line {
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(6, 182, 212, 0.3), transparent);
}

.right-panel .separator-icon {
    color: #06b6d4;
    font-size: 1.2rem;
    padding: 0.5rem;
    background: rgba(6, 182, 212, 0.1);
    border-radius: 50%;
    border: 1px solid rgba(6, 182, 212, 0.3);
}

.right-panel .metric-grid {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 2rem;
    align-items: center;
    margin: 2rem 0;
}

.right-panel .metric-before, .right-panel .metric-after {
    text-align: center;
    padding: 1.5rem;
    border-radius: 12px;
    background: rgba(15, 23, 42, 0.5);
    border: 1px solid rgba(6, 182, 212, 0.2);
}

.right-panel .metric-after {
    background: rgba(6, 182, 212, 0.05);
    border-color: rgba(6, 182, 212, 0.3);
}

.right-panel .floating-icon {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    color: rgba(6, 182, 212, 0.4);
    font-size: 2rem;
    opacity: 0.6;
    transition: all 0.3s ease;
}

.right-panel .comparison-card:hover .floating-icon {
    opacity: 1;
    transform: rotate(5deg) scale(1.1);
    color: #06b6d4;
}

/* Styles améliorés pour les cartes de performance */
.right-panel .performance-section {
    margin: 2rem 0;
}

.right-panel .section-header-performance {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.15) 0%, rgba(14, 165, 233, 0.1) 100%);
    border-radius: 20px;
    border: 1px solid rgba(6, 182, 212, 0.3);
    position: relative;
    overflow: hidden;
}

.right-panel .section-header-performance::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #06b6d4, #0ea5e9, #06b6d4);
    background-size: 300% 100%;
    animation: performance-header-shimmer 3s ease-in-out infinite;
}

@keyframes performance-header-shimmer {
    0%, 100% { background-position: -300% 0; }
    50% { background-position: 300% 0; }
}

.right-panel .section-icon-performance {
    color: #06b6d4;
    font-size: 2rem;
    margin-right: 1rem;
    filter: drop-shadow(0 0 15px rgba(6, 182, 212, 0.4));
}

.right-panel .section-title-performance {
    color: white;
    font-size: 1.8rem;
    font-weight: 900;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    text-shadow: 0 0 20px rgba(6, 182, 212, 0.3);
}

.right-panel .performance-cards-container {
    margin-top: 2rem;
}

.right-panel .performance-card {
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.98) 0%, rgba(30, 41, 59, 0.95) 50%, rgba(15, 23, 42, 0.98) 100%);
    border: 1px solid rgba(6, 182, 212, 0.4);
    border-radius: 20px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(25px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.right-panel .performance-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #06b6d4, #0891b2, #06b6d4);
    background-size: 300% 100%;
    animation: performance-shimmer 4s ease-in-out infinite;
}

.right-panel .performance-card::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(6, 182, 212, 0.03) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.right-panel .performance-card:hover::after {
    opacity: 1;
}

.right-panel .performance-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 25px 70px rgba(6, 182, 212, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.2);
    border-color: rgba(6, 182, 212, 0.6);
}

@keyframes performance-shimmer {
    0%, 100% { background-position: -300% 0; }
    50% { background-position: 300% 0; }
}

.right-panel .performance-title {
    color: white;
    font-size: 1.2rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    text-align: center;
    position: relative;
    padding-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.right-panel .performance-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, transparent, #06b6d4, transparent);
    border-radius: 2px;
}

.right-panel .metric-comparison {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 1.5rem;
    align-items: center;
    margin: 1.5rem 0;
}

.right-panel .metric-current-section {
    text-align: center;
    padding: 1.2rem;
    border-radius: 12px;
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(148, 163, 184, 0.2);
    position: relative;
    transition: all 0.3s ease;
}

.right-panel .metric-improved-section {
    text-align: center;
    padding: 0.6rem;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.15) 0%, rgba(6, 182, 212, 0.08) 100%);
    border: 2px solid rgba(6, 182, 212, 0.4);
    position: relative;
    transition: all 0.3s ease;
    z-index: 1;
}

.right-panel .metric-label-modern {
    color: #94a3b8;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
    opacity: 0.8;
}

.right-panel .metric-improved-section .metric-label-modern {
    color: rgba(6, 182, 212, 0.9);
    opacity: 1;
    position: relative;
    z-index: 10;
}

.right-panel .metric-value-current {
    color: #e2e8f0;
    font-size: 1.2rem;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 0.3rem;
    font-family: 'Segoe UI', system-ui, sans-serif;
}

/* Styles pour les métriques de performance détaillées */
.perf-metric-main {
    color: #e2e8f0;
    font-size: 1.4rem;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 0.8rem;
    font-family: 'Segoe UI', system-ui, sans-serif;
}

.metric-improved-section .perf-metric-main {
    color: #06b6d4;
    font-size: 1.8rem;
    font-weight: 900;
    text-shadow: 0 0 30px rgba(6, 182, 212, 0.4), 0 0 60px rgba(6, 182, 212, 0.2);
}

.perf-metric-details {
    display: flex;
    justify-content: space-between;
    background: rgba(15, 23, 42, 0.4);
    border-radius: 8px;
    padding: 0.5rem;
    margin-top: 0.5rem;
}

.perf-metric-details.improved {
    background: rgba(6, 182, 212, 0.1);
    border: 1px solid rgba(6, 182, 212, 0.2);
}

.perf-metric-item {
    font-size: 0.7rem;
    color: #94a3b8;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.perf-metric-value {
    font-size: 0.85rem;
    font-weight: 700;
    color: #e2e8f0;
    margin-top: 0.2rem;
}

.metric-improved-section .perf-metric-value {
    color: #06b6d4;
}

.right-panel .metric-value-improved {
    color: #06b6d4;
    font-size: 1.8rem;
    font-weight: 900;
    line-height: 1;
    margin-bottom: 0.3rem;
    font-family: 'Segoe UI', system-ui, sans-serif;
    text-shadow: 0 0 30px rgba(6, 182, 212, 0.4), 0 0 60px rgba(6, 182, 212, 0.2);
    position: relative;
    z-index: 10;
    display: block;
}

.right-panel .metric-unit {
    color: #94a3b8;
    font-size: 1.1rem;
    font-weight: 500;
    opacity: 0.7;
}

.right-panel .metric-improved-section .metric-unit {
    color: rgba(6, 182, 212, 0.8);
    opacity: 1;
    position: relative;
    z-index: 10;
}

.right-panel .vs-separator {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.right-panel .vs-text {
    color: #06b6d4;
    font-size: 1.2rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 0.8rem 1.5rem;
    background: rgba(6, 182, 212, 0.1);
    border: 1px solid rgba(6, 182, 212, 0.3);
    border-radius: 25px;
    backdrop-filter: blur(10px);
}

.right-panel .vs-line {
    width: 2px;
    height: 40px;
    background: linear-gradient(180deg, transparent, #06b6d4, transparent);
    border-radius: 1px;
}

.right-panel .gain-badge-enhanced {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.25), rgba(5, 150, 105, 0.35));
    color: #10b981;
    padding: 0.6rem 1.5rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 800;
    border: 2px solid rgba(16, 185, 129, 0.4);
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-top: 1rem;
}

.right-panel .gain-badge-enhanced::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
    transition: left 0.6s ease;
}

.right-panel .gain-badge-enhanced:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 12px 35px rgba(16, 185, 129, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.right-panel .gain-badge-enhanced:hover::before {
    left: 100%;
}

.right-panel .performance-icon {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    color: rgba(6, 182, 212, 0.3);
    font-size: 1.8rem;
    opacity: 0.5;
    transition: all 0.4s ease;
}

.right-panel .performance-card:hover .performance-icon {
    opacity: 1;
    transform: rotate(10deg) scale(1.2);
    color: #06b6d4;
    filter: drop-shadow(0 0 20px rgba(6, 182, 212, 0.5));
}

/* Styles pour les badges Performance */
.right-panel .gain-badge-enhanced {
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.25), rgba(14, 165, 233, 0.35));
    color: #06b6d4;
    padding: 0.6rem 1.5rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 800;
    border: 2px solid rgba(6, 182, 212, 0.4);
    box-shadow: 0 8px 25px rgba(6, 182, 212, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: inline-block;
}

.right-panel .gain-badge-enhanced::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
    transition: left 0.6s ease;
}

.right-panel .gain-badge-enhanced:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 12px 35px rgba(6, 182, 212, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.right-panel .gain-badge-enhanced:hover::before {
    left: 100%;
}

/* Animation des badges au hover des cartes Performance */
.right-panel .performance-card:hover .gain-badge-enhanced {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 12px 35px rgba(6, 182, 212, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.right-panel .performance-card:hover .gain-badge-enhanced::before {
    left: 100%;
}

/* Styles pour la section Gain business */
.right-panel .business-section {
    margin: 2rem 0;
}

.right-panel .section-header-business {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.15) 0%, rgba(5, 150, 105, 0.1) 100%);
    border-radius: 20px;
    border: 1px solid rgba(16, 185, 129, 0.3);
    position: relative;
    overflow: hidden;
}

.right-panel .section-header-business::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #10b981, #059669, #10b981);
    background-size: 300% 100%;
    animation: business-header-shimmer 3s ease-in-out infinite;
}

@keyframes business-header-shimmer {
    0%, 100% { background-position: -300% 0; }
    50% { background-position: 300% 0; }
}

.right-panel .section-icon-business {
    color: #10b981;
    font-size: 2rem;
    margin-right: 1rem;
    filter: drop-shadow(0 0 15px rgba(16, 185, 129, 0.4));
}

.right-panel .section-title-business {
    color: white;
    font-size: 1.8rem;
    font-weight: 900;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    text-shadow: 0 0 20px rgba(16, 185, 129, 0.3);
}

.right-panel .business-cards-container {
    margin-top: 2rem;
}

/* Styles pour les cartes de Gain business */
.right-panel .business-card {
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.98) 0%, rgba(30, 41, 59, 0.95) 50%, rgba(15, 23, 42, 0.98) 100%);
    border: 1px solid rgba(16, 185, 129, 0.4);
    border-radius: 20px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(25px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    height: 100%;
}

.right-panel .business-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #10b981, #059669, #10b981);
    background-size: 300% 100%;
    animation: business-shimmer 4s ease-in-out infinite;
}

.right-panel .business-card::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.03) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.right-panel .business-card:hover::after {
    opacity: 1;
}

.right-panel .business-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 25px 70px rgba(16, 185, 129, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.2);
    border-color: rgba(16, 185, 129, 0.6);
}

@keyframes business-shimmer {
    0%, 100% { background-position: -300% 0; }
    50% { background-position: 300% 0; }
}

.right-panel .business-title {
    color: white;
    font-size: 1.2rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    text-align: center;
    position: relative;
    padding-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.right-panel .business-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, transparent, #10b981, transparent);
    border-radius: 2px;
}

.right-panel .metric-display {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 1.5rem 0;
    padding: 1rem;
    background: rgba(15, 23, 42, 0.6);
    border-radius: 12px;
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.right-panel .metric-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.right-panel .metric-label-business {
    color: #64748b;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    opacity: 0.8;
}

.right-panel .current-value {
    color: #94a3b8;
    font-size: 1.5rem;
    font-weight: 700;
    text-align: center;
}

.right-panel .improved-value {
    color: #10b981;
    font-size: 1.8rem;
    font-weight: 900;
    text-align: center;
    text-shadow: 0 0 20px rgba(16, 185, 129, 0.4);
}

.right-panel .unit {
    font-size: 0.8em;
    opacity: 0.8;
    margin-left: 0.2rem;
}

.right-panel .progress-modern {
    position: relative;
    height: 12px;
    background: rgba(15, 23, 42, 0.8);
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.right-panel .progress-bar-base {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    background: linear-gradient(90deg, #64748b, #475569);
    border-radius: 6px 0 0 6px;
    transition: width 0.6s ease;
}

.right-panel .progress-bar-gain {
    position: absolute;
    top: 0;
    height: 100%;
    background: linear-gradient(90deg, #10b981, #059669);
    border-radius: 0 6px 6px 0;
    transition: all 0.6s ease;
    box-shadow: 0 0 10px rgba(16, 185, 129, 0.5);
}

.right-panel .gain-badge-business {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.25), rgba(5, 150, 105, 0.35));
    color: #10b981;
    padding: 0.6rem 1.5rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 800;
    border: 2px solid rgba(16, 185, 129, 0.4);
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-top: 1rem;
    display: inline-block;
}

.right-panel .gain-badge-business::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
    transition: left 0.6s ease;
}

.right-panel .gain-badge-business:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 12px 35px rgba(16, 185, 129, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.right-panel .gain-badge-business:hover::before {
    left: 100%;
}

/* Animation des badges au hover des cartes Gain business */
.right-panel .business-card:hover .gain-badge-business {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 12px 35px rgba(16, 185, 129, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.right-panel .business-card:hover .gain-badge-business::before {
    left: 100%;
}

.right-panel .business-icon {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    color: rgba(16, 185, 129, 0.3);
    font-size: 1.8rem;
    opacity: 0.5;
    transition: all 0.4s ease;
}

.right-panel .business-card:hover .business-icon {
    opacity: 1;
    transform: rotate(10deg) scale(1.2);
    color: #10b981;
    filter: drop-shadow(0 0 20px rgba(16, 185, 129, 0.5));
}

/* Styles pour la section Conformité & Privacy */
.right-panel .privacy-section {
    margin: 2rem 0;
}

.right-panel .section-header-privacy {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.15) 0%, rgba(251, 191, 36, 0.1) 100%);
    border-radius: 20px;
    border: 1px solid rgba(245, 158, 11, 0.3);
    position: relative;
    overflow: hidden;
}

.right-panel .section-header-privacy::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #f59e0b, #fbbf24, #f59e0b);
    background-size: 300% 100%;
    animation: privacy-header-shimmer 3s ease-in-out infinite;
}

@keyframes privacy-header-shimmer {
    0%, 100% { background-position: -300% 0; }
    50% { background-position: 300% 0; }
}

.right-panel .section-icon-privacy {
    color: #f59e0b;
    font-size: 2rem;
    margin-right: 1rem;
    filter: drop-shadow(0 0 15px rgba(245, 158, 11, 0.4));
}

.right-panel .section-title-privacy {
    color: white;
    font-size: 1.8rem;
    font-weight: 900;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    text-shadow: 0 0 20px rgba(245, 158, 11, 0.3);
}

.right-panel .privacy-cards-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-top: 2rem;
}

.right-panel .privacy-card {
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.98) 0%, rgba(30, 41, 59, 0.95) 50%, rgba(15, 23, 42, 0.98) 100%);
    border: 1px solid rgba(245, 158, 11, 0.4);
    border-radius: 20px;
    padding: 1.5rem;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(25px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    text-align: center;
}

.right-panel .privacy-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #f59e0b, #fbbf24, #f59e0b);
    background-size: 300% 100%;
    animation: privacy-shimmer 4s ease-in-out infinite;
}

.right-panel .privacy-card::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(245, 158, 11, 0.03) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.right-panel .privacy-card:hover::after {
    opacity: 1;
}

.right-panel .privacy-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 25px 70px rgba(245, 158, 11, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.2);
    border-color: rgba(245, 158, 11, 0.6);
}

@keyframes privacy-shimmer {
    0%, 100% { background-position: -300% 0; }
    50% { background-position: 300% 0; }
}

.right-panel .privacy-icon {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    color: rgba(245, 158, 11, 0.3);
    font-size: 1.8rem;
    opacity: 0.5;
    transition: all 0.4s ease;
}

.right-panel .privacy-card:hover .privacy-icon {
    opacity: 1;
    transform: rotate(10deg) scale(1.2);
    color: #f59e0b;
    filter: drop-shadow(0 0 20px rgba(245, 158, 11, 0.5));
}

.right-panel .privacy-title {
    color: white;
    font-size: 1rem;
    font-weight: 800;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    position: relative;
    padding-bottom: 0.8rem;
}

.right-panel .privacy-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, transparent, #f59e0b, transparent);
    border-radius: 2px;
}

.right-panel .privacy-metric {
    margin: 1.5rem 0;
}

.right-panel .privacy-value {
    color: #f59e0b;
    font-size: 2rem;
    font-weight: 900;
    text-shadow: 0 0 20px rgba(245, 158, 11, 0.4);
    margin-bottom: 0.5rem;
}

.right-panel .privacy-unit {
    font-size: 0.7em;
    opacity: 0.8;
    margin-left: 0.2rem;
}

.right-panel .privacy-label {
    color: #94a3b8;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    opacity: 0.8;
}

.right-panel .privacy-progress {
    position: relative;
    height: 12px;
    background: rgba(15, 23, 42, 0.8);
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid rgba(245, 158, 11, 0.2);
    margin: 1.5rem 0;
}

.right-panel .privacy-bar {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    background: linear-gradient(90deg, #f59e0b, #fbbf24);
    border-radius: 6px;
    transition: width 0.8s ease;
    box-shadow: 0 0 10px rgba(245, 158, 11, 0.5);
}

.right-panel .privacy-bar-danger {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    background: linear-gradient(90deg, #dc2626, #ef4444);
    border-radius: 6px;
    transition: width 0.8s ease;
    box-shadow: 0 0 10px rgba(220, 38, 38, 0.5);
}

.right-panel .privacy-badge-container {
    margin-top: 1.5rem;
}

.right-panel .privacy-badge-reduction,
.right-panel .privacy-badge-warning,
.right-panel .privacy-badge-success {
    padding: 0.6rem 1.5rem;
    border-radius: 25px;
    font-size: 0.85rem;
    font-weight: 800;
    border: 2px solid;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: inline-block;
}

.right-panel .privacy-badge-reduction {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.25), rgba(251, 191, 36, 0.35));
    color: #f59e0b;
    border-color: rgba(245, 158, 11, 0.4);
    box-shadow: 0 8px 25px rgba(245, 158, 11, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.right-panel .privacy-badge-warning {
    background: linear-gradient(135deg, rgba(220, 38, 38, 0.25), rgba(239, 68, 68, 0.35));
    color: #dc2626;
    border-color: rgba(220, 38, 38, 0.4);
    box-shadow: 0 8px 25px rgba(220, 38, 38, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.right-panel .privacy-badge-success {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.25), rgba(5, 150, 105, 0.35));
    color: #10b981;
    border-color: rgba(16, 185, 129, 0.4);
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.right-panel .privacy-badge-reduction::before,
.right-panel .privacy-badge-warning::before,
.right-panel .privacy-badge-success::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
    transition: left 0.6s ease;
}

.right-panel .privacy-badge-reduction:hover,
.right-panel .privacy-badge-warning:hover,
.right-panel .privacy-badge-success:hover {
    transform: translateY(-2px) scale(1.05);
}

.right-panel .privacy-badge-reduction:hover::before,
.right-panel .privacy-badge-warning:hover::before,
.right-panel .privacy-badge-success:hover::before {
    left: 100%;
}

/* Styles pour la section Fiabilité & Contrôle */
.right-panel .reliability-section {
    margin: 2rem 0;
}

.right-panel .section-header-reliability {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.15) 0%, rgba(139, 92, 246, 0.1) 100%);
    border-radius: 20px;
    border: 1px solid rgba(99, 102, 241, 0.3);
    position: relative;
    overflow: hidden;
}

.right-panel .section-header-reliability::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #6366f1, #8b5cf6, #6366f1);
    background-size: 300% 100%;
    animation: reliability-header-shimmer 3s ease-in-out infinite;
}

@keyframes reliability-header-shimmer {
    0%, 100% { background-position: -300% 0; }
    50% { background-position: 300% 0; }
}

.right-panel .section-icon-reliability {
    color: #6366f1;
    font-size: 2rem;
    margin-right: 1rem;
    filter: drop-shadow(0 0 15px rgba(99, 102, 241, 0.4));
}

.right-panel .section-title-reliability {
    color: white;
    font-size: 1.8rem;
    font-weight: 900;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    text-shadow: 0 0 20px rgba(99, 102, 241, 0.3);
}

.right-panel .reliability-cards-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.right-panel .reliability-card {
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.98) 0%, rgba(30, 41, 59, 0.95) 50%, rgba(15, 23, 42, 0.98) 100%);
    border: 1px solid rgba(99, 102, 241, 0.4);
    border-radius: 20px;
    padding: 2rem;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(25px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.right-panel .reliability-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #6366f1, #8b5cf6, #6366f1);
    background-size: 300% 100%;
    animation: reliability-shimmer 4s ease-in-out infinite;
}

.right-panel .reliability-card::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.03) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.right-panel .reliability-card:hover::after {
    opacity: 1;
}

.right-panel .reliability-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 25px 70px rgba(99, 102, 241, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.2);
    border-color: rgba(99, 102, 241, 0.6);
}

@keyframes reliability-shimmer {
    0%, 100% { background-position: -300% 0; }
    50% { background-position: 300% 0; }
}

.right-panel .reliability-icon-wrapper {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.2), rgba(139, 92, 246, 0.3));
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    border: 2px solid rgba(99, 102, 241, 0.3);
    transition: all 0.4s ease;
}

.right-panel .reliability-card:hover .reliability-icon-wrapper {
    transform: scale(1.1);
    box-shadow: 0 0 30px rgba(99, 102, 241, 0.4);
    border-color: rgba(99, 102, 241, 0.6);
}

.right-panel .reliability-icon {
    color: #6366f1;
    font-size: 2rem;
    transition: all 0.4s ease;
}

.right-panel .reliability-card:hover .reliability-icon {
    color: #8b5cf6;
    transform: scale(1.1);
    filter: drop-shadow(0 0 15px rgba(99, 102, 241, 0.6));
}

.right-panel .reliability-title {
    color: white;
    font-size: 1.1rem;
    font-weight: 800;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.right-panel .reliability-description {
    color: #94a3b8;
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    flex-grow: 1;
    text-align: center;
}

.right-panel .reliability-feature-badge {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.25), rgba(139, 92, 246, 0.35));
    color: #6366f1;
    padding: 0.5rem 1.2rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    border: 2px solid rgba(99, 102, 241, 0.4);
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-top: auto;
}

.right-panel .reliability-feature-badge::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
    transition: left 0.6s ease;
}

.right-panel .reliability-card:hover .reliability-feature-badge {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.right-panel .reliability-card:hover .reliability-feature-badge::before {
    left: 100%;
}

/* Styles pour la section Export Image */
.right-panel .export-section {
    margin-top: 3rem;
    padding: 2rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.right-panel .export-image-btn {
    background: linear-gradient(135deg, #dc2626, #ef4444);
    color: white;
    border: none;
    border-radius: 15px;
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(220, 38, 38, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(220, 38, 38, 0.4);
    position: relative;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    min-width: 200px;
    justify-content: center;
}

.right-panel .export-image-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
    transition: left 0.6s ease;
}

.right-panel .export-image-btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 15px 40px rgba(220, 38, 38, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.2);
    background: linear-gradient(135deg, #ef4444, #f87171);
}

.right-panel .export-image-btn:hover::before {
    left: 100%;
}

.right-panel .export-image-btn:active {
    transform: translateY(-1px) scale(1.02);
}

/* Styles pour les section-headers de la modal */
.modal-section-header-performance::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #06b6d4, #0ea5e9, #06b6d4);
    background-size: 300% 100%;
    animation: modal-performance-header-shimmer 3s ease-in-out infinite;
}

@keyframes modal-performance-header-shimmer {
    0%, 100% { background-position: -300% 0; }
    50% { background-position: 300% 0; }
}

.modal-section-header-business::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #10b981, #22c55e, #10b981);
    background-size: 300% 100%;
    animation: modal-business-header-shimmer 3s ease-in-out infinite;
}

@keyframes modal-business-header-shimmer {
    0%, 100% { background-position: -300% 0; }
    50% { background-position: 300% 0; }
}

.modal-section-header-privacy::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #f59e0b, #fbbf24, #f59e0b);
    background-size: 300% 100%;
    animation: modal-privacy-header-shimmer 3s ease-in-out infinite;
}

@keyframes modal-privacy-header-shimmer {
    0%, 100% { background-position: -300% 0; }
    50% { background-position: 300% 0; }
}

.modal-section-header-reliability::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #6366f1, #8b5cf6, #6366f1);
    background-size: 300% 100%;
    animation: modal-reliability-header-shimmer 3s ease-in-out infinite;
}

@keyframes modal-reliability-header-shimmer {
    0%, 100% { background-position: -300% 0; }
    50% { background-position: 300% 0; }
}

/* Styles pour les cards de tableaux de la modal */
.modal-performance-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #06b6d4, #0891b2, #06b6d4);
    background-size: 300% 100%;
    animation: modal-performance-shimmer 4s ease-in-out infinite;
}

@keyframes modal-performance-shimmer {
    0%, 100% { background-position: -300% 0; }
    50% { background-position: 300% 0; }
}

.modal-business-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #10b981, #059669, #10b981);
    background-size: 300% 100%;
    animation: modal-business-shimmer 4s ease-in-out infinite;
}

@keyframes modal-business-shimmer {
    0%, 100% { background-position: -300% 0; }
    50% { background-position: 300% 0; }
}

.modal-privacy-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #f59e0b, #fbbf24, #f59e0b);
    background-size: 300% 100%;
    animation: modal-privacy-shimmer 4s ease-in-out infinite;
}

@keyframes modal-privacy-shimmer {
    0%, 100% { background-position: -300% 0; }
    50% { background-position: 300% 0; }
}

.modal-reliability-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #6366f1, #8b5cf6, #6366f1);
    background-size: 300% 100%;
    animation: modal-reliability-shimmer 4s ease-in-out infinite;
}

@keyframes modal-reliability-shimmer {
    0%, 100% { background-position: -300% 0; }
    50% { background-position: 300% 0; }
}

.right-panel .export-image-btn i {
    font-size: 1.2rem;
    color: #fecaca;
    transition: all 0.3s ease;
}

.right-panel .export-image-btn:hover i {
    color: white;
    transform: scale(1.1);
}

.right-panel .export-image-btn span {
    font-weight: 800;
}

/* Bouton avec état de chargement */
.btn-loading {
    position: relative;
    color: transparent !important;
}

.btn-loading::after {
    content: '';
    position: absolute;
    width: 1rem;
    height: 1rem;
    top: calc(50% - 0.5rem);
    left: calc(50% - 0.5rem);
    border: 2px solid #212529;
    border-radius: 50%;
    border-top-color: transparent;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Typographie */
.welcome-title {
    opacity: 1;
    font-size: 2.5rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.intro-text {
    color: #64748B;
    max-width: 800px;
    font-size: 1.1rem;
    margin-bottom: 2rem !important;
}

h5 {
    font-size: 1.5rem;
    font-weight: 600;
}

.card {
    border-radius: 15px;
    overflow: hidden;
    border: none;
    transition: transform 0.3s ease;
}

/* Responsive design pour le panneau */
@media (max-width: 768px) {
    .right-panel {
        width: 90%;
        padding: 1rem;
    }
}

@media (max-width: 480px) {
    .right-panel {
        width: 100%;
        padding: 1rem;
    }
}

/* iOS-style toggle switch styles */
.toggle-switch-container {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    margin-bottom: 1rem;
}

.toggle-switch {
    position: relative;
    display: inline-block;
    width: 52px;
    height: 28px;
    margin-left: 10px;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(16, 185, 129, 0.3);
    transition: .4s;
    border-radius: 34px;
}

.toggle-slider:before {
    position: absolute;
    content: "";
    height: 20px;
    width: 20px;
    left: 4px;
    bottom: 3px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

input:checked + .toggle-slider {
    background-color: #10b981;
    border-color: rgba(16, 185, 129, 0.6);
}

input:focus + .toggle-slider {
    box-shadow: 0 0 1px #10b981;
}

input:checked + .toggle-slider:before {
    transform: translateX(22px);
}

.toggle-label {
    color: #e2e8f0;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: color 0.3s ease;
}

.toggle-label:hover {
    color: #10b981;
}
