* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Segoe UI', Arial, sans-serif; background: #f0f2f5; padding: 20px; }
.container { max-width: 600px; margin: 0 auto; background: white; padding: 30px; border-radius: 10px; box-shadow: 0 2px 10px rgba(0,0,0,0.1); }
h1 { text-align: center; color: #1a73e8; margin-bottom: 20px; }
.stats { display: flex; gap: 15px; margin-bottom: 30px; }
.stat-box { flex: 1; text-align: center; padding: 20px; border-radius: 8px; }
.stat-box.disponible { background: #e8f5e9; color: #2e7d32; }
.stat-box.vendu { background: #e3f2fd; color: #1565c0; }
.stat-number { display: block; font-size: 32px; font-weight: bold; }.stat-label { font-size: 12px; }
form { display: flex; flex-direction: column; gap: 10px; } input, button { padding: 12px; border-radius: 6px; border: 1px solid #ddd; font-size: 16px; }
.btn-vendre { display: block; width: 100%; background: #4caf50; color: white; border: none; cursor: pointer; font-weight: bold; padding: 15px; }.btn-vendre:hover { background: #45a049; }
.codes-panel { margin-top: 18px; padding: 18px; background: #f8fbff; border: 1px solid #d9e8f7; border-radius: 10px; }.hidden { display: none; }.codes-panel h2 { color: #1565c0; margin-bottom: 6px; }.security-note { color: #666; font-size: 13px; margin-bottom: 12px; }.code-list { display: grid; gap: 10px; }.code-card { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px; background: white; border: 1px solid #e0e0e0; border-radius: 8px; }.code-card small { display: block; color: #666; margin-top: 4px; }.btn-sell-small { background: #2196f3; color: white; padding: 9px 14px; text-decoration: none; border-radius: 6px; font-weight: bold; white-space: nowrap; }.btn-sell-small:hover { background: #1565c0; }
.success-box { text-align: center; }.ticket-preview { background: #f9f9f9; border: 2px dashed #ccc; padding: 20px; margin: 20px 0; border-radius: 8px; text-align: left; }.actions { display: flex; gap: 10px; justify-content: center; margin-top: 20px; }.btn-print { background: #2196f3; color: white; padding: 12px 20px; text-decoration: none; border-radius: 6px; }.btn-back { display: inline-block; background: #757575; color: white; padding: 12px 20px; text-decoration: none; border-radius: 6px; margin-top: 15px; }.alert-danger { background: #ffebee; color: #c62828; padding: 15px; border-radius: 6px; text-align: center; }.alert-info { background: #e3f2fd; color: #1565c0; padding: 15px; border-radius: 6px; margin-bottom: 20px; text-align: center; }.nav-links { display: flex; justify-content: space-around; margin-top: 20px; }.nav-links a { color: #1a73e8; text-decoration: none; }.import-section { margin: 20px 0; }.line { border-top: 1px solid #eee; margin: 20px 0; }.table-historique { width: 100%; border-collapse: collapse; font-size: 14px; }.table-historique th, .table-historique td { padding: 8px; text-align: left; border-bottom: 1px solid #eee; }.table-historique th { background: #f5f5f5; }
