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

body {
    font-family: 'Inter', 'Roboto', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    color: #1e293b;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Animations simples */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fadeInUp {
    animation: fadeInUp 0.3s ease-out;
}

/* Variables CSS */
:root {
    --primary-color: #374151;
    --secondary-color: #6b7280;
    --accent-color: #9ca3af;
    --success-color: #059669;
    --danger-color: #dc2626;
    --warning-color: #d97706;
    --dark-color: #1f2937;
    --light-color: #ffffff;
    --gray-color: #6b7280;
    --border-color: #e5e7eb;
    --sidebar-width: 260px;
    --header-height: 70px;
    --gradient-primary: linear-gradient(135deg, #f3f4f6 0%, #e5e7eb 100%);
    --gradient-secondary: linear-gradient(135deg, #9ca3af 0%, #6b7280 100%);
    --gradient-success: linear-gradient(135deg, #059669 0%, #047857 100%);
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.03);
    --shadow-md: 0 2px 4px -1px rgba(0, 0, 0, 0.06), 0 1px 2px -1px rgba(0, 0, 0, 0.04);
    --shadow-lg: 0 6px 10px -2px rgba(0, 0, 0, 0.06), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    --shadow-xl: 0 12px 20px -3px rgba(0, 0, 0, 0.06), 0 6px 8px -3px rgba(0, 0, 0, 0.02);
}

/* Page de connexion */
.login-page {
    background: var(--gradient-primary);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    position: relative;
    overflow: hidden;
}



.login-container {
    width: 100%;
    max-width: 400px;
}

.login-card {
    background: var(--light-color);
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    padding: 30px;
    text-align: center;
    border: 1px solid var(--border-color);
    position: relative;
    z-index: 10;
}



.login-header {
    margin-bottom: 30px;
}

.logo {
    width: 120px;
    height: 120px;
    margin-bottom: 15px;
    border-radius: 12px;
    background: var(--gradient-secondary);
    padding: 12px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
}

.login-header h1 {
    color: var(--primary-color);
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 5px;
}

.login-header p {
    color: var(--gray-color);
    font-size: 14px;
}

/* Formulaires */
.form-group {
    margin-bottom: 20px;
    text-align: left;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--primary-color);
}

.form-group label i {
    margin-right: 8px;
    color: var(--secondary-color);
}

input[type="text"],
input[type="email"],
input[type="password"],
input[type="file"],
select,
textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 14px;
    transition: border-color 0.3s ease;
}

input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: var(--secondary-color);
}

/* Boutons */
.btn {
    display: inline-block;
    padding: 10px 20px;
    border: none;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    text-align: center;
    cursor: pointer;
    line-height: 1;
}

.btn i {
    margin-right: 8px;
}

.btn-primary {
    background: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background: #4b5563;
}

.btn-secondary {
    background: var(--secondary-color);
    color: white;
}

.btn-secondary:hover {
    background: #0891b2;
}

.btn-full {
    width: 100%;
}

.btn-sm {
    padding: 8px 16px;
    font-size: 12px;
}

/* Alertes */
.alert {
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
}

.alert i {
    margin-right: 10px;
}

.alert-success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert-error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Dashboard Layout */
.dashboard-container {
    display: flex;
    min-height: 100vh;
}

/* Modern About Page Styles */
.hero-icon {
    position: relative;
    display: inline-block;
}

