/* Variables CSS */
:root {
    --primary: #6366f1;
    --primary-dark: #4f46e5;
    --secondary: #8b5cf6;
    --accent: #06b6d4;
    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;
    --dark: #0f172a;
    --gray-50: #f8fafc;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-300: #cbd5e1;
    --gray-400: #94a3b8;
    --gray-500: #64748b;
    --gray-600: #475569;
    --gray-700: #334155;
    --gray-800: #1e293b;
    --gray-900: #0f172a;
}

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

body {
    font-family: 'Inter', sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    min-height: 100vh;
    padding: 20px;
    color: var(--gray-800);
}

/* Layout principal */
.app {
    max-width: 1400px;
    margin: 0 auto;
}

.header {
    text-align: center;
    margin-bottom: 40px;
}

.header h1 {
    font-size: 3.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, #ffffff, #f8fafc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 12px;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.header p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.2rem;
    font-weight: 500;
}

.main-grid {
    display: grid;
    grid-template-columns: 500px 1fr;
    gap: 24px;
    margin-bottom: 32px;
}

/* Panneaux principaux */
.control-panel {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 24px;
    padding: 24px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    height: fit-content;
    position: sticky;
    top: 20px;
    max-height: calc(100vh - 40px);
    overflow-y: auto;
}

.visualization {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 24px;
    padding: 32px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Sections */
.section {
    margin-bottom: 24px;
}

.section:last-child {
    margin-bottom: 0;
}

.section h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--gray-800);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Formulaires */
.input-group {
    margin-bottom: 20px;
}

.input-group label {
    display: block;
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.input-wrapper {
    position: relative;
}

.input-group input {
    width: 100%;
    padding: 16px 20px;
    border: 2px solid var(--gray-200);
    border-radius: 12px;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s ease;
    background: white;
}

.input-group input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
    transform: translateY(-1px);
}

.input-group input.highlighted {
    border-color: var(--primary);
    background: #f8faff;
    font-weight: 700;
}

.input-suffix {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gray-500);
    font-weight: 600;
    pointer-events: none;
}

.result-field {
    background: var(--gray-50);
    border: 2px solid var(--gray-200);
    color: var(--gray-600);
}

/* Nombres importants */
.big-number {
    font-size: 1.5rem;
    font-weight: 800;
    text-align: center;
    padding: 20px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    border-radius: 16px;
    margin: 16px 0;
    box-shadow: 0 8px 24px rgba(99, 102, 241, 0.3);
}

/* Graphiques */
.chart-container {
    margin-bottom: 32px;
}

.chart-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gray-800);
    margin-bottom: 24px;
    text-align: center;
}

.equity-charts {
    display: grid;
    gap: 24px;
}

.chart-section {
    background: var(--gray-50);
    border-radius: 16px;
    padding: 24px;
    border: 1px solid var(--gray-200);
}

.chart-section h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: 16px;
    text-align: center;
}

.equity-bar {
    height: 60px;
    border-radius: 12px;
    position: relative;
    overflow: hidden;
    margin: 16px 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    background: var(--gray-100);
}

