/* =================================
   SITE MODERNE - STYLES CENTRALISÉS
   ================================= */

/* Reset et base */
* {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-feature-settings: "kern";
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    background-color: #f9fafb;
    color: #111827;
}

/* =================================
   LAYOUT PRINCIPAL
   ================================= */

.app-layout {
    display: flex;
    min-height: 100vh;
}

.main-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.page-content {
    flex: 1;
    padding: 1.5rem 0;
    background-color: #f9fafb;
}

.content-container {
    padding: 1.5rem;
    max-width: 64rem;
    margin: 0 auto;
}

.content-container-narrow {
    padding: 1.5rem;
    max-width: 48rem;
    margin: 0 auto;
}

/* =================================
   SIDEBAR
   ================================= */

.sidebar {
    background-color: white;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    width: 16rem;
    display: none;
    flex-direction: column;
    position: sticky;
    top: 0;
    height: 100vh;
    overflow-y: auto;
}

@media (min-width: 1024px) {
    .sidebar {
        display: flex;
    }
}

.sidebar-header {
    padding: 1.5rem;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-icon {
    width: 2rem;
    height: 2rem;
    background-color: #2563eb;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-icon svg {
    width: 1.25rem;
    height: 1.25rem;
    color: white;
}

.logo-text {
    font-size: 1.25rem;
    font-weight: 700;
    color: #111827;
}

.sidebar-nav {
    flex: 1;
    overflow-y: auto;
    margin-top: 1rem;
}

.nav-section {
    margin-top: 1rem;
}

.nav-section:first-child {
    margin-top: 0;
}

.nav-section-header {
    padding: 0.25rem 1.5rem;
}

.nav-section-title {
    font-size: 0.75rem;
    font-weight: 600;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.nav-item {
    padding: 0.25rem 1.5rem;
}

.nav-link {
    display: flex;
    align-items: center;
    padding: 0.5rem 0.75rem;
    color: #374151;
    text-decoration: none;
    border-radius: 0.5rem;
    font-weight: 500;
    transition: all 0.2s ease;
    font-size: 0.875rem;
}

.nav-link:hover {
    background-color: #f9fafb;
    color: #2563eb;
}

.nav-link.active {
    color: #2563eb;
    background-color: #eff6ff;
    font-weight: 600;
}

.nav-link svg {
    width: 1.25rem;
    height: 1.25rem;
    margin-right: 0.75rem;
}

.nav-link-small {
    display: block;
    font-size: 0.75rem;
    color: #6b7280;
    text-decoration: none;
    padding: 0.25rem 0;
    padding-left: 1.25rem;
    transition: all 0.2s ease;
    border-radius: 0.375rem;
    margin: 0.125rem 0;
}

.nav-link-small:hover {
    color: #2563eb;
    background-color: #f9fafb;
}

.nav-link-small.active {
    color: #2563eb;
    background-color: #eff6ff;
    font-weight: 600;
}

/* Navigation Groups (Collapsible) */
.nav-group {
    width: 100%;
}

.nav-group-toggle {
    cursor: pointer;
    list-style: none;
}

.nav-group-toggle::-webkit-details-marker {
    display: none;
}

.nav-chevron {
    width: 1rem;
    height: 1rem;
    margin-right: 0.5rem;
    transition: transform 0.2s ease;
}

.nav-group[open] .nav-chevron {
    transform: rotate(90deg);
}

.nav-submenu {
    margin-top: 0.25rem;
    padding-left: 2rem;
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
}

/* Sites dans la sidebar */
.site-card {
    background-color: #f9fafb;
    border-radius: 0.5rem;
    padding: 0.5rem;
    margin-bottom: 0.5rem;
}

.site-header {
    display: flex;
    align-items: center;
    margin-bottom: 0.25rem;
}

.site-status {
    width: 0.75rem;
    height: 0.75rem;
    border-radius: 50%;
    margin-right: 0.5rem;
}

.site-status.active {
    background-color: #10b981;
}

.site-status.warning {
    background-color: #f59e0b;
}

.site-status.suspended {
    background-color: #ef4444;
}

.site-name {
    font-size: 0.875rem;
    font-weight: 500;
    color: #111827;
}

.site-links {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

/* User Menu Sidebar */
.user-menu {
    flex-shrink: 0;
    padding: 1.5rem;
    border-top: 1px solid #e5e7eb;
    background-color: white;
}

/* Sidebar Footer (pour admin) */
.sidebar-footer {
    flex-shrink: 0;
    padding: 1.5rem;
    border-top: 1px solid #e5e7eb;
    background-color: white;
}

.sidebar-actions {
    margin-top: 0.75rem;
}

.action-link {
    width: 100%;
    background-color: #f3f4f6;
    color: #374151;
    font-size: 0.875rem;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    border: none;
    cursor: pointer;
}

.action-link:hover {
    background-color: #e5e7eb;
    text-decoration: none;
}

.action-link svg {
    width: 1rem;
    height: 1rem;
    margin-right: 0.5rem;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.user-avatar {
    width: 2rem;
    height: 2rem;
    background-color: #d1d5db;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.user-avatar span {
    font-size: 0.875rem;
    font-weight: 500;
    color: #374151;
}

.user-details h4 {
    font-size: 0.875rem;
    font-weight: 500;
    color: #111827;
    margin: 0;
}

.user-details p {
    font-size: 0.75rem;
    color: #6b7280;
    margin: 0;
}

.logout-btn {
    width: 100%;
    background-color: #f3f4f6;
    color: #374151;
    font-size: 0.875rem;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    border: none;
    cursor: pointer;
}

.logout-btn:hover {
    background-color: #e5e7eb;
}

.logout-btn svg {
    width: 1rem;
    height: 1rem;
    margin-right: 0.5rem;
}

/* =================================
   MENU MOBILE
   ================================= */

.mobile-menu-overlay {
    position: fixed;
    inset: 0;
    z-index: 50;
    display: none;
}

@media (max-width: 1023px) {
    .mobile-menu-overlay.open {
        display: block;
    }
}

.mobile-menu-backdrop {
    position: fixed;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.5);
}

.mobile-menu-panel {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    width: 16rem;
    background-color: white;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    transform: translateX(-100%);
    transition: transform 0.3s ease-in-out;
}

.mobile-menu-overlay.open .mobile-menu-panel {
    transform: translateX(0);
}

.mobile-menu-header {
    padding: 1.5rem;
    flex-shrink: 0;
    border-bottom: 1px solid #e5e7eb;
}

.mobile-menu-header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.mobile-menu-close {
    padding: 0.25rem;
    border-radius: 0.375rem;
    color: #9ca3af;
    background: none;
    border: none;
    cursor: pointer;
    transition: color 0.2s ease;
}

.mobile-menu-close:hover {
    color: #4b5563;
}

.mobile-menu-close svg {
    width: 1.5rem;
    height: 1.5rem;
}

.mobile-menu-nav {
    flex: 1;
    overflow-y: auto;
    padding: 1rem 0;
}

.mobile-nav-section {
    margin-top: 1rem;
}

.mobile-nav-section:first-child {
    margin-top: 0;
}

.mobile-nav-section-header {
    padding: 0.5rem 1.5rem;
}

.mobile-nav-section-title {
    font-size: 0.75rem;
    font-weight: 600;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.mobile-nav-item {
    padding: 0.25rem 1.5rem;
}

.mobile-nav-link {
    display: flex;
    align-items: center;
    padding: 0.75rem;
    color: #374151;
    text-decoration: none;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    transition: all 0.2s ease;
}

.mobile-nav-link:hover {
    background-color: #f9fafb;
}

.mobile-nav-link.active {
    color: #2563eb;
    background-color: #eff6ff;
    font-weight: 600;
}

.mobile-nav-link svg {
    width: 1.25rem;
    height: 1.25rem;
    margin-right: 0.75rem;
}

.mobile-user-menu {
    flex-shrink: 0;
    padding: 1.5rem;
    border-top: 1px solid #e5e7eb;
    background-color: white;
}

/* =================================
   HEADER/TOP BAR
   ================================= */

.top-bar {
    background-color: white;
    border-bottom: 1px solid #e5e7eb;
    flex-shrink: 0;
}

.top-bar-content {
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.top-bar-left {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.mobile-menu-btn {
    padding: 0.5rem;
    border-radius: 0.375rem;
    color: #374151;
    background: none;
    border: none;
    cursor: pointer;
    display: block;
}

@media (min-width: 1024px) {
    .mobile-menu-btn {
        display: none;
    }
}

.mobile-menu-btn:hover {
    background-color: #f9fafb;
}

.mobile-menu-btn:focus {
    outline: 2px solid transparent;
    outline-offset: 2px;
    box-shadow: 0 0 0 2px #2563eb;
}

.mobile-menu-btn svg {
    width: 1.5rem;
    height: 1.5rem;
}

.mobile-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

@media (min-width: 1024px) {
    .mobile-logo {
        display: none;
    }
}

.mobile-logo-icon {
    width: 2rem;
    height: 2rem;
    background-color: #2563eb;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-logo-icon svg {
    width: 1.25rem;
    height: 1.25rem;
    color: white;
}

.mobile-logo-text {
    font-size: 1.25rem;
    font-weight: 700;
    color: #111827;
}

.page-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #111827;
    margin: 0;
}

.page-subtitle {
    font-size: 0.875rem;
    color: #6b7280;
    margin: 0;
}

.mobile-user-menu {
    display: block;
}

@media (min-width: 1024px) {
    .mobile-user-menu {
        display: none;
    }
}

/* =================================
   CARTES
   ================================= */

.card {
    background-color: white;
    border-radius: 0.5rem;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    overflow: hidden;
}

.card-header {
    padding: 1rem 1.5rem;
    border-bottom: 1px solid #e5e7eb;
}

.card-header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.card-title {
    font-size: 1.125rem;
    font-weight: 500;
    color: #111827;
    margin: 0;
}

.card-subtitle {
    font-size: 0.875rem;
    color: #6b7280;
    margin: 0;
}

.card-content {
    padding: 1.5rem;
}

.card-content > .form-grid {
    margin: -1.5rem;
    padding: 1.5rem;
}

.card-link {
    color: #2563eb;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    transition: color 0.2s ease;
}

.card-link:hover {
    color: #1d4ed8;
}

.card-actions {
    padding: 1rem 1.5rem;
    border-top: 1px solid #e5e7eb;
    display: flex;
    justify-content: flex-end;
    gap: 0.75rem;
}

/* Icône de statut dans le header */
.card-header-content .status-icon {
    width: 1.25rem;
    height: 1.25rem;
    color: #10b981;
}

.card-header-content .status-text {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: #6b7280;
}

.card-header-content .status-text strong {
    color: #10b981;
}

/* Grille Dashboard */
.dashboard-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-top: 2rem;
}

@media (min-width: 1024px) {
    .dashboard-grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

@media (min-width: 640px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .stats-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.stat-card {
    background-color: white;
    border-radius: 0.5rem;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    padding: 1.5rem;
}

.stat-card-content {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.stat-icon {
    width: 3rem;
    height: 3rem;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.stat-icon.blue {
    background-color: #dbeafe;
}

.stat-icon.green {
    background-color: #d1fae5;
}

.stat-icon.orange {
    background-color: #fed7aa;
}

.stat-icon.purple {
    background-color: #e9d5ff;
}

.stat-icon svg {
    width: 1rem;
    height: 1rem;
}

.stat-icon.blue svg {
    color: #2563eb;
}

.stat-icon.green svg {
    color: #059669;
}

.stat-icon.orange svg {
    color: #d97706;
}

.stat-icon.purple svg {
    color: #7c3aed;
}

.stat-info p {
    margin: 0;
}

.stat-label {
    font-size: 0.875rem;
    color: #6b7280;
    margin-bottom: 0.25rem;
}

.stat-value {
    font-size: 1.125rem;
    font-weight: 600;
    color: #111827;
}

/* Site List */
.site-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.site-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem;
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
}

.site-item-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.site-icon {
    width: 2rem;
    height: 2rem;
    background-color: #dbeafe;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.site-icon svg {
    width: 1rem;
    height: 1rem;
    color: #2563eb;
}

.site-details p {
    margin: 0;
}

.site-details .site-name {
    font-size: 0.875rem;
    font-weight: 500;
    color: #111827;
}

.site-details .site-type {
    font-size: 0.75rem;
    color: #6b7280;
}

.site-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.site-link {
    color: #2563eb;
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.2s ease;
}

.site-link:hover {
    color: #1d4ed8;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 2rem;
}

.empty-icon {
    margin: 0 auto 0.5rem auto;
    height: 2rem;
    width: 2rem;
    color: #9ca3af;
}

.empty-state-icon {
    margin: 0 auto 0.5rem auto;
    height: 2rem;
    width: 2rem;
    color: #9ca3af;
}

.empty-title {
    margin: 0.5rem 0;
    font-size: 0.875rem;
    font-weight: 500;
    color: #111827;
}

.empty-description {
    margin: 0.25rem 0 1.5rem 0;
    font-size: 0.875rem;
    color: #6b7280;
}

.empty-action {
    margin-top: 1.5rem;
}

/* Eco Banner */
.eco-banner {
    margin-top: 2rem;
    background: linear-gradient(to right, #f0fdf4, #eff6ff);
    border-radius: 0.5rem;
    padding: 1.5rem;
}

.eco-content {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.eco-icon {
    flex-shrink: 0;
}

.eco-icon svg {
    height: 1.5rem;
    width: 1.5rem;
    color: #10b981;
}

.eco-title {
    font-size: 1.125rem;
    font-weight: 500;
    color: #111827;
    margin: 0 0 0.5rem 0;
}

.eco-description {
    font-size: 0.875rem;
    color: #4b5563;
}

.eco-description p {
    margin: 0;
}

.eco-description p + p {
    margin-top: 0.25rem;
}

/* =================================
   FORMULAIRES
   ================================= */

.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: #374151;
    margin-bottom: 0.5rem;
}

.form-label.required:after {
    content: " *";
    color: #ef4444;
}

.form-input {
    width: 100%;
    padding: 0.5rem 0.75rem;
    border: 1px solid #d1d5db;
    border-radius: 0.375rem;
    background-color: white;
    font-size: 0.875rem;
    color: #111827;
    transition: all 0.2s ease;
}

.form-input:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.form-input:disabled {
    background-color: #f3f4f6;
    cursor: not-allowed;
}

.form-textarea {
    width: 100%;
    padding: 0.5rem 0.75rem;
    border: 1px solid #d1d5db;
    border-radius: 0.375rem;
    background-color: white;
    font-size: 0.875rem;
    color: #111827;
    min-height: 100px;
    resize: vertical;
    transition: all 0.2s ease;
}

.form-textarea:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.form-select {
    width: 100%;
    padding: 0.5rem 0.75rem;
    border: 1px solid #d1d5db;
    border-radius: 0.375rem;
    background-color: white;
    font-size: 0.875rem;
    color: #111827;
    transition: all 0.2s ease;
}

.form-select:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.form-checkbox {
    display: flex;
    align-items: center;
    font-size: 0.875rem;
    color: #374151;
    cursor: pointer;
}

.form-checkbox input {
    margin-right: 0.5rem;
}

.form-checkbox input:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.form-help {
    font-size: 0.75rem;
    color: #6b7280;
    margin-top: 0.25rem;
}

.form-error {
    font-size: 0.75rem;
    color: #ef4444;
    margin-top: 0.25rem;
}

.form-grid {
    display: grid;
    gap: 1.5rem;
}

.form-grid.cols-2 {
    grid-template-columns: repeat(2, 1fr);
}

.form-grid.cols-3 {
    grid-template-columns: repeat(3, 1fr);
}

.form-grid .col-span-2 {
    grid-column: span 2;
}

@media (max-width: 768px) {
    .form-grid.cols-2,
    .form-grid.cols-3 {
        grid-template-columns: 1fr;
    }
    
    .form-grid .col-span-2 {
        grid-column: auto;
    }
}

/* =================================
   BOUTONS
   ================================= */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 1rem;
    border: 1px solid transparent;
    border-radius: 0.375rem;
    font-size: 0.875rem;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s ease;
    gap: 0.5rem;
}

.btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.btn-primary {
    background-color: #2563eb;
    color: white;
}

.btn-primary:hover:not(:disabled) {
    background-color: #1d4ed8;
}

.btn-secondary {
    background-color: #f3f4f6;
    color: #374151;
}

.btn-secondary:hover:not(:disabled) {
    background-color: #e5e7eb;
}

.btn-success {
    background-color: #059669;
    color: white;
}

.btn-success:hover:not(:disabled) {
    background-color: #047857;
}

.btn-danger {
    background-color: #dc2626;
    color: white;
}

.btn-danger:hover:not(:disabled) {
    background-color: #b91c1c;
}

.btn-sm {
    padding: 0.25rem 0.75rem;
    font-size: 0.75rem;
}

.btn-lg {
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
}

.btn svg {
    width: 1rem;
    height: 1rem;
}

/* =================================
   BADGES
   ================================= */

.badge {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.625rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 500;
}

.badge.success {
    background-color: #d1fae5;
    color: #065f46;
}

.badge.danger {
    background-color: #fee2e2;
    color: #991b1b;
}

.badge.warning {
    background-color: #fef3c7;
    color: #92400e;
}

.badge.info {
    background-color: #dbeafe;
    color: #1e40af;
}

/* =================================
   TABLEAUX
   ================================= */

.table-container {
    overflow-x: auto;
}

.table {
    width: 100%;
    border-collapse: collapse;
}

.table th {
    padding: 0.75rem;
    text-align: left;
    font-weight: 500;
    color: #374151;
    background-color: #f9fafb;
    border-bottom: 1px solid #e5e7eb;
}

.table td {
    padding: 0.75rem;
    border-bottom: 1px solid #e5e7eb;
}

.table tbody tr:hover {
    background-color: #f9fafb;
}

/* =================================
   ONGLETS
   ================================= */

.tabs {
    background-color: white;
    border-radius: 0.5rem;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    margin-bottom: 1.5rem;
}

.tabs-nav {
    display: flex;
    border-bottom: 1px solid #e5e7eb;
    gap: 2rem;
    padding: 0 0 -1px 0;
    margin-bottom: -1px;
}

.tab-link {
    padding: 1rem 1rem;
    border-bottom: 2px solid transparent;
    color: #6b7280;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.875rem;
    white-space: nowrap;
    transition: all 0.2s ease;
}

.tab-link:hover {
    color: #374151;
    border-bottom-color: #d1d5db;
}

.tab-link.active {
    color: #2563eb;
    border-bottom-color: #2563eb;
    font-weight: 500;
}

/* =================================
   DEMANDES DE MODIFICATION
   ================================= */

.content-container-large {
    padding: 1.5rem;
    max-width: 64rem;
    margin: 0 auto;
}

.requests-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.request-card {
    background-color: white;
    border-radius: 0.5rem;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
}

.request-header {
    padding: 1.5rem 1.5rem 1rem 1.5rem;
    border-bottom: 1px solid #e5e7eb;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.request-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.request-status {
    flex-shrink: 0;
}

.request-details h3 {
    margin: 0;
}

.request-title {
    font-size: 1.125rem;
    font-weight: 500;
    color: #111827;
    margin-bottom: 0.25rem;
}

.request-date {
    font-size: 0.875rem;
    color: #6b7280;
    margin: 0;
}

.request-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.request-link {
    color: #2563eb;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    transition: color 0.2s ease;
}

.request-link:hover {
    color: #1d4ed8;
}

.request-support {
    color: #9ca3af;
    text-decoration: none;
    transition: color 0.2s ease;
}

.request-support:hover {
    color: #ef4444;
}

.request-support svg {
    width: 1.25rem;
    height: 1.25rem;
}

.request-content {
    padding: 1.5rem;
}

.request-description {
    color: #374151;
    margin: 0 0 0.75rem 0;
    line-height: 1.5;
}

.request-timeline {
    font-size: 0.75rem;
    color: #6b7280;
}

/* =================================
   UTILITAIRES
   ================================= */

.text-center {
    text-align: center;
}

.text-right {
    text-align: right;
}

.mb-4 {
    margin-bottom: 1rem;
}

.mb-6 {
    margin-bottom: 1.5rem;
}

.mt-4 {
    margin-top: 1rem;
}

.mt-6 {
    margin-top: 1.5rem;
}

.hidden {
    display: none;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* =================================
   RESPONSIVE
   ================================= */

@media (max-width: 768px) {
    .content-container {
        padding: 1rem;
    }

    .content-container-narrow {
        padding: 1rem;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .page-title {
        font-size: 1.25rem;
    }
}

/* Zone de téléchargement de fichiers */
.file-upload-zone {
    margin-top: 0.25rem;
    display: flex;
    justify-content: center;
    padding: 1.25rem 1.5rem;
    border: 2px dashed #d1d5db;
    border-radius: 0.375rem;
    background-color: white;
    transition: border-color 0.2s ease;
}

.file-upload-zone:hover {
    border-color: #2563eb;
}

.file-upload-content {
    text-align: center;
}

.file-upload-icon {
    width: 3rem;
    height: 3rem;
    color: #9ca3af;
    margin: 0 auto 0.5rem auto;
}

.file-upload-text {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.25rem;
    margin-bottom: 0.25rem;
    font-size: 0.875rem;
    color: #6b7280;
}

.file-upload-label {
    color: #2563eb;
    font-weight: 500;
    cursor: pointer;
    transition: color 0.2s ease;
}

.file-upload-label:hover {
    color: #1d4ed8;
}

.file-upload-info {
    margin: 0;
}

.file-upload-formats {
    font-size: 0.75rem;
    color: #6b7280;
    margin: 0;
}

/* Bannière d'information */
.info-banner {
    margin-top: 1.5rem;
    padding: 1rem;
    background-color: #eff6ff;
    border: 1px solid #bfdbfe;
    border-radius: 0.5rem;
}

.info-banner-content {
    display: flex;
    gap: 0.75rem;
}

.info-banner-icon {
    flex-shrink: 0;
}

.info-banner-text h3 {
    font-size: 0.875rem;
    font-weight: 500;
    color: #1e40af;
    margin: 0 0 0.5rem 0;
}

.info-banner-text ul {
    margin: 0;
    padding-left: 1.25rem;
    font-size: 0.875rem;
    color: #1e3a8a;
}

.info-banner-text li {
    margin-bottom: 0.25rem;
}

.info-banner-text li:last-child {
    margin-bottom: 0;
}

/* Actions de formulaire */
.form-actions {
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e5e7eb;
}

/* Plan actuel - Ajustements précis */
.text-xl {
    font-size: 1.25rem;
    line-height: 1.75rem;
}

.text-3xl {
    font-size: 1.875rem;
    line-height: 2.25rem;
}

.text-sm {
    font-size: 0.875rem;
    line-height: 1.25rem;
}

.text-xs {
    font-size: 0.75rem;
    line-height: 1rem;
}

.font-medium {
    font-weight: 500;
}

.font-semibold {
    font-weight: 600;
}

.font-bold {
    font-weight: 700;
}

/* Couleurs et fonds - exactes */
.bg-blue-50 {
    background-color: #eff6ff;
}

.bg-green-50 {
    background-color: #f0fdf4;
}

.border {
    border-width: 1px;
    border-style: solid;
}

.border-blue-200 {
    border-color: #bfdbfe;
}

.border-gray-200 {
    border-color: #e5e7eb;
}

.border-green-200 {
    border-color: #a7f3d0;
}

.text-blue-900 {
    color: #1e3a8a;
}

.text-blue-800 {
    color: #1e40af;
}

.text-blue-700 {
    color: #1d4ed8;
}

.text-green-900 {
    color: #064e3b;
}

.text-green-800 {
    color: #065f46;
}

.text-green-700 {
    color: #047857;
}

.text-green-500 {
    color: #10b981;
}

.text-gray-900 {
    color: #111827;
}

.text-gray-700 {
    color: #374151;
}

.text-gray-600 {
    color: #4b5563;
}

.text-orange-600 {
    color: #ea580c;
}

.rounded-lg {
    border-radius: 0.5rem;
}

/* Espacements précis */
.p-4 {
    padding: 1rem;
}

.p-6 {
    padding: 1.5rem;
}

.mt-1 {
    margin-top: 0.25rem;
}

.mt-4 {
    margin-top: 1rem;
}

.mb-2 {
    margin-bottom: 0.5rem;
}

.mb-3 {
    margin-bottom: 0.75rem;
}

.mb-4 {
    margin-bottom: 1rem;
}

.mb-6 {
    margin-bottom: 1.5rem;
}

.mr-2 {
    margin-right: 0.5rem;
}

.w-5 {
    width: 1.25rem;
}

.h-5 {
    height: 1.25rem;
}

.w-6 {
    width: 1.5rem;
}

.h-6 {
    height: 1.5rem;
}

.w-full {
    width: 100%;
}

/* Mise en page */
.flex {
    display: flex;
}

.items-center {
    align-items: center;
}

.justify-between {
    justify-content: space-between;
}

.text-right {
    text-align: right;
}

/* Grille responsive exacte */
.grid {
    display: grid;
}

.gap-3 {
    gap: 0.75rem;
}

.gap-4 {
    gap: 1rem;
}

.grid-cols-1 {
    grid-template-columns: repeat(1, minmax(0, 1fr));
}

@media (min-width: 768px) {
    .md\:grid-cols-2 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* Cartes d'options - Style exact de la maquette */
.option-card {
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    padding: 1rem;
    background-color: white;
}

.option-card.active {
    border-color: #a7f3d0;
    background-color: #f0fdf4;
}

.option-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}

.option-title {
    font-weight: 500;
    color: #111827;
    font-size: 0.875rem;
    margin: 0;
}

.option-title.active {
    color: #064e3b;
}

.option-price {
    font-size: 0.875rem;
    font-weight: 500;
    color: #ea580c;
}

.option-description {
    font-size: 0.875rem;
    color: #4b5563;
    margin: 0 0 0.75rem 0;
    line-height: 1.25rem;
}

.option-description.active {
    color: #047857;
}

.option-features {
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

.option-features.active {
    color: #065f46;
}

.option-features.inactive {
    color: #374151;
}

.option-features div {
    position: relative;
    padding-left: 1rem;
    margin-bottom: 0.25rem;
}

.option-features div:last-child {
    margin-bottom: 0;
}

.option-features div::before {
    content: "•";
    position: absolute;
    left: 0;
    color: currentColor;
}

/* Boutons dans les options */
.option-button {
    width: 100%;
    background-color: #2563eb;
    color: white;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    border: none;
    cursor: pointer;
    font-size: 0.875rem;
    transition: background-color 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.option-button:hover {
    background-color: #1d4ed8;
}

/* Page de coordonnées - Styles spécifiques */
.same-as-contact-checkbox {
    display: flex;
    align-items: center;
    font-size: 0.875rem;
    color: #374151;
    cursor: pointer;
    gap: 0.5rem;
}

.same-as-contact-checkbox input {
    margin: 0;
    border-radius: 0.25rem;
    border: 1px solid #d1d5db;
    color: #2563eb;
}

.same-as-contact-checkbox input:focus {
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.same-as-contact-checkbox span {
    user-select: none;
}

/* Formulaires désactivés */
.form-input-disabled {
    background-color: #f9fafb;
    cursor: not-allowed;
    opacity: 0.7;
}

.btn-disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.btn-disabled:hover {
    background-color: #2563eb;
}

/* Grille 3 colonnes pour formulaires */
.form-grid.cols-3 {
    grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 768px) {
    .form-grid.cols-3 {
        grid-template-columns: 1fr;
    }
    
    .form-grid.cols-3 .col-span-2 {
        grid-column: auto;
    }
}

/* Page Email et Mot de passe - Styles spécifiques */

/* Exigences de mot de passe */
.password-requirements {
    margin-top: 0.5rem;
    font-size: 0.75rem;
    color: #6b7280;
}

.password-requirements-title {
    margin: 0 0 0.25rem 0;
    font-weight: 400;
}

.password-requirements-list {
    margin: 0.25rem 0 0 0;
    padding-left: 1rem;
    list-style-type: disc;
}

.password-requirements-list li {
    margin-bottom: 0.25rem;
}

.password-requirements-list li:last-child {
    margin-bottom: 0;
}

/* Force du mot de passe */
.password-strength-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.password-strength-label {
    font-size: 0.875rem;
    font-weight: 500;
    color: #374151;
}

.password-strength-text {
    font-size: 0.75rem;
    color: #6b7280;
}

.password-strength-container {
    width: 100%;
    background-color: #e5e7eb;
    border-radius: 9999px;
    height: 0.5rem;
    overflow: hidden;
}

.password-strength-bar {
    height: 100%;
    background-color: #d1d5db;
    border-radius: 9999px;
    transition: all 0.3s ease;
    width: 0%;
}

/* Bannière d'informations de sécurité */
.security-info-banner {
    margin-top: 1.5rem;
    background-color: #eff6ff;
    border: 1px solid #bfdbfe;
    border-radius: 0.5rem;
    padding: 1.5rem;
}

.security-info-content {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.security-info-icon {
    width: 1.25rem;
    height: 1.25rem;
    color: #2563eb;
    flex-shrink: 0;
    margin-top: 0.125rem;
}

.security-info-text {
    flex: 1;
}

.security-info-title {
    font-size: 0.875rem;
    font-weight: 500;
    color: #1e3a8a;
    margin: 0 0 0.25rem 0;
}

.security-info-list {
    font-size: 0.875rem;
    color: #1e40af;
    margin: 0;
    padding: 0;
    list-style-type: none;
}

.security-info-list li {
    position: relative;
    padding-left: 1rem;
    margin-bottom: 0.25rem;
}

.security-info-list li:last-child {
    margin-bottom: 0;
}

.security-info-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: currentColor;
}

/* Page Gestion du compte - Styles spécifiques */

/* Bandeau d'accès aux données */
.data-access-info {
    margin-bottom: 1.5rem;
    background-color: #eff6ff;
    border: 1px solid #bfdbfe;
    border-radius: 0.5rem;
    padding: 1rem;
}

.data-access-content {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.data-access-icon {
    width: 1.25rem;
    height: 1.25rem;
    color: #2563eb;
    flex-shrink: 0;
    margin-top: 0.125rem;
}

.data-access-text {
    flex: 1;
}

.data-access-title {
    font-size: 0.875rem;
    font-weight: 500;
    color: #1e3a8a;
    margin: 0 0 0.25rem 0;
}

.data-access-description {
    font-size: 0.875rem;
    color: #1e40af;
    margin: 0;
    line-height: 1.5;
}

/* Bandeau d'avertissement suppression */
.delete-warning {
    margin-bottom: 1.5rem;
    background-color: #fef2f2;
    border: 1px solid #fecaca;
    border-radius: 0.5rem;
    padding: 1rem;
}

.delete-warning-content {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.delete-warning-icon {
    width: 1.25rem;
    height: 1.25rem;
    color: #dc2626;
    flex-shrink: 0;
    margin-top: 0.125rem;
}

.delete-warning-text {
    flex: 1;
}

.delete-warning-title {
    font-size: 0.875rem;
    font-weight: 500;
    color: #7f1d1d;
    margin: 0 0 0.25rem 0;
}

.delete-warning-description {
    font-size: 0.875rem;
    color: #991b1b;
    margin: 0 0 0.75rem 0;
}

.delete-warning-list {
    font-size: 0.875rem;
    color: #991b1b;
    margin: 0;
    padding: 0;
    list-style-type: none;
}

.delete-warning-list li {
    position: relative;
    padding-left: 1rem;
    margin-bottom: 0.25rem;
}

.delete-warning-list li:last-child {
    margin-bottom: 0;
}

.delete-warning-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: currentColor;
}

/* Checkboxes spécialisées */
.gdpr-checkbox {
    display: flex;
    align-items: flex-start;
    font-size: 0.875rem;
    color: #374151;
    cursor: pointer;
    gap: 0.5rem;
    line-height: 1.5;
}

.gdpr-checkbox input {
    margin: 0;
    margin-top: 0.25rem;
    border-radius: 0.25rem;
    border: 1px solid #d1d5db;
    color: #2563eb;
    flex-shrink: 0;
}

.gdpr-checkbox span {
    user-select: none;
}

.delete-confirmations {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.delete-checkbox {
    display: flex;
    align-items: flex-start;
    font-size: 0.875rem;
    color: #374151;
    cursor: pointer;
    gap: 0.5rem;
    line-height: 1.5;
}

.delete-checkbox input {
    margin: 0;
    margin-top: 0.25rem;
    border-radius: 0.25rem;
    border: 1px solid #d1d5db;
    color: #dc2626;
    flex-shrink: 0;
}

.delete-checkbox input:focus {
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
}

.delete-checkbox span {
    user-select: none;
}

/* Bandeau d'informations légales */
.legal-info {
    margin-top: 1.5rem;
    background-color: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    padding: 1.5rem;
}

.legal-info-content {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.legal-info-icon {
    width: 1.25rem;
    height: 1.25rem;
    color: #6b7280;
    flex-shrink: 0;
    margin-top: 0.125rem;
}

.legal-info-text {
    flex: 1;
}

.legal-info-title {
    font-size: 0.875rem;
    font-weight: 500;
    color: #111827;
    margin: 0 0 0.25rem 0;
}

.legal-info-description {
    font-size: 0.875rem;
    color: #374151;
    margin: 0 0 0.5rem 0;
    line-height: 1.5;
}

.legal-info-list {
    font-size: 0.875rem;
    color: #374151;
    margin: 0 0 0.5rem 0;
    padding: 0;
    list-style-type: none;
}

.legal-info-list li {
    position: relative;
    padding-left: 1rem;
    margin-bottom: 0.25rem;
    line-height: 1.5;
}

.legal-info-list li:last-child {
    margin-bottom: 0;
}

.legal-info-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: currentColor;
}

.legal-info-contact {
    font-size: 0.875rem;
    color: #374151;
    margin: 0;
    line-height: 1.5;
}

.legal-info-link {
    color: #2563eb;
    text-decoration: none;
    transition: color 0.2s ease;
}

.legal-info-link:hover {
    color: #1d4ed8;
    text-decoration: underline;
}

/* Page Préférences - Styles spécifiques */

/* Groupes de boutons radio */
.radio-group {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 0.75rem;
}

.form-radio {
    display: flex;
    align-items: center;
    font-size: 0.875rem;
    color: #374151;
    cursor: pointer;
    gap: 0.75rem;
}

.form-radio input {
    margin: 0;
    border-radius: 50%;
    border: 1px solid #d1d5db;
    color: #2563eb;
    flex-shrink: 0;
    width: 1rem;
    height: 1rem;
}

.form-radio input:focus {
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.form-radio span {
    user-select: none;
}

/* Labels de formulaire petits */
.form-label-small {
    display: block;
    font-size: 0.75rem;
    font-weight: 400;
    color: #6b7280;
    margin-bottom: 0.25rem;
}

/* Sélecteurs petits */
.form-select-small {
    padding: 0.25rem 0.5rem;
    border: 1px solid #d1d5db;
    border-radius: 0.375rem;
    background-color: white;
    font-size: 0.875rem;
    color: #111827;
    transition: all 0.2s ease;
    max-width: 200px;
}

.form-select-small:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

/* Items de notification */
.notification-item {
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #e5e7eb;
}

.notification-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.notification-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
}

.notification-info {
    flex: 1;
}

.notification-title {
    font-size: 0.875rem;
    font-weight: 500;
    color: #111827;
    margin: 0 0 0.25rem 0;
}

.notification-description {
    font-size: 0.875rem;
    color: #6b7280;
    margin: 0;
    line-height: 1.5;
}

.notification-toggle {
    display: flex;
    align-items: center;
    font-size: 0.875rem;
    color: #374151;
    cursor: pointer;
    gap: 0.5rem;
    flex-shrink: 0;
}

.notification-toggle input {
    margin: 0;
    border-radius: 0.25rem;
    border: 1px solid #d1d5db;
    color: #2563eb;
    flex-shrink: 0;
}

.notification-toggle input:focus {
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.notification-toggle span {
    user-select: none;
}

.notification-options {
    margin-top: 0.75rem;
    margin-left: 1.5rem;
}

.notification-note {
    font-size: 0.75rem;
    color: #6b7280;
    margin: 0.5rem 0 0 0;
    line-height: 1.5;
}

/* Texte désactivé */
.text-disabled {
    color: #9ca3af !important;
}

/* Bandeau d'informations sur les notifications */
.notification-info-banner {
    margin-top: 1.5rem;
    background-color: #eff6ff;
    border: 1px solid #bfdbfe;
    border-radius: 0.5rem;
    padding: 1.5rem;
}

.notification-info-content {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.notification-info-icon {
    width: 1.25rem;
    height: 1.25rem;
    color: #2563eb;
    flex-shrink: 0;
    margin-top: 0.125rem;
}

.notification-info-text {
    flex: 1;
}

.notification-info-title {
    font-size: 0.875rem;
    font-weight: 500;
    color: #1e3a8a;
    margin: 0 0 0.25rem 0;
}

.notification-info-list {
    font-size: 0.875rem;
    color: #1e40af;
    margin: 0;
    padding: 0;
    list-style-type: none;
}

.notification-info-list li {
    position: relative;
    padding-left: 1rem;
    margin-bottom: 0.25rem;
    line-height: 1.5;
}

.notification-info-list li:last-child {
    margin-bottom: 0;
}

.notification-info-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: currentColor;
}

/* Page Paiements - Styles spécifiques */

/* Carte du prochain paiement */
.next-payment-card {
    background-color: #eff6ff;
    border: 1px solid #bfdbfe;
    border-radius: 0.5rem;
    padding: 1rem;
}

.next-payment-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.next-payment-date {
    flex: 1;
}

.next-payment-date-text {
    font-size: 1.125rem;
    font-weight: 500;
    color: #1e3a8a;
    margin: 0 0 0.25rem 0;
}

.next-payment-description {
    color: #1d4ed8;
    margin: 0;
    font-size: 0.875rem;
}

.next-payment-amount {
    text-align: right;
}

.next-payment-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1e3a8a;
    line-height: 1.2;
}

.next-payment-plan {
    font-size: 0.875rem;
    color: #1d4ed8;
    margin-top: 0.25rem;
}

.next-payment-details {
    font-size: 0.875rem;
    color: #1e40af;
}

.next-payment-details p {
    margin: 0 0 0.25rem 0;
}

.next-payment-details p:last-child {
    margin-bottom: 0;
}

/* Tableau des paiements */
.payment-amount {
    font-weight: 500;
    color: #111827;
}

.payment-download-link {
    color: #2563eb;
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.2s ease;
}

.payment-download-link:hover {
    color: #1d4ed8;
    text-decoration: underline;
}

/* Pagination des paiements */
.payment-pagination {
    padding: 1rem 1.5rem;
    border-top: 1px solid #e5e7eb;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.payment-pagination-info p {
    font-size: 0.875rem;
    color: #374151;
    margin: 0;
}

.payment-pagination-controls {
    display: flex;
    gap: 0.5rem;
}

/* Responsive pour la pagination */
@media (max-width: 640px) {
    .payment-pagination {
        flex-direction: column;
        gap: 1rem;
        align-items: stretch;
    }
    
    .payment-pagination-controls {
        justify-content: center;
    }
}

/* Responsive pour la carte de prochain paiement */
@media (max-width: 640px) {
    .next-payment-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .next-payment-amount {
        text-align: left;
        width: 100%;
    }
}

/* Page Aide et Support - Styles spécifiques */

/* Section FAQ */
.faq-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .faq-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.faq-column {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    padding: 1rem;
}

.faq-question {
    font-weight: 500;
    color: #111827;
    margin: 0 0 0.5rem 0;
    font-size: 0.875rem;
}

.faq-answer {
    font-size: 0.875rem;
    color: #6b7280;
    margin: 0;
    line-height: 1.5;
}

/* Centre d'aide */
.help-center-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .help-center-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.help-center-item {
    text-align: center;
}

.help-center-icon {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem auto;
}

.help-center-icon svg {
    width: 1.25rem;
    height: 1.25rem;
}

.help-center-icon.blue {
    background-color: #dbeafe;
    color: #2563eb;
}

.help-center-icon.green {
    background-color: #d1fae5;
    color: #059669;
}

.help-center-icon.purple {
    background-color: #e9d5ff;
    color: #7c3aed;
}

.help-center-title {
    font-weight: 500;
    color: #111827;
    margin: 0 0 0.5rem 0;
    font-size: 0.875rem;
}

.help-center-description {
    font-size: 0.875rem;
    color: #6b7280;
    margin: 0 0 0.75rem 0;
    line-height: 1.5;
}

.help-center-link {
    color: #2563eb;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    transition: color 0.2s ease;
}

.help-center-link:hover {
    color: #1d4ed8;
}

/* Formulaire de contact */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* Bandeau de contact d'urgence */
.urgent-contact-banner {
    background-color: #fffbeb;
    border: 1px solid #fed7aa;
    border-radius: 0.5rem;
    padding: 1rem;
}

.urgent-contact-content {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.urgent-contact-icon {
    width: 1.25rem;
    height: 1.25rem;
    color: #d97706;
    flex-shrink: 0;
    margin-top: 0.125rem;
}

.urgent-contact-text {
    flex: 1;
}

.urgent-contact-title {
    font-size: 0.875rem;
    font-weight: 500;
    color: #92400e;
    margin: 0 0 0.25rem 0;
}

.urgent-contact-description {
    font-size: 0.875rem;
    color: #b45309;
    margin: 0;
    line-height: 1.5;
}

/* Informations de contact */
.contact-info-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .contact-info-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.contact-info-item {
    text-align: center;
}

.contact-info-icon {
    width: 2rem;
    height: 2rem;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 0.75rem auto;
}

.contact-info-icon svg {
    width: 1rem;
    height: 1rem;
}

.contact-info-icon.blue {
    background-color: #dbeafe;
    color: #2563eb;
}

.contact-info-icon.green {
    background-color: #d1fae5;
    color: #059669;
}

.contact-info-icon.purple {
    background-color: #e9d5ff;
    color: #7c3aed;
}

.contact-info-title {
    font-weight: 500;
    color: #111827;
    margin: 0 0 0.25rem 0;
    font-size: 0.875rem;
}

.contact-info-details {
    font-size: 0.875rem;
    color: #6b7280;
    margin: 0;
    line-height: 1.5;
}

/* Pages d'authentification - Styles spécifiques */

/* Layout principal d'authentification */
.auth-layout {
    min-height: 100vh;
    background-color: #f9fafb;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
}

/* Header avec logo */
.auth-header {
    text-align: center;
    margin-bottom: 2rem;
}

.auth-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
}

.auth-subtitle {
    font-size: 0.875rem;
    color: #6b7280;
    margin: 0;
}

/* Container principal */
.auth-container {
    width: 100%;
    max-width: 28rem;
}

/* Formulaire d'authentification */
.auth-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* Bouton de soumission */
.auth-submit-btn {
    width: 100%;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
}

/* Liens d'authentification */
.auth-links {
    margin-top: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    text-align: center;
}

.auth-link-item {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.auth-link-item p {
    font-size: 0.875rem;
    color: #6b7280;
    margin: 0;
}

.auth-link {
    color: #2563eb;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    transition: color 0.2s ease;
}

.auth-link:hover {
    color: #1d4ed8;
    text-decoration: underline;
}

/* Messages d'erreur */
.auth-error-banner {
    margin-bottom: 1.5rem;
    background-color: #fef2f2;
    border: 1px solid #fecaca;
    border-radius: 0.5rem;
    padding: 1rem;
}

.auth-error-content {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.auth-error-icon {
    width: 1.25rem;
    height: 1.25rem;
    color: #dc2626;
    flex-shrink: 0;
    margin-top: 0.125rem;
}

.auth-error-text {
    flex: 1;
}

.auth-error-title {
    font-size: 0.875rem;
    font-weight: 500;
    color: #7f1d1d;
    margin: 0 0 0.25rem 0;
}

.auth-error-description {
    font-size: 0.875rem;
    color: #991b1b;
    margin: 0;
}

/* Messages de succès */
.auth-success-banner {
    margin-bottom: 1.5rem;
    background-color: #f0fdf4;
    border: 1px solid #a7f3d0;
    border-radius: 0.5rem;
    padding: 1rem;
}

.auth-success-content {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.auth-success-icon {
    width: 1.25rem;
    height: 1.25rem;
    color: #059669;
    flex-shrink: 0;
    margin-top: 0.125rem;
}

.auth-success-text {
    flex: 1;
}

.auth-success-title {
    font-size: 0.875rem;
    font-weight: 500;
    color: #064e3b;
    margin: 0 0 0.25rem 0;
}

.auth-success-description {
    font-size: 0.875rem;
    color: #047857;
    margin: 0;
}

/* Champs de formulaire avec erreur */
.form-input-error {
    border-color: #ef4444;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

.form-input-error:focus {
    border-color: #ef4444;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

/* Informations de démonstration */
.auth-demo-info {
    margin-top: 1.5rem;
    background-color: #eff6ff;
    border: 1px solid #bfdbfe;
    border-radius: 0.5rem;
    padding: 1rem;
}

.auth-demo-content {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.auth-demo-icon {
    width: 1.25rem;
    height: 1.25rem;
    color: #2563eb;
    flex-shrink: 0;
    margin-top: 0.125rem;
}

.auth-demo-text {
    flex: 1;
}

.auth-demo-title {
    font-size: 0.875rem;
    font-weight: 500;
    color: #1e3a8a;
    margin: 0 0 0.25rem 0;
}

.auth-demo-description {
    font-size: 0.875rem;
    color: #1e40af;
    margin: 0;
    line-height: 1.5;
}

/* Bandeau d'informations */
.auth-info-banner {
    margin-top: 1.5rem;
    background-color: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    padding: 1rem;
}

.auth-info-content {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.auth-info-icon {
    width: 1.25rem;
    height: 1.25rem;
    color: #6b7280;
    flex-shrink: 0;
    margin-top: 0.125rem;
}

.auth-info-text {
    flex: 1;
}

.auth-info-title {
    font-size: 0.875rem;
    font-weight: 500;
    color: #111827;
    margin: 0 0 0.25rem 0;
}

.auth-info-list {
    font-size: 0.875rem;
    color: #374151;
    margin: 0;
    padding: 0;
    list-style-type: none;
}

.auth-info-list li {
    position: relative;
    padding-left: 1rem;
    margin-bottom: 0.25rem;
    line-height: 1.5;
}

.auth-info-list li:last-child {
    margin-bottom: 0;
}

.auth-info-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: currentColor;
}

/* Responsive pour mobile */
@media (max-width: 640px) {
    .auth-layout {
        padding: 1rem;
    }
    
    .auth-container {
        max-width: 100%;
    }
    
    .auth-logo {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .auth-links {
        gap: 1rem;
    }
    
    .auth-link-item {
        flex-direction: row;
        justify-content: center;
        align-items: center;
        gap: 0.5rem;
    }
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 2rem;
}

.empty-icon {
    margin: 0 auto 0.5rem auto;
    height: 2rem;
    width: 2rem;
    color: #9ca3af;
}

.empty-state-icon {
    margin: 0 auto 0.5rem auto;
    height: 2rem;
    width: 2rem;
    color: #9ca3af;
}

.empty-title {
    margin: 0.5rem 0;
    font-size: 0.875rem;
    font-weight: 500;
    color: #111827;
}

.empty-description {
    margin: 0.25rem 0 1.5rem 0;
    font-size: 0.875rem;
    color: #6b7280;
}

.empty-action {
    margin-top: 1.5rem;
}

/* Action Cards */
.action-cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

@media (min-width: 768px) {
    .action-cards {
        grid-template-columns: repeat(2, 1fr);
    }
}

.action-card {
    display: flex;
    align-items: center;
    padding: 1.5rem;
    background-color: white;
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    text-decoration: none;
    transition: all 0.2s ease;
}

.action-card:hover {
    border-color: #d1d5db;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.action-card-icon {
    width: 3rem;
    height: 3rem;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    flex-shrink: 0;
}

.action-card-icon svg {
    width: 1.5rem;
    height: 1.5rem;
}

.action-card-icon.blue {
    background-color: #dbeafe;
    color: #2563eb;
}

.action-card-icon.green {
    background-color: #d1fae5;
    color: #059669;
}

.action-card-content {
    flex: 1;
}

.action-card-title {
    font-size: 1rem;
    font-weight: 500;
    color: #111827;
    margin: 0 0 0.25rem 0;
}

.action-card-description {
    font-size: 0.875rem;
    color: #6b7280;
    margin: 0;
    line-height: 1.5;
}

/* =================================
   ALERTS
   ================================= */

.alert {
    padding: 1rem;
    border-radius: 0.5rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.alert-icon {
    width: 1.25rem;
    height: 1.25rem;
    flex-shrink: 0;
}

.alert-success {
    background-color: #dcfce7;
    border: 1px solid #bbf7d0;
    color: #166534;
}

.alert-success .alert-icon {
    color: #16a34a;
}

.alert-danger {
    background-color: #fef2f2;
    border: 1px solid #fecaca;
    color: #991b1b;
}

.alert-danger .alert-icon {
    color: #dc2626;
}

.alert-warning {
    background-color: #fefbeb;
    border: 1px solid #fed7aa;
    color: #92400e;
}

.alert-warning .alert-icon {
    color: #d97706;
}

.alert-info {
    background-color: #eff6ff;
    border: 1px solid #bfdbfe;
    color: #1e40af;
}

.alert-info .alert-icon {
    color: #3b82f6;
}

/* =================================
   PLAN BADGES
   ================================= */

.plan-badge {
    display: inline-block;
    padding: 0.25rem 0.5rem;
    border-radius: 0.375rem;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.plan-badge.plan-starter {
    background-color: #dbeafe;
    color: #1e40af;
}

.plan-badge.plan-business {
    background-color: #dcfce7;
    color: #166534;
}

.plan-badge.plan-pro {
    background-color: #f3e8ff;
    color: #7c3aed;
}

/* =================================
   FORM ENHANCEMENTS
   ================================= */

.form-input[readonly] {
    background-color: #f9fafb;
    color: #6b7280;
    cursor: not-allowed;
}

.btn-icon {
    width: 1rem;
    height: 1rem;
    margin-right: 0.5rem;
}

/* Page Header Actions */
.page-header {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 2rem;
}

.page-actions {
    display: flex;
    gap: 0.75rem;
    align-items: center;
}

@media (min-width: 768px) {
    .page-header {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }
}

/* =================================
   TABLE STYLES
   ================================= */

.company-info {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.company-name {
    font-weight: 500;
    color: #111827;
}

.company-siren {
    font-size: 0.75rem;
    color: #6b7280;
}

.lead-code {
    font-family: ui-monospace, SFMono-Regular, "SF Mono", Consolas, "Liberation Mono", Menlo, monospace;
    font-weight: 600;
    color: #374151;
    background-color: #f3f4f6;
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
    font-size: 0.875rem;
}

.seller-code {
    font-family: ui-monospace, SFMono-Regular, "SF Mono", Consolas, "Liberation Mono", Menlo, monospace;
    font-size: 0.75rem;
    color: #6b7280;
}

.email {
    color: #2563eb;
    text-decoration: none;
}

.email:hover {
    text-decoration: underline;
}

.phone {
    color: #374151;
}

.date {
    color: #6b7280;
    font-size: 0.875rem;
}

.action-buttons {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.btn-outline {
    background-color: transparent;
    border: 1px solid #d1d5db;
    color: #374151;
}

.btn-outline:hover {
    background-color: #f9fafb;
    border-color: #9ca3af;
}

/* =================================
   TUNNEL D'ACHAT / SUBSCRIBE
   ================================= */

.subscribe-body {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    min-height: 100vh;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.subscribe-layout {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Header */
.subscribe-header {
    background: white;
    border-bottom: 1px solid #e2e8f0;
    padding: 1rem 0;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.subscribe-header-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.subscribe-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.subscribe-logo-icon {
    width: 2rem;
    height: 2rem;
    color: #2563eb;
}

.subscribe-logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1e293b;
}

.subscribe-security {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #16a34a;
    font-size: 0.875rem;
    font-weight: 500;
}

.security-icon {
    width: 1.25rem;
    height: 1.25rem;
}

/* Main Content */
.subscribe-main {
    flex: 1;
    padding: 2rem 0;
}

.subscribe-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.subscribe-hero {
    text-align: center;
    margin-bottom: 3rem;
}

.subscribe-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: #1e293b;
    margin-bottom: 1rem;
}

.subscribe-subtitle {
    font-size: 1.125rem;
    color: #64748b;
    max-width: 600px;
    margin: 0 auto;
}

/* Grille principale */
.subscribe-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 1024px) {
    .subscribe-grid {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
        align-items: flex-start;
    }
}

/* Colonnes */
.left-column, .right-column {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.right-column {
    position: sticky;
    top: 2rem;
}

/* Cards communes */
.info-card, .plan-card, .payment-card {
    background: white;
    border-radius: 1rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: all 0.3s ease;
}

.info-card:hover, .plan-card:hover, .payment-card:hover {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

/* Headers des cards */
.info-card-header, .plan-card-header, .payment-card-header {
    padding: 1.5rem;
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: white;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.info-icon, .plan-icon, .payment-icon {
    width: 1.5rem;
    height: 1.5rem;
}

.info-card-title, .plan-card-title, .payment-card-title {
    font-size: 1.125rem;
    font-weight: 600;
    margin: 0;
}

/* Contenu des cards */
.info-card-content, .plan-card-content, .payment-card-content {
    padding: 1.5rem;
}

/* Info card */
.info-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid #f1f5f9;
}

.info-item:last-child {
    border-bottom: none;
}

.info-label {
    font-weight: 500;
    color: #64748b;
}

.info-value {
    font-weight: 600;
    color: #1e293b;
}

.info-link {
    color: #2563eb;
    text-decoration: none;
    font-weight: 600;
}

.info-link:hover {
    text-decoration: underline;
}

/* Plan card */
.plan-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 1rem;
}

.plan-features {
    margin-bottom: 1.5rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.feature-icon {
    width: 1rem;
    height: 1rem;
    color: #16a34a;
}

.plan-price {
    text-align: center;
    padding: 1rem;
    background: #f8fafc;
    border-radius: 0.5rem;
    margin-bottom: 1rem;
}

.price-amount {
    font-size: 2rem;
    font-weight: 800;
    color: #1e293b;
}

.price-period {
    color: #64748b;
    font-size: 1rem;
}

.plan-note {
    text-align: center;
    padding: 0.75rem;
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    border-radius: 0.5rem;
    font-size: 0.875rem;
    color: #92400e;
}

/* Payment form */
.payment-form {
    space-y: 1.5rem;
}

.form-section {
    margin-bottom: 2rem;
}

.form-section-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 1rem;
    border-bottom: 2px solid #e2e8f0;
    padding-bottom: 0.5rem;
}

/* Payment summary */
.payment-summary {
    background: #f8fafc;
    border-radius: 0.5rem;
    padding: 1rem;
    margin: 1.5rem 0;
}

.summary-section {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #e2e8f0;
}

.summary-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.summary-section-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 1rem;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.summary-label {
    color: #64748b;
    font-weight: 500;
}

.summary-value {
    font-weight: 600;
    color: #1e293b;
}

.summary-value.free {
    color: #16a34a;
    font-weight: 700;
}

.summary-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 0.75rem;
    border-top: 2px solid #e2e8f0;
    margin-top: 0.75rem;
}

.total-label {
    font-size: 1.125rem;
    font-weight: 600;
    color: #1e293b;
}

.total-value {
    font-size: 1.5rem;
    font-weight: 800;
    color: #2563eb;
}

/* Bouton de souscription */
.btn-subscribe {
    width: 100%;
    background: linear-gradient(135deg, #16a34a 0%, #15803d 100%);
    color: white;
    font-size: 1.125rem;
    font-weight: 600;
    padding: 1rem 2rem;
    border: none;
    border-radius: 0.75rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin: 1.5rem 0;
}

.btn-subscribe:hover {
    background: linear-gradient(135deg, #15803d 0%, #166534 100%);
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.btn-subscribe .btn-icon {
    width: 1.25rem;
    height: 1.25rem;
}

.payment-security {
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    color: #16a34a;
    font-size: 0.875rem;
    font-weight: 500;
}

/* Footer */
.subscribe-footer {
    background: #1e293b;
    color: white;
    padding: 2rem 0;
    margin-top: auto;
}

.subscribe-footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-links {
    display: flex;
    gap: 1.5rem;
}

.footer-links a {
    color: #cbd5e1;
    text-decoration: none;
    font-size: 0.875rem;
}

.footer-links a:hover {
    color: white;
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 768px) {
    .subscribe-title {
        font-size: 2rem;
    }
    
    .subscribe-header-content {
        flex-direction: column;
        gap: 1rem;
    }
    
    .subscribe-footer-content {
        flex-direction: column;
        text-align: center;
    }
    
    .form-grid.cols-3 {
        grid-template-columns: 1fr;
    }
    
    .form-grid.cols-3 .col-span-2 {
        grid-column: span 1;
    }
}

/* Confirmation Badge Header */
.confirmation-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #16a34a 0%, #15803d 100%);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    font-weight: 600;
    font-size: 0.875rem;
}

.success-icon {
    width: 1.25rem;
    height: 1.25rem;
}

/* Confirmation Hero */
.confirmation-hero {
    text-align: center;
    margin-bottom: 3rem;
}

.confirmation-icon {
    margin: 0 auto 1.5rem;
    width: 5rem;
    height: 5rem;
    background: linear-gradient(135deg, #16a34a 0%, #15803d 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: successPulse 2s ease-in-out infinite;
}

.hero-success-icon {
    width: 2.5rem;
    height: 2.5rem;
    color: white;
}

@keyframes successPulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(22, 163, 74, 0.7);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 0 0 10px rgba(22, 163, 74, 0);
    }
}

.confirmation-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: #1e293b;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #16a34a 0%, #2563eb 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.confirmation-subtitle {
    font-size: 1.25rem;
    color: #64748b;
    max-width: 700px;
    margin: 0 auto;
}

/* Confirmation Grid */
.confirmation-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
}

@media (min-width: 1024px) {
    .confirmation-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .support-card {
        grid-column: 1 / -1;
    }
}

/* Order Summary Card */
.order-summary-card {
    background: white;
    border-radius: 1rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.order-header {
    padding: 1.5rem;
    background: linear-gradient(135deg, #16a34a 0%, #15803d 100%);
    color: white;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.order-icon {
    width: 1.5rem;
    height: 1.5rem;
}

.order-title {
    font-size: 1.125rem;
    font-weight: 600;
    margin: 0;
}

.order-content {
    padding: 1.5rem;
}

.order-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    border-bottom: 1px solid #f1f5f9;
}

.order-item:last-child {
    border-bottom: none;
}

.order-item.total {
    background: #f8fafc;
    margin: 1rem -1.5rem -1.5rem;
    padding: 1.5rem;
    border-top: 2px solid #e2e8f0;
}

.order-label {
    font-weight: 500;
    color: #64748b;
}

.order-value {
    font-weight: 600;
    color: #1e293b;
}

.plan-highlight {
    background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
    color: #1d4ed8;
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.875rem;
    font-weight: 700;
}

.code-highlight {
    font-family: 'Courier New', monospace;
    background: #f1f5f9;
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
    font-weight: 700;
    color: #1e293b;
}

.price-highlight {
    font-size: 1.5rem;
    font-weight: 800;
    color: #16a34a;
}

/* Next Steps Card */
.next-steps-card {
    background: white;
    border-radius: 1rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.steps-header {
    padding: 1.5rem;
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: white;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.steps-icon {
    width: 1.5rem;
    height: 1.5rem;
}

.steps-title {
    font-size: 1.125rem;
    font-weight: 600;
    margin: 0;
}

.steps-content {
    padding: 1.5rem;
}

.step-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    align-items: flex-start;
}

.step-item:last-child {
    margin-bottom: 0;
}

.step-number {
    width: 2rem;
    height: 2rem;
    background: linear-gradient(135deg, #16a34a 0%, #15803d 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.875rem;
    flex-shrink: 0;
}

.step-info {
    flex: 1;
}

.step-title {
    font-size: 1rem;
    font-weight: 600;
    color: #1e293b;
    margin: 0 0 0.25rem 0;
}

.step-description {
    color: #64748b;
    font-size: 0.875rem;
    margin: 0;
}

/* Support Card */
.support-card {
    background: white;
    border-radius: 1rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.support-header {
    padding: 1.5rem;
    background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
    color: white;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.support-icon {
    width: 1.5rem;
    height: 1.5rem;
}

.support-title {
    font-size: 1.125rem;
    font-weight: 600;
    margin: 0;
}

.support-content {
    padding: 1.5rem;
}

.contact-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    align-items: flex-start;
}

.contact-item:last-of-type {
    margin-bottom: 1rem;
}

.contact-icon {
    width: 1.25rem;
    height: 1.25rem;
    color: #8b5cf6;
    flex-shrink: 0;
    margin-top: 0.125rem;
}

.contact-item a {
    color: #2563eb;
    text-decoration: none;
    font-weight: 600;
}

.contact-item a:hover {
    text-decoration: underline;
}

.support-note {
    background: #f3f4f6;
    padding: 1rem;
    border-radius: 0.5rem;
    color: #64748b;
    font-size: 0.875rem;
    font-style: italic;
}

/* Confirmation Actions */
.confirmation-actions {
    text-align: center;
    margin-top: 2rem;
}

.btn-home {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    color: white;
    text-decoration: none;
    font-weight: 600;
    padding: 1rem 2rem;
    border-radius: 0.75rem;
    transition: all 0.3s ease;
}

.btn-home:hover {
    background: linear-gradient(135deg, #1d4ed8 0%, #1e40af 100%);
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    color: white;
    text-decoration: none;
}

.btn-home .btn-icon {
    width: 1.25rem;
    height: 1.25rem;
}

/* Responsive pour confirmation */
@media (max-width: 768px) {
    .confirmation-title {
        font-size: 2rem;
    }
    
    .confirmation-icon {
        width: 4rem;
        height: 4rem;
    }
    
    .hero-success-icon {
        width: 2rem;
        height: 2rem;
    }
    
    .order-item.total {
        margin: 1rem -1rem -1rem;
        padding: 1rem;
    }
}

/* Stripe Elements */
.stripe-card-element {
    padding: 0.75rem 1rem;
    border: 2px solid #e2e8f0;
    border-radius: 0.5rem;
    background: white;
    transition: border-color 0.2s ease;
}

.stripe-card-element:focus-within {
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.stripe-card-element.StripeElement--invalid {
    border-color: #ef4444;
}

.stripe-card-element.StripeElement--focus {
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

/* Spinner de chargement */
.payment-spinner {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.8);
}

/* Animation pour le bouton désactivé */
.btn-subscribe:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.btn-subscribe:disabled:hover {
    transform: none;
    background: linear-gradient(135deg, #16a34a 0%, #15803d 100%);
}

/* ========================================
   ADMIN - SUBSCRIPTION PLANS
======================================== */

/* Plan preview card */
.plan-preview {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 0.75rem;
    padding: 1.5rem;
}

.preview-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 1rem;
}

.plan-preview-card {
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: 0.75rem;
    padding: 1.5rem;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
}

.plan-preview-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.plan-preview-name {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0;
}

.plan-preview-price {
    text-align: right;
}

.price-amount {
    font-size: 2rem;
    font-weight: 800;
    color: #2563eb;
}

.price-currency {
    font-size: 1rem;
    font-weight: 600;
    color: #64748b;
    margin-left: 0.25rem;
}

.price-period {
    font-size: 0.875rem;
    color: #64748b;
    margin-left: 0.25rem;
}

.plan-preview-description {
    color: #64748b;
    margin-bottom: 1rem;
    line-height: 1.5;
}

.plan-preview-status {
    display: flex;
    justify-content: flex-start;
}

/* Table styles for plans */
.plan-title {
    font-weight: 600;
    color: #1e293b;
}

.plan-description {
    color: #64748b;
    font-size: 0.875rem;
    max-width: 200px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.plan-price {
    font-weight: 600;
    color: #059669;
    font-size: 1rem;
}

.plan-date {
    color: #64748b;
    font-size: 0.875rem;
}

/* Input group for price with currency */
.input-group {
    display: flex;
    align-items: center;
}

.input-group .form-input {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    border-right: none;
}

.input-group-text {
    background: #f1f5f9;
    border: 2px solid #e2e8f0;
    border-left: none;
    border-top-right-radius: 0.5rem;
    border-bottom-right-radius: 0.5rem;
    padding: 0.75rem 1rem;
    font-weight: 600;
    color: #64748b;
    font-size: 0.875rem;
}

.input-group .form-input:focus + .input-group-text {
    border-color: #3b82f6;
}

/* Action buttons in table */
.action-buttons {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    align-items: center;
}

/* Badge variants for plan status */
.badge {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.badge-success {
    background-color: #dcfce7;
    color: #166534;
}

.badge-gray {
    background-color: #f1f5f9;
    color: #475569;
}

.badge-warning {
    background-color: #fef3c7;
    color: #92400e;
}

.badge-error {
    background-color: #fee2e2;
    color: #dc2626;
}

/* Empty state for plans */
.empty-icon {
    width: 3rem;
    height: 3rem;
    color: #cbd5e1;
    margin: 0 auto 1rem;
}

.empty-text {
    color: #64748b;
    font-size: 1.125rem;
    margin-bottom: 1.5rem;
}

/* Form checkbox group */
.form-checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    cursor: pointer;
}

.form-checkbox input[type="checkbox"] {
    margin: 0;
    width: 1.25rem;
    height: 1.25rem;
    cursor: pointer;
    accent-color: #2563eb;
}

.checkbox-label {
    font-weight: 500;
    color: #374151;
    line-height: 1.5;
}

/* Search section */
.search-section {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 0.75rem;
    padding: 1.5rem;
}

.search-form {
    display: flex;
    gap: 1rem;
    align-items: flex-end;
}

.search-input-container {
    position: relative;
    flex: 1;
}

.search-icon {
    position: absolute;
    left: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    width: 1.25rem;
    height: 1.25rem;
    color: #9ca3af;
    pointer-events: none;
}

.search-input {
    width: 100%;
    padding: 0.75rem 1rem 0.75rem 2.75rem;
    border: 2px solid #e2e8f0;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    transition: border-color 0.2s ease;
}

.search-input:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

/* Stats grid for plans */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.stat-card {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 0.75rem;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.stat-content {
    flex: 1;
}

.stat-number {
    font-size: 2rem;
    font-weight: 800;
    color: #1e293b;
    line-height: 1;
}

.stat-label {
    font-size: 0.875rem;
    color: #64748b;
    font-weight: 500;
    margin-top: 0.25rem;
}

.stat-icon {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 1rem;
}

.stat-icon svg {
    width: 1.5rem;
    height: 1.5rem;
    color: white;
}

.stat-icon-blue {
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
}

.stat-icon-green {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

.stat-icon-gray {
    background: linear-gradient(135deg, #6b7280 0%, #4b5563 100%);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .search-form {
        flex-direction: column;
        align-items: stretch;
    }
    
    .plan-preview-header {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .plan-preview-price {
        text-align: left;
    }
    
    .action-buttons {
        flex-direction: column;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
}

/* =================================
   STYLES POUR LES CLÉS API
   ================================= */

/* Affichage des clés API */
.api-key-display {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background-color: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 0.375rem;
    padding: 0.75rem;
    margin-top: 0.5rem;
}

.api-key-display code {
    flex: 1;
    background: none;
    border: none;
    padding: 0;
    font-family: 'SF Mono', Monaco, 'Cascadia Code', 'Roboto Mono', Consolas, 'Courier New', monospace;
    font-size: 0.875rem;
    color: #1f2937;
    word-break: break-all;
}

.btn-copy {
    background: none;
    border: none;
    padding: 0.25rem;
    cursor: pointer;
    color: #6b7280;
    border-radius: 0.25rem;
    transition: all 0.2s ease;
}

.btn-copy:hover {
    color: #2563eb;
    background-color: #e5e7eb;
}

.api-key-value {
    font-family: 'SF Mono', Monaco, 'Cascadia Code', 'Roboto Mono', Consolas, 'Courier New', monospace;
    font-size: 0.875rem;
    color: #1f2937;
    background-color: #f3f4f6;
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
    border: 1px solid #d1d5db;
}

.btn-view-key {
    margin-left: 0.5rem;
    color: #6b7280;
    text-decoration: none;
    padding: 0.25rem;
    border-radius: 0.25rem;
    transition: all 0.2s ease;
}

.btn-view-key:hover {
    color: #2563eb;
    background-color: #f3f4f6;
}

/* Filtres pour les clés API */
.filter-buttons {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.filter-buttons .btn {
    font-size: 0.875rem;
}

/* Détails d'une clé API */
.api-key-details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.detail-item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.detail-label {
    font-weight: 600;
    color: #374151;
    font-size: 0.875rem;
}

.detail-value {
    color: #1f2937;
}

.text-success {
    color: #059669;
    font-weight: 500;
}

.text-danger {
    color: #dc2626;
    font-weight: 500;
}

/* Actions de clés API */
.action-buttons-large {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.action-buttons-large .btn {
    min-width: 140px;
}

/* Aperçu de clé API dans le formulaire */
.api-key-preview {
    background-color: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    padding: 1.5rem;
}

.api-key-preview-card {
    background-color: white;
    border: 1px solid #e5e7eb;
    border-radius: 0.375rem;
    padding: 1rem;
}

.api-key-preview-header {
    display: flex;
    justify-content: between;
    align-items: center;
    margin-bottom: 1rem;
}

.api-key-preview-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: #1f2937;
    margin: 0;
}

.api-key-preview-status {
    margin-left: auto;
}

.api-key-preview-info {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.preview-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.preview-label {
    font-weight: 500;
    color: #6b7280;
    font-size: 0.875rem;
}

.preview-value {
    color: #1f2937;
    font-size: 0.875rem;
}

/* Informations d'usage */
.usage-info h4 {
    color: #1f2937;
    font-weight: 600;
    margin-bottom: 1rem;
}

.usage-info ol {
    list-style: decimal;
    margin-left: 1.5rem;
    color: #4b5563;
}

.usage-info li {
    margin-bottom: 0.75rem;
}

.code-example {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background-color: #f3f4f6;
    border: 1px solid #d1d5db;
    border-radius: 0.375rem;
    padding: 0.75rem;
    margin: 0.5rem 0;
    font-family: 'SF Mono', Monaco, 'Cascadia Code', 'Roboto Mono', Consolas, 'Courier New', monospace;
    font-size: 0.875rem;
}

.code-example code {
    flex: 1;
    background: none;
    border: none;
    padding: 0;
    color: #1f2937;
}

/* Titres et labels pour les clés API */
.api-key-title {
    font-weight: 600;
    color: #1f2937;
}

.api-key-date {
    color: #6b7280;
    font-size: 0.875rem;
}

/* Badge pour les erreurs */
.badge-error {
    background-color: #fef2f2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

/* Responsive pour mobile */
@media (max-width: 768px) {
    .filter-buttons {
        justify-content: center;
    }
    
    .action-buttons-large {
        flex-direction: column;
    }
    
    .action-buttons-large .btn {
        width: 100%;
        min-width: auto;
    }
    
    .api-key-preview-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .api-key-preview-status {
        margin-left: 0;
    }
    
    .preview-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.25rem;
    }
    
    .detail-item {
        gap: 0.25rem;
    }
    
    .api-key-display {
        flex-direction: column;
        align-items: stretch;
        gap: 0.75rem;
    }
    
    .code-example {
        flex-direction: column;
        align-items: stretch;
        gap: 0.75rem;
    }
}

/* Plans Selector Styles */
.plan-selector {
    margin-bottom: 2rem;
}

.plan-option {
    margin-bottom: 1rem;
}

.plan-radio {
    display: none;
}

.plan-label {
    display: block;
    padding: 1rem;
    border: 2px solid #e5e7eb;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: all 0.2s ease;
    background-color: #ffffff;
}

.plan-label:hover {
    border-color: #3b82f6;
    background-color: #f8fafc;
}

.plan-radio:checked + .plan-label {
    border-color: #3b82f6;
    background-color: #eff6ff;
    box-shadow: 0 0 0 1px #3b82f6;
}

.plan-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.plan-title {
    font-weight: 600;
    font-size: 1.125rem;
    color: #1e293b;
}

.plan-price-small {
    font-weight: 600;
    color: #3b82f6;
    font-size: 1rem;
}

.plan-description {
    color: #64748b;
    font-size: 0.875rem;
    line-height: 1.5;
    white-space: pre-wrap;
    word-wrap: break-word;
    overflow-wrap: break-word;
    max-width: 100%;
    margin-top: 0.5rem;
}

.selected-plan-summary {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e5e7eb;
}

@media (max-width: 768px) {
    .plan-selector {
        margin-bottom: 1rem;
    }
    
    .plan-label {
        padding: 0.75rem;
    }
    
    .plan-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.25rem;
    }
    
    .plan-title {
        font-size: 1rem;
    }
    
    .plan-price-small {
        font-size: 0.875rem;
    }
}

/* Espacement pour l'encart info-card dans la colonne de droite */
.right-column .info-card {
    margin-top: 1.5rem;
}

.plan-selector {
    margin-bottom: 2rem;
}

/* Styles pour les descriptions détaillées des plans */
.plan-details {
    margin-top: 1rem;
    padding: 1rem;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    transition: all 0.3s ease;
    overflow: hidden;
}

.plan-details.hidden {
    display: none;
    opacity: 0;
    max-height: 0;
    padding: 0;
    margin: 0;
}

.plan-details.active {
    display: block;
    opacity: 1;
    max-height: 1000px;
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        max-height: 0;
        padding: 0;
    }
    to {
        opacity: 1;
        max-height: 1000px;
        padding: 1rem;
    }
}

.plan-details .plan-features {
    margin-bottom: 1rem;
}

.plan-details .plan-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: #059669;
    margin-bottom: 0.5rem;
}

.plan-details .plan-note {
    font-size: 0.875rem;
    color: #059669;
    text-align: center;
    margin-top: 0.5rem;
}

.right-column .info-card {
    margin-top: 1.5rem;
}

/* Styles pour l'encart "Vos informations" en pleine largeur */
.customer-info-section {
    margin-top: 2rem;
    width: 100%;
}

.info-card.full-width {
    width: 100%;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    overflow: hidden;
}

.info-card.full-width .info-card-header {
    background: #f8fafc;
    padding: 1.5rem;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.info-card.full-width .info-icon {
    width: 1.25rem;
    height: 1.25rem;
    color: #3b82f6;
}

.info-card.full-width .info-card-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: #1e293b;
    margin: 0;
}

.info-card.full-width .info-card-content {
    padding: 1.5rem;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
}

.info-grid .info-item {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.info-grid .info-label {
    font-size: 0.875rem;
    font-weight: 500;
    color: #64748b;
}

.info-grid .info-value {
    font-size: 0.875rem;
    color: #1e293b;
    font-weight: 400;
}

.info-grid .info-link {
    font-size: 0.875rem;
    color: #3b82f6;
    text-decoration: none;
    transition: color 0.2s ease;
}

.info-grid .info-link:hover {
    color: #2563eb;
    text-decoration: underline;
}

/* Responsive pour mobile */
@media (max-width: 768px) {
    .customer-info-section {
        margin-top: 1.5rem;
    }
    
    .info-card.full-width .info-card-header,
    .info-card.full-width .info-card-content {
        padding: 1rem;
    }
    
    .info-grid {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
}

/* =================================
/* =================================
   BANDEAU D'ENVIRONNEMENT - VERSION CORRIGÉE
   ================================= */

.environment-banner {
    position: fixed;
    top: 0;
    right: 0;
    z-index: 9999;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 80px 80px 0;
    border-color: transparent var(--banner-color) transparent transparent;
    pointer-events: none;
}

.environment-banner-text {
    position: fixed;
    top: 15px;
    right: 8px;
    color: white;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
    transform: rotate(45deg);
    transform-origin: center;
    white-space: nowrap;
    pointer-events: auto;
    user-select: none;
    z-index: 10000;
    line-height: 1;
}

/* Styles spécifiques par environnement */
.environment-banner.dev {
    --banner-color: #28a745;
}

.environment-banner.preprod {
    --banner-color: #ffc107;
}

.environment-banner.staging {
    --banner-color: #fd7e14;
}

.environment-banner.test {
    --banner-color: #6f42c1;
}

/* Animation subtile au hover */
.environment-banner:hover + .environment-banner-text {
    transform: rotate(45deg) scale(1.1);
    transition: transform 0.2s ease;
}

/* Responsive pour mobile */
@media (max-width: 768px) {
    .environment-banner {
        border-width: 0 60px 60px 0;
    }

    .environment-banner-text {
        top: 12px;
        right: 6px;
        font-size: 9px;
    }
}