.icon-circle {
    width: 120px;
    height: 120px;
    background: var(--secondary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.pdf-icon-container-centered {
    position: relative;
    display: inline-block;
}

.pdf-icon-bg-centered {
    width: 100px;
    height: 100px;
    background: #e74c3c;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.detail-card {
    background: white;
    border-radius: 8px;
    padding: 20px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    border-top: 4px solid var(--secondary-color);
}

.detail-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    position: relative;
}

.detail-header i {
    font-size: 18px;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    margin-right: 12px;
    position: relative;
}

.detail-header .fa-building {
    background: var(--primary-color);
    color: white;
    box-shadow: var(--shadow-sm);
}

.detail-header .fa-shield-alt {
    background: var(--success-color);
    color: white;
    box-shadow: var(--shadow-sm);
}

.detail-header .fa-lock {
    background: #f39c12;
    color: white;
}

.detail-header .fa-chart-line {
    background: #9b59b6;
    color: white;
}

.detail-header .fa-handshake {
    background: #1abc9c;
    color: white;
}

.detail-header .fa-graduation-cap {
    background: #e74c3c;
    color: white;
}

.detail-content {
    line-height: 1.8;
    color: #555;
}

.detail-content p {
    margin-bottom: 15px;
}

.product-item {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    background: #f8f9fa;
    border-radius: 10px;
    border-left: 4px solid var(--secondary-color);
}

.product-item:hover {
    background: #e9ecef;
}

.product-item i {
    font-size: 18px;
    margin-right: 12px;
    transition: all 0.3s ease;
}

.service-list {
    list-style: none;
    padding: 0;
}

.service-list li {
    position: relative;
    padding: 12px 0 12px 30px;
    margin-bottom: 8px;
}

.service-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 12px;
    width: 20px;
    height: 20px;
    background: var(--success-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
}

/* Enhanced buttons */
.btn-outline-primary {
    border: 2px solid var(--secondary-color);
    color: var(--secondary-color);
    background: transparent;
}

.btn-outline-primary:hover {
    color: white;
    background: var(--secondary-color);
    border-color: var(--secondary-color);
}



/* Enhanced card shadows and effects */
.card {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
}

.info-note-centered {
    border-top: 2px solid var(--secondary-color);
    padding-top: 15px;
}

/* Sidebar Styles - Design unifié basé sur Analyses du jour */
.sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: 280px;
    height: 100vh;
    background: var(--primary-color);
    color: white;
    overflow-y: auto;
    z-index: 1000;
    box-shadow: 4px 0 15px rgba(0,0,0,0.1);
}

.sidebar-header {
    padding: 2rem 1.5rem;
    text-align: center;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    background: rgba(255,255,255,0.05);
}

.sidebar-logo {
    width: 100px;
    height: 100px;
    margin: 0 auto 1rem;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.sidebar-logo img {
    width: 80px;
    height: 80px;
    object-fit: contain;
}

.sidebar-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.2rem;
    color: white;
}

.sidebar-subtitle {
    font-size: 0.9rem;
    opacity: 0.8;
    color: #e8f4fd;
}

.sidebar-nav {
    padding: 1rem 0;
}

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

.nav-section-title {
    padding: 0.5rem 1.5rem;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #a8c5e8;
    margin-bottom: 0.5rem;
}

.nav-item {
    display: block;
    padding: 0.8rem 1.5rem;
    color: #e8f4fd;
    text-decoration: none;
    border-left: 3px solid transparent;
}

.nav-item:hover {
    background: rgba(255,255,255,0.1);
    border-left-color: white;
}

.nav-item.active {
    background: rgba(255,255,255,0.15);
    border-left-color: #4fc3f7;
    color: white;
}

.nav-item-content {
    display: flex;
    align-items: center;
    position: relative;
    z-index: 2;
}

.nav-item-icon {
    margin-right: 0.8rem;
    font-size: 1.1rem;
    width: 20px;
    text-align: center;
}

.nav-item-text {
    font-size: 0.95rem;
}

/* Mobile sidebar toggle */
.sidebar-toggle {
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 1001;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 8px;
    padding: 0.8rem;
    cursor: pointer;
    display: none;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

/* Legacy support for old class names */
.nav-link {
    display: flex;
    align-items: center;
    padding: 0.8rem 1.5rem;
    color: #e8f4fd;
    text-decoration: none;
    border-left: 3px solid transparent;
}

.nav-link:hover {
    color: white;
    border-left-color: #4fc3f7;
    background: rgba(255,255,255,0.1);
}

.nav-link.active {
    background: rgba(255,255,255,0.15);
    border-left-color: #4fc3f7;
    color: white;
    font-weight: 600;
}

.nav-link i {
    margin-right: 0.8rem;
    font-size: 1.1rem;
    width: 20px;
    text-align: center;
}

.nav-title {
    padding: 0.5rem 1.5rem;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #a8c5e8;
    margin-bottom: 0.5rem;
}

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

.sidebar-nav ul {
    list-style: none;
    padding: 0;
}

.sidebar-header h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.2rem;
    color: white;
}

/* Main Content */
.main-content {
    margin-left: 280px;
    flex: 1;
    background-color: #f8f9fa;
    transition: margin-left 0.3s ease;
}

/* Sidebar Overlay for Mobile */
.sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.sidebar-overlay.active {
    opacity: 1;
    visibility: visible;
}