.equity-segment {
    height: 100%;
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
    color: white;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
    transition: all 0.5s ease;
    padding: 0 8px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.shareholder-colors {
    --color-0: linear-gradient(135deg, #667eea, #764ba2);
    --color-1: linear-gradient(135deg, #f093fb, #f5576c);
    --color-2: linear-gradient(135deg, #4facfe, #00f2fe);
    --color-3: linear-gradient(135deg, #fa709a, #fee140);
    --color-4: linear-gradient(135deg, #30cfd0, #330867);
    --color-5: linear-gradient(135deg, #a8edea, #fed6e3);
}

.investor-segment {
    background: linear-gradient(135deg, #f59e0b, #d97706) !important;
}

.investor2-segment {
    background: linear-gradient(135deg, #ef4444, #dc2626) !important;
}

/* Statistiques */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 16px;
    margin-top: 20px;
}

.stat-card {
    background: white;
    padding: 20px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--gray-100);
    transition: transform 0.2s ease;
}

.stat-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.stat-value {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--gray-800);
    margin-bottom: 4px;
}

.stat-label {
    font-size: 0.875rem;
    color: var(--gray-600);
    font-weight: 500;
}

/* Statut de contrôle */
.control-status {
    padding: 20px;
    border-radius: 16px;
    margin-top: 24px;
    text-align: center;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.control-success {
    background: linear-gradient(135deg, #d1fae5, #a7f3d0);
    color: #065f46;
    border: 2px solid #10b981;
}

.control-warning {
    background: linear-gradient(135deg, #fef3cd, #fde68a);
    color: #92400e;
    border: 2px solid #f59e0b;
}

/* Cartes de résumé */
.summary-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    margin-top: 32px;
}

.summary-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 28px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Icônes */
.icon {
    width: 24px;
    height: 24px;
}

/* Scénarios rapides */
.quick-scenarios {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 12px;
    margin-top: 16px;
}

.scenario-btn {
    background: linear-gradient(135deg, var(--gray-100), var(--gray-200));
    border: 2px solid var(--gray-300);
    color: var(--gray-700);
    padding: 12px 8px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.scenario-btn:hover {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    border-color: var(--primary);
    transform: translateY(-2px);
}

/* Actionnaires */
.shareholders-container {
    max-height: 400px;
    overflow-y: auto;
    margin-bottom: 16px;
    padding-right: 8px;
}

.shareholders-container::-webkit-scrollbar {
    width: 8px;
}

.shareholders-container::-webkit-scrollbar-track {
    background: var(--gray-100);
    border-radius: 4px;
}

.shareholders-container::-webkit-scrollbar-thumb {
    background: var(--gray-400);
    border-radius: 4px;
}

.shareholders-container::-webkit-scrollbar-thumb:hover {
    background: var(--gray-500);
}

.shareholder-item {
    display: grid;
    grid-template-columns: 1fr 80px 32px;
    gap: 8px;
    margin-bottom: 8px;
    padding: 12px;
    background: var(--gray-50);
    border-radius: 12px;
    border: 2px solid var(--gray-200);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.shareholder-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: var(--percentage, 0%);
    background: var(--color);
    opacity: 0.1;
    transition: width 0.3s ease;
}

.shareholder-item:hover {
    border-color: var(--primary);
    background: white;
}

.shareholder-item input[type="text"] {
    padding: 10px 12px;
    font-size: 14px;
}

.shareholder-item .percentage-input {
    padding: 10px 8px;
    text-align: center;
    font-size: 14px;
    font-weight: 600;
    width: 80px;
}

.shareholder-item .percentage-input:focus {
    background: var(--gray-50);
}

.percentage-suffix {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gray-500);
    font-size: 14px;
    font-weight: 600;
    pointer-events: none;
}

.shares-count {
    font-size: 0.8rem;
    color: var(--gray-500);
    font-weight: 500;
    text-align: right;
}

/* Sections investisseurs */
.investors-section {
    background: var(--gray-50);
    border-radius: 12px;
    padding: 16px;
    border: 1px solid var(--gray-200);
}

.investors-container {
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-height: 200px;
    overflow-y: auto;
}

.investor-item {
    display: flex;
    gap: 12px;
    align-items: center;
    padding: 12px;
    background: white;
    border-radius: 8px;
    border: 1px solid var(--gray-200);
    transition: all 0.3s ease;
}

.investor-item:hover {
    border-color: var(--primary);
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.investor-item input[type="text"] {
    flex: 1;
    border: none;
    background: transparent;
    font-weight: 500;
    padding: 4px 0;
}

.investor-item input[type="number"] {
    width: 120px;
    border: 1px solid var(--gray-200);
    border-radius: 6px;
    padding: 6px 8px;
    text-align: right;
}

.investor-percentage {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary);
    min-width: 60px;
    text-align: right;
}

/* Scrollbars pour les conteneurs d'investisseurs */
.investors-container::-webkit-scrollbar {
    width: 6px;
}

.investors-container::-webkit-scrollbar-track {
    background: var(--gray-100);
    border-radius: 3px;
}

.investors-container::-webkit-scrollbar-thumb {
    background: var(--gray-300);
    border-radius: 3px;
}

.investors-container::-webkit-scrollbar-thumb:hover {
    background: var(--gray-400);
}

/* Boutons */
.btn-add, .btn-remove {
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-add {
    background: linear-gradient(135deg, var(--success), #059669);
    color: white;
    padding: 12px 24px;
    margin-top: 8px;
    width: auto;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-add:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.btn-small {
    padding: 8px 16px;
    font-size: 0.85rem;
}

.btn-remove {
    background: var(--gray-200);
    color: var(--gray-600);
    padding: 0;
    font-size: 1.2rem;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-remove:hover {
    background: var(--danger);
    color: white;
}

/* Total des actionnaires */
.shareholders-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px;
    background: var(--gray-100);
    border-radius: 12px;
    margin-bottom: 16px;
    font-weight: 600;
    position: relative;
    overflow: hidden;
}

.shareholders-total::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: var(--total-percentage, 100%);
    background: var(--total-color, #10b981);
    opacity: 0.15;
    transition: all 0.3s ease;
}

.total-badge {
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 1.1rem;
}

.total-valid {
    background: linear-gradient(135deg, #d1fae5, #a7f3d0);
    color: #065f46;
}

.total-invalid {
    background: linear-gradient(135deg, #fee2e2, #fecaca);
    color: #991b1b;
}

.normalize-btn {
    background: var(--primary);
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.normalize-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
}

/* Séparateur */
.divider {
    height: 1px;
    background: var(--gray-200);
    margin: 20px 0;
}

/* Groupes radio */
.radio-group {
    display: flex;
    gap: 16px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.radio-label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-weight: 500;
    color: var(--gray-700);
    min-width: fit-content;
    white-space: nowrap;
}

.radio-label input[type="radio"] {
    width: auto;
    margin: 0;
}

/* Sélecteur de rounds */
.round-selector {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
    justify-content: center;
}

.round-btn {
    padding: 12px 24px;
    border: 2px solid var(--gray-300);
    background: white;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.round-btn.active {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    border-color: var(--primary);
}

.round-btn:hover:not(.active) {
    border-color: var(--primary);
    background: var(--gray-50);
}

.disabled-section {
    opacity: 0.5;
    pointer-events: none;
}

/* Animations */
.animate-in {
    animation: slideInUp 0.6s ease-out;
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 1200px) {
    .main-grid {
        grid-template-columns: 450px 1fr;
        gap: 20px;
    }
}

@media (max-width: 1024px) {
    .main-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .control-panel {
        position: static;
        max-height: none;
    }
    
    .header h1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .summary-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .radio-group {
        flex-direction: column;
        gap: 8px;
    }
    
    .quick-scenarios {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Styles pour l'intégration du wizard */
.wizard-info-banner {
    background: linear-gradient(135deg, #f0f9ff, #e0f2fe);
    border: 2px solid var(--primary);
    border-radius: 16px;
    margin-bottom: 24px;
    padding: 0;
    overflow: hidden;
}

.wizard-info-content {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
}

.wizard-info-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.wizard-info-content > div {
    flex: 1;
}

.wizard-info-content strong {
    color: var(--primary);
    display: block;
    margin-bottom: 4px;
}

.wizard-info-content p {
    color: var(--gray-600);
    margin: 0;
    font-size: 0.9rem;
}

.wizard-restart-btn {
    background: var(--primary);
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.wizard-restart-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
}

.wizard-welcome-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    animation: fadeIn 0.3s ease;
}

.wizard-welcome-content {
    background: white;
    border-radius: 20px;
    padding: 32px;
    max-width: 500px;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: slideInUp 0.4s ease;
}

.wizard-welcome-content h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--gray-800);
    margin-bottom: 16px;
}

.wizard-welcome-content p {
    color: var(--gray-600);
    line-height: 1.6;
    margin-bottom: 24px;
}

.wizard-welcome-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
}

.btn-primary, .btn-secondary {
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}

.btn-secondary {
    background: var(--gray-100);
    color: var(--gray-700);
    border: 1px solid var(--gray-300);
}

.btn-secondary:hover {
    background: var(--gray-200);
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.config-summary {
    background: linear-gradient(135deg, #f0f9ff, #e0f2fe);
    border: 1px solid var(--primary);
    border-radius: 8px;
    padding: 16px;
    margin: 16px 0;
    color: var(--gray-700);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Interface guidée simplifiée */
.guided-control-panel {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 24px;
    padding: 32px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    margin-bottom: 32px;
}

.guided-info-banner {
    background: linear-gradient(135deg, #f0f9ff, #e0f2fe);
    border: 2px solid var(--primary);
    border-radius: 16px;
    margin-bottom: 32px;
    padding: 0;
    overflow: hidden;
}

.guided-info-content {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 24px;
}

.guided-info-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.guided-info-content > div {
    flex: 1;
}

.guided-info-content h3 {
    color: var(--primary);
    margin: 0 0 4px 0;
    font-size: 1.2rem;
}

.guided-info-content p {
    color: var(--gray-600);
    margin: 0;
    font-size: 0.9rem;
}

.guided-restart-btn {
    background: var(--primary);
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.guided-restart-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
}

.guided-sections {
    display: grid;
    gap: 24px;
    margin-bottom: 32px;
}

.guided-section {
    background: var(--gray-50);
    border-radius: 16px;
    padding: 24px;
    border: 1px solid var(--gray-200);
}

.guided-section h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--gray-800);
    margin: 0 0 16px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.guided-shareholders {
    margin-bottom: 16px;
}

.guided-shareholder-item {
    background: white;
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 8px;
    border: 1px solid var(--gray-200);
}

.guided-shareholder-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.guided-shareholder-name {
    font-weight: 600;
    color: var(--gray-800);
}

.guided-shareholder-values {
    display: flex;
    gap: 12px;
    align-items: center;
}

.guided-percentage {
    font-weight: 700;
    color: var(--primary);
    font-size: 1.1rem;
}

.guided-shares {
    font-size: 0.9rem;
    color: var(--gray-500);
}

.guided-funding-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
    margin-bottom: 16px;
}

.guided-funding-item {
    background: white;
    border-radius: 12px;
    padding: 16px;
    border: 1px solid var(--gray-200);
    text-align: center;
}

.guided-funding-item label {
    display: block;
    font-size: 0.9rem;
    color: var(--gray-600);
    margin-bottom: 8px;
}

.guided-value {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary);
}

.guided-input-group {
    background: white;
    border-radius: 12px;
    padding: 16px;
    border: 1px solid var(--gray-200);
}

.guided-input-group label {
    display: block;
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: 8px;
}

.guided-input-group input {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--gray-200);
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
}

.guided-input-group input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.guided-edit-btn {
    background: var(--gray-200);
    color: var(--gray-700);
    border: none;
    padding: 10px 16px;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.guided-edit-btn:hover {
    background: var(--gray-300);
    transform: translateY(-1px);
}

.guided-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.guided-action-btn {
    padding: 16px 24px;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 200px;
    justify-content: center;
}

.guided-action-btn.primary {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    box-shadow: 0 4px 16px rgba(99, 102, 241, 0.3);
}

.guided-action-btn.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(99, 102, 241, 0.4);
}

.guided-action-btn.secondary {
    background: var(--gray-100);
    color: var(--gray-700);
    border: 2px solid var(--gray-300);
}

.guided-action-btn.secondary:hover {
    background: var(--gray-200);
    border-color: var(--gray-400);
}

/* Sections d'édition de l'interface guidée */
.guided-edit-section {
    margin-top: 16px;
    padding: 16px;
    background: white;
    border-radius: 12px;
    border: 1px solid var(--gray-200);
}

.input-with-suffix-guided {
    display: flex;
    align-items: center;
    background: white;
    border: 2px solid var(--gray-200);
    border-radius: 8px;
    overflow: hidden;
    transition: border-color 0.3s ease;
}

.input-with-suffix-guided:focus-within {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.input-with-suffix-guided input {
    flex: 1;
    border: none;
    padding: 10px 12px;
    font-size: 16px;
    font-weight: 600;
    outline: none;
    background: transparent;
}

.input-with-suffix-guided span {
    padding: 10px 12px;
    background: var(--gray-50);
    color: var(--gray-600);
    font-weight: 600;
    border-left: 1px solid var(--gray-200);
    font-size: 14px;
}

.guided-funding-form {
    display: grid;
    gap: 16px;
}

.guided-add-btn {
    background: linear-gradient(135deg, var(--success), #059669);
    color: white;
    border: none;
    padding: 10px 16px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 0.9rem;
}

.guided-add-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.guided-shareholder-edit-item {
    display: grid;
    grid-template-columns: 1fr auto auto;
    gap: 12px;
    align-items: center;
    padding: 12px;
    background: var(--gray-50);
    border-radius: 8px;
    margin-bottom: 8px;
    border: 1px solid var(--gray-200);
}

.guided-shareholder-name-input {
    padding: 8px 12px;
    border: 1px solid var(--gray-300);
    border-radius: 6px;
    font-weight: 500;
    width: 100%;
}

.guided-shareholder-name-input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 2px rgba(99, 102, 241, 0.1);
}

.guided-shareholder-values-edit {
    display: flex;
    align-items: center;
    gap: 12px;
}

.guided-shares-display {
    font-size: 0.85rem;
    color: var(--gray-500);
    white-space: nowrap;
}

.guided-remove-btn {
    background: var(--gray-200);
    color: var(--gray-600);
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 6px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    transition: all 0.2s ease;
}

.guided-remove-btn:hover {
    background: var(--danger);
    color: white;
}