.dashboard-header {
    background: white;
    padding: 15px 25px;
    border-bottom: 1px solid var(--border-color);
    border-top: 2px solid var(--primary-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: var(--shadow-sm);
}

.header-left h1 {
    color: var(--primary-color);
    font-size: 22px;
    font-weight: 500;
    margin-bottom: 3px;
}

.header-left p {
    color: var(--gray-color);
    font-size: 14px;
}

.user-info {
    display: flex;
    align-items: center;
    color: var(--primary-color);
    font-weight: 500;
}

.user-info i {
    margin-left: 10px;
    font-size: 24px;
    color: var(--secondary-color);
}

/* Market Tabs */
.market-tabs {
    background-color: white;
    padding: 0 30px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    gap: 0;
}

.tab-btn {
    padding: 12px 20px;
    border: none;
    background: none;
    color: var(--gray-color);
    font-weight: 400;
    cursor: pointer;
    border-bottom: 2px solid transparent;
    transition: all 0.2s ease;
}

.tab-btn:hover {
    color: var(--primary-color);
}

.tab-btn.active {
    color: var(--secondary-color);
    border-bottom-color: var(--secondary-color);
}

/* Market Content */
.market-content {
    padding: 20px;
}

.market-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 20px;
}

/* Market Cards */
.market-card {
    background: white;
    border-radius: 8px;
    padding: 18px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    border-top: 3px solid var(--secondary-color);
}

.market-card:hover {
    box-shadow: var(--shadow-md);
}

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

.pair-name {
    font-size: 18px;
    font-weight: 600;
    color: var(--primary-color);
}

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

.current-price {
    display: block;
    font-size: 20px;
    font-weight: 600;
    color: var(--primary-color);
}

.price-change {
    font-size: 12px;
    font-weight: 500;
    padding: 2px 6px;
    border-radius: 4px;
}

.price-change.up {
    color: var(--success-color);
    background-color: rgba(39, 174, 96, 0.1);
}

.price-change.down {
    color: var(--danger-color);
    background-color: rgba(231, 76, 60, 0.1);
}

/* Chart Container */
.chart-container {
    margin: 15px 0;
    height: 60px;
    background-color: #f8f9fa;
    border-radius: 8px;
    overflow: hidden;
}

.mini-chart {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
}

/* Analysis Data */
.analysis-data {
    border-top: 1px solid var(--border-color);
    padding-top: 15px;
}

.data-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.data-row:last-child {
    margin-bottom: 0;
}

.label {
    font-size: 13px;
    color: var(--gray-color);
    font-weight: 500;
}

.value {
    font-size: 13px;
    font-weight: 600;
    color: var(--primary-color);
}

.movement {
    display: flex;
    align-items: center;
    gap: 5px;
}

.movement.up {
    color: var(--success-color);
}

.movement.down {
    color: var(--danger-color);
}

.time {
    color: var(--gray-color);
    font-weight: 400;
}

/* Coming Soon */
.coming-soon {
    text-align: center;
    padding: 80px 20px;
    color: var(--gray-color);
    background: #f8fafc;
    border-radius: 20px;
    margin: 20px;
    box-shadow: var(--shadow-md);
}

.coming-soon i {
    font-size: 48px;
    margin-bottom: 20px;
    color: var(--secondary-color);
}

.coming-soon h3 {
    font-size: 28px;
    margin-bottom: 15px;
    color: var(--primary-color);
}

/* Documents */
.documents-container {
    padding: 30px;
}

.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: var(--gray-color);
}

.empty-state i {
    font-size: 64px;
    margin-bottom: 20px;
    color: var(--secondary-color);
}

.empty-state h3 {
    font-size: 24px;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.documents-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
}

.documents-header h2 {
    color: var(--primary-color);
    font-size: 24px;
}

.documents-stats {
    display: flex;
    gap: 20px;
}

.stat {
    display: flex;
    align-items: center;
    color: var(--gray-color);
    font-size: 14px;
}

.stat i {
    margin-right: 8px;
    color: var(--secondary-color);
}

.documents-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.document-card {
    background: white;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
}

.document-card:hover {
    box-shadow: var(--shadow-md);
}

.document-icon {
    text-align: center;
    margin-bottom: 15px;
}

.document-icon i {
    font-size: 32px;
}

.text-red { color: #e74c3c; }
.text-blue { color: #3498db; }
.text-green { color: #27ae60; }
.text-purple { color: #9b59b6; }
.text-gray { color: #95a5a6; }

.document-info {
    flex: 1;
    margin-bottom: 15px;
}

.document-name {
    font-size: 16px;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 8px;
    word-break: break-word;
}

.document-description {
    font-size: 14px;
    color: var(--gray-color);
    margin-bottom: 10px;
    line-height: 1.4;
}

.document-meta {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: var(--gray-color);
}

.document-meta span {
    display: flex;
    align-items: center;
}

.document-meta i {
    margin-right: 5px;
}

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

/* Administration */
.admin-container {
    min-height: 100vh;
    background-color: #f8f9fa;
}

.admin-header {
    background-color: var(--primary-color);
    color: white;
    padding: 20px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.admin-header h1 {
    font-size: 24px;
    font-weight: 600;
}

.admin-nav {
    display: flex;
    gap: 15px;
}

.admin-content {
    padding: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.upload-section,
.register-section {
    background: white;
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.upload-section h2,
.register-section h2 {
    color: var(--primary-color);
    margin-bottom: 20px;
    font-size: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.upload-form,
.register-form {
    max-width: 600px;
}

.recent-documents,
.clients-list {
    background: white;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.documents-table,
.clients-table {
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

th,
td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

th {
    background-color: #f8f9fa;
    font-weight: 600;
    color: var(--primary-color);
}

tr:hover {
    background-color: #f8f9fa;
}

.status {
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
}

.status.active {
    background-color: rgba(39, 174, 96, 0.1);
    color: var(--success-color);
}

.status.inactive {
    background-color: rgba(231, 76, 60, 0.1);
    color: var(--danger-color);
}

.text-muted {
    color: var(--gray-color);
}

.link {
    color: var(--secondary-color);
    text-decoration: none;
}

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

.login-footer {
    margin-top: 30px;
    text-align: center;
}

.login-footer p {
    margin-bottom: 10px;
}

/* Menu toggle button for mobile - Legacy support */
.menu-toggle {
    display: none;
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 1001;
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    color: white;
    border: none;
    border-radius: 8px;
    padding: 0.8rem;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
}

.menu-toggle:hover {
    transform: scale(1.05);
}

/* Responsive */
@media (max-width: 1024px) {
    .vault-dashboard {
        padding: 20px 15px;
    }
    
    .vault-header {
        flex-direction: column;
        gap: 20px;
    }
    
    .plans-table-container {
        overflow-x: auto;
    }
    
    .plans-table {
        min-width: 800px;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .sidebar {
        transform: translateX(-100%);
    }
    
    .sidebar.mobile-open {
        transform: translateX(0);
    }
    
    .sidebar-toggle {
        display: block;
    }
    
    .menu-toggle {
        display: block;
    }
    
    .main-content {
        margin-left: 0;
        padding-top: 60px;
    }
    
    .dashboard-header {
        padding: 15px 20px;
        margin-left: 0;
    }
    
    .welcome-section {
        padding: 15px;
        margin-bottom: 20px;
    }
    
    .welcome-title {
        font-size: 24px;
    }
    
    .welcome-subtitle {
        font-size: 14px;
    }
    
    .hero-illustration {
        width: 120px;
        height: 80px;
        top: 10px;
        right: 10px;
    }
    
    .vault-dashboard {
        padding: 15px;
        margin: 15px;
    }
    
    .vault-title {
        font-size: 24px;
        margin-bottom: 20px;
    }
    
    .vault-header {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .portfolio-info {
        flex-direction: column;
        gap: 10px;
    }
    
    .portfolio-number-container,
    .account-type-container {
        justify-content: center;
        text-align: center;
    }
    
    .balance-display {
        margin-top: 15px;
    }
    
    .balance-amount {
        font-size: 28px;
    }
    
    .performance-display {
        margin-top: 8px;
    }
    
    .performance-label {
        font-size: 14px;
        color: #6c757d;
        margin-right: 5px;
    }
    
    .performance-value {
        font-size: 16px;
        font-weight: 600;
    }
    
    .market-content {
        padding: 15px;
    }
    
    .market-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .documents-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .admin-header {
        padding: 15px 20px;
        flex-direction: column;
        gap: 15px;
    }
    
    .admin-content {
        padding: 15px;
    }
    
    .plans-comparison-section {
        padding: 15px;
        margin-top: 30px;
    }
    
    .section-title {
        font-size: 24px;
    }
    
    .section-subtitle {
        font-size: 14px;
    }
    
    .plans-table-container {
        margin: 0 -15px;
        padding: 0 15px;
        overflow-x: auto;
    }
    
    .plans-table {
        min-width: 700px;
        font-size: 14px;
    }
    
    .plan-header h4 {
        font-size: 16px;
    }
    
    .plan-price {
        font-size: 18px;
    }
    
    .feature-header h4 {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .sidebar {
        width: 100%;
    }
    
    .sidebar-toggle {
        top: 15px;
        left: 15px;
    }
    
    .menu-toggle {
        top: 15px;
        left: 15px;
    }
    
    .login-card {
        padding: 30px 20px;
    }
    
    .market-tabs {
        padding: 0 20px;
        overflow-x: auto;
    }
    
    .tab-btn {
        white-space: nowrap;
        min-width: 120px;
    }
}

/* Bouton de plateforme de trading - Version simplifiée */
.btn-trading-platform {
    background: #28a745 !important;
    color: white !important;
    border: 2px solid #28a745 !important;
    padding: 20px 40px !important;
    border-radius: 8px !important;
    font-weight: bold !important;
    font-size: 18px !important;
    text-decoration: none !important;
    display: inline-block !important;
    text-align: center !important;
    margin: 20px 0 !important;
    min-width: 300px !important;
}

.btn-trading-platform:hover {
    background: #218838 !important;
    border-color: #218838 !important;
    color: white !important;
    text-decoration: none !important;
}

.btn-trading-platform.btn-lg {
    padding: 22px 45px !important;
    font-size: 20px !important;
    min-width: 350px !important;
}

.trading-platform-access {
    text-align: center !important;
    margin: 30px 0 !important;
    padding: 20px !important;
    background: rgba(40, 167, 69, 0.1) !important;
    border-radius: 10px !important;
    border: 1px solid rgba(40, 167, 69, 0.2) !important;
}

@media (max-width: 768px) {
    .btn-trading-platform {
        font-size: 16px !important;
        padding: 18px 30px !important;
        min-width: 280px !important;
    }
    
    .btn-trading-platform.btn-lg {
        font-size: 18px !important;
        padding: 20px 35px !important;
        min-width: 300px !important;
    }
    
    .trading-platform-access {
        margin: 20px 0 !important;
        padding: 15px !important;
    }
}

/* Styles pour la section Données sectorielles */
.etf-sector-data {
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.sector-section {
    padding: 20px;
    border-radius: 8px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
}

/* Actualités défense */
.news-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.news-item {
    background: white;
    padding: 16px;
    border-radius: 8px;
    border-left: 4px solid #10b981;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.news-header {
    display: flex;
    justify-content: between;
    align-items: center;
    margin-bottom: 8px;
}

.news-badge {
    font-size: 0.75rem;
    padding: 4px 8px;
    border-radius: 4px;
    color: white;
    font-weight: 600;
}

.news-time {
    font-size: 0.75rem;
    color: #6b7280;
    margin-left: auto;
}

.news-content {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.5;
    color: #374151;
}

/* Calendrier des résultats */
.earnings-calendar {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.earnings-item {
    display: flex;
    align-items: center;
    background: white;
    padding: 16px;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.earnings-date {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: #3b82f6;
    color: white;
    padding: 8px 12px;
    border-radius: 6px;
    margin-right: 16px;
    min-width: 60px;
}

.date-day {
    font-size: 1.2rem;
    font-weight: 700;
    line-height: 1;
}

.date-month {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.earnings-company {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.earnings-type {
    font-size: 0.8rem;
    color: #6b7280;
}

.earnings-estimate {
    color: #10b981;
    font-weight: 600;
    font-size: 0.9rem;
}

/* Analyse géopolitique */
.geopolitical-analysis {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.analysis-card {
    background: white;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.analysis-header {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
}

.analysis-title {
    font-weight: 600;
    color: #374151;
}

.analysis-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.analysis-list li {
    padding: 6px 0;
    font-size: 0.9rem;
    color: #4b5563;
    border-bottom: 1px solid #f3f4f6;
}

.analysis-list li:last-child {
    border-bottom: none;
}

.budget-stats {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

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

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

.budget-country {
    font-weight: 500;
    color: #374151;
}

.budget-amount {
    color: #10b981;
    font-weight: 600;
    font-size: 0.9rem;
}

/* Responsive pour données sectorielles */
@media (max-width: 768px) {
    .geopolitical-analysis {
        grid-template-columns: 1fr;
    }
    
    .earnings-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    
    .earnings-date {
        margin-right: 0;
        align-self: flex-start;
    }
    
    .news-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .news-time {
        margin-left: 0;
    }
}