/* ========================================
   VARIABLES CSS - THÈME VERT
   ======================================== */
:root {
  --primary-green: #10A37F;
  --dark-green: #0D8F6F;
  --darker-green: #064F3C;
  --light-green: #E8F7F3;
  --lighter-green: #F6FFF9;
  --accent-green: #8FD9C6;
  --text-primary: #043a2b;
  --text-secondary: #4A7766;
  --text-light: #666;
  --shadow-color: rgba(16, 163, 127, 0.15);
  --shadow-hover: rgba(16, 163, 127, 0.25);
  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-fast: all 0.2s ease;
}

/* ========================================
   RESET & BASE STYLES
   ======================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-primary);
  background-color: #ffffff;
  overflow-x: hidden;
}

/* ========================================
   CONTAINER & LAYOUT
   ======================================== */
.histoire-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 24px 80px;
}

/* ========================================
   HEADER SECTION
   ======================================== */
.histoire-header {
  text-align: center;
  margin-bottom: 80px;
  animation: fadeInDown 0.8s ease;
}

.histoire-title {
  font-size: clamp(28px, 5vw, 48px);
  font-weight: 600;
  color: var(--primary-green);
  margin-bottom: 16px;
  line-height: 1.2;
}

.histoire-subtitle {
  font-size: clamp(14px, 2vw, 16px);
  color: var(--text-light);
  line-height: 1.6;
  max-width: 700px;
  margin: 0 auto;
}

/* ========================================
   TIMELINE STYLES
   ======================================== */
.timeline {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
  padding: 40px 0;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(to bottom, var(--primary-green) 0%, var(--accent-green) 100%);
}

.timeline-item {
  position: relative;
  margin-bottom: 120px;
}

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

.timeline-marker {
  position: absolute;
  left: 50%;
  top: 40px;
  transform: translateX(-50%);
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background-color: var(--primary-green);
  border: 4px solid var(--light-green);
  z-index: 10;
  box-shadow: 0 0 0 8px rgba(16, 163, 127, 0.1);
  transition: var(--transition-smooth);
}

.timeline-marker:hover {
  width: 20px;
  height: 20px;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% {
    box-shadow: 0 0 0 8px rgba(16, 163, 127, 0.1);
  }
  50% {
    box-shadow: 0 0 0 16px rgba(16, 163, 127, 0.1);
  }
}

.timeline-content {
  position: relative;
  width: 48%;
}

.timeline-content.left {
  margin-right: auto;
  padding-right: 60px;
}

.timeline-content.right {
  margin-left: auto;
  padding-left: 60px;
}

/* ========================================
   TIMELINE CARDS
   ======================================== */
.timeline-card {
  background: linear-gradient(135deg, var(--light-green) 0%, #D4F0E9 100%);
  border-radius: 16px;
  padding: 32px;
  box-shadow: 0 4px 20px var(--shadow-color);
  position: relative;
  transition: var(--transition-smooth);
  opacity: 0;
  transform: translateY(30px);
}

.timeline-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px var(--shadow-hover);
}

.card-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}

.card-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--primary-green) 0%, var(--dark-green) 100%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(16, 163, 127, 0.3);
  transition: var(--transition-smooth);
}

.timeline-card:hover .card-icon {
  transform: rotate(5deg) scale(1.05);
}

.card-year-label {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

/* Thumbnail next to year/type */
.card-year-thumb {
  display: flex;
  align-items: center;
  margin-left: 12px;
}

.event-thumb {
  width: 100%;
  height: 50%;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(6,79,60,0.12);
  flex-shrink: 0;
}

.year-number {
  font-size: clamp(24px, 4vw, 28px);
  font-weight: 700;
  color: var(--primary-green);
  line-height: 1;
}

.year-badge {
  font-size: 12px;
  font-weight: 600;
  color: var(--dark-green);
  background-color: rgba(16, 163, 127, 0.15);
  padding: 3px 10px;
  border-radius: 12px;
  display: inline-block;
  width: fit-content;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.card-title {
  font-size: clamp(18px, 3vw, 20px);
  font-weight: 600;
  color: var(--primary-green);
  margin-bottom: 16px;
  line-height: 1.3;
}

.card-description {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 20px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  position: relative;
  max-width: 100%;
}

.card-description::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 40px;
  background: linear-gradient(180deg, rgba(212,240,233,0) 0%, rgba(16,163,127,0.12) 100%);
  pointer-events: none;
}

.card-footer {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--dark-green);
  font-size: 14px;
  flex-wrap: wrap;
}

.card-footer svg {
  width: 16px;
  height: 16px;
  color: var(--dark-green);
}

.card-date {
  font-weight: 500;
}

.timeline-year-bg {
  position: absolute;
  font-size: clamp(80px, 15vw, 180px);
  font-weight: 900;
  color: rgba(16, 163, 127, 0.05);
  z-index: -1;
  -webkit-user-select: none;
  user-select: none;
  pointer-events: none;
  line-height: 1;
}

.timeline-content.left .timeline-year-bg {
  right: -100px;
  top: -20px;
}

.timeline-content.right .timeline-year-bg {
  left: -100px;
  top: -20px;
}

/* ========================================
   VOIR PLUS BUTTON
   ======================================== */
.voir-plus-link,
button.voir-plus-link,
.btn-plain.voir-plus-link {
  color: var(--primary-green);
  text-decoration: none;
  font-weight: 600;
  background: transparent;
  border: none;
  padding: 8px 16px;
  font: inherit;
  cursor: pointer;
  border-radius: 8px;
  transition: var(--transition-fast);
  position: relative;
  overflow: hidden;
}

.voir-plus-link::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--primary-green);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.voir-plus-link:hover::before {
  transform: scaleX(1);
}

.voir-plus-link:hover {
  color: var(--dark-green);
  background: rgba(16, 163, 127, 0.08);
}

.voir-plus-link:focus {
  outline: 3px solid rgba(16, 163, 127, 0.3);
  outline-offset: 3px;
  border-radius: 8px;
}

/* ========================================
   STATS SECTION
   ======================================== */
.stats-container {
  width: 100%;
  max-width: 1400px;
  margin: 80px auto 0;
  padding: 0 20px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.stat-card {
  background: white;
  border-radius: 16px;
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  transition: var(--transition-smooth);
  border: 1px solid #f0f0f0;
  animation: fadeInUp 0.6s ease backwards;
}

.stat-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 8px 24px var(--shadow-color);
  border-color: var(--primary-green);
}

.stat-icon {
  width: 72px;
  height: 72px;
  background: linear-gradient(135deg, var(--primary-green) 0%, var(--dark-green) 100%);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(16, 163, 127, 0.3);
  transition: var(--transition-smooth);
}

.stat-card:hover .stat-icon {
  transform: scale(1.1) rotate(5deg);
}

.stat-icon svg {
  width: 32px;
  height: 32px;
}

.stat-number {
  font-size: clamp(40px, 8vw, 56px);
  font-weight: 700;
  color: var(--primary-green);
  line-height: 1;
  transition: var(--transition-smooth);
}

.stat-card:hover .stat-number {
  transform: scale(1.1);
}

.stat-label {
  font-size: clamp(16px, 2vw, 18px);
  font-weight: 500;
  color: var(--text-light);
  text-align: center;
  line-height: 1.4;
}

/* ========================================
   FLOAT PANEL - LIVRE MODERNE
   ======================================== */
.float-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1100;
  padding: 20px;
  animation: fadeIn 0.3s ease;
}

.float-overlay.show {
  display: flex;
}

.float-panel {
  width: min(1000px, 98%);
  max-height: 95vh;
  overflow: hidden;
  background: linear-gradient(135deg, #ffffff 0%, var(--lighter-green) 100%);
  border-radius: 24px;
  box-shadow:
    0 40px 100px rgba(6, 79, 60, 0.3),
    0 0 0 1px rgba(16, 163, 127, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.5);
  position: relative;
  display: flex;
  flex-direction: column;
  animation: slideUp 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  border: 3px solid rgba(16, 163, 127, 0.2);
}

/* Close Button */
.float-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--primary-green), var(--dark-green));
  color: white;
  border: none;
  border-radius: 50%;
  font-size: 24px;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(16, 163, 127, 0.3);
  transition: var(--transition-smooth);
}

.float-close:hover {
  transform: rotate(90deg) scale(1.1);
  box-shadow: 0 6px 20px rgba(16, 163, 127, 0.5);
}

.float-close:focus {
  outline: 3px solid rgba(16, 163, 127, 0.5);
  outline-offset: 3px;
}

/* Header */
.float-header {
  font-weight: 700;
  color: var(--darker-green);
  padding: 24px 32px 16px;
  font-size: clamp(18px, 3vw, 22px);
  border-bottom: 2px solid rgba(16, 163, 127, 0.1);
  background: linear-gradient(180deg, rgba(16, 163, 127, 0.05), transparent);
  text-align: center;
  letter-spacing: 0.5px;
}

/* Content Area */
.float-content {
  padding: 0;
  display: flex;
  flex-direction: column;
  flex: 1;
  overflow: hidden;
}

/* Book Container */
.float-book {
  display: block;
  width: 100%;
  height: 100%;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 0;
  position: relative;
}

}

/* Book Spine Effect (middle shadow) */
.float-book::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 24px;
  bottom: 24px;
  width: 4px;
  background: linear-gradient(180deg,
    transparent 0%,
    rgba(6, 79, 60, 0.15) 20%,
    rgba(6, 79, 60, 0.15) 80%,
    transparent 100%);
  transform: translateX(-50%);
  border-radius: 2px;
  display: none;
}

/* Pages Container */
.float-pages {
  display: block;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

/* Individual Page */
.float-page {
  background: transparent;
  border-radius: 0;
  padding: 0 20px;
  width: 100%;
  box-shadow: none;
  color: var(--text-primary);
  line-height: 1.8;
  font-size: 16px;
  position: relative;
  transition: var(--transition-smooth);
}

.float-page.text-small {
  font-size: 14px;
  line-height: 1.6;
}

.float-page.text-large {
  font-size: 18px;
  line-height: 2;
}

.float-page.text-extra-large {
  font-size: 20px;
  line-height: 2.2;
}

/* Page Animation */
.float-page.page-animate {
  animation: fadeIn 0.4s ease;
}

/* Scrollbar Styling */
.float-book::-webkit-scrollbar {
  width: 8px;
}

.float-book::-webkit-scrollbar-track {
  background: rgba(16, 163, 127, 0.05);
  border-radius: 4px;
}

.float-book::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--primary-green), var(--dark-green));
  border-radius: 4px;
}

.float-book::-webkit-scrollbar-thumb:hover {
  background: var(--dark-green);
}



/* Controls Section */
.float-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 12px;
  background: linear-gradient(180deg, transparent, rgba(16, 163, 127, 0.03));
  border-top: 2px solid rgba(16, 163, 127, 0.1);
  flex-wrap: wrap;
}

.float-controls-left {
  display: flex;
  align-items: center;
  gap: 8px;
}

.float-controls-right {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Navigation Buttons */
.float-controls button {
  background: linear-gradient(135deg, var(--primary-green), var(--dark-green));
  color: white;
  border: none;
  padding: 6px 12px;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 600;
  font-size: 11px;
  box-shadow: 0 2px 8px rgba(16, 163, 127, 0.3);
  transition: var(--transition-smooth);
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

/* Text Size Buttons */
.float-text-size {
  display: flex;
  gap: 4px;
  align-items: center;
}

.float-text-size button {
  padding: 4px 8px;
  font-size: 10px;
  min-width: auto;
  background: rgba(16, 163, 127, 0.2);
  color: var(--primary-green);
  border: 1px solid var(--primary-green);
  font-weight: 700;
}

.float-text-size button:hover {
  background: var(--primary-green);
  color: white;
}

.float-controls button:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(16, 163, 127, 0.4);
}

.float-controls button:active:not(:disabled) {
  transform: translateY(0);
}

.float-controls button:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.float-controls button:focus {
  outline: 3px solid rgba(16, 163, 127, 0.5);
  outline-offset: 3px;
  border-radius: 12px;
}

/* Page Indicator */
.float-page-indicator {
  font-weight: 700;
  color: var(--darker-green);
  font-size: 13px;
  padding: 6px 12px;
  background: rgba(16, 163, 127, 0.1);
  border-radius: 20px;
  min-width: 70px;
  text-align: center;
}

/* Progress Bar */
.float-progress {
  width: 100%;
  max-width: 200px;
  height: 5px;
  background: rgba(16, 163, 127, 0.15);
  border-radius: 999px;
  overflow: hidden;
  box-shadow: inset 0 2px 4px rgba(6, 79, 60, 0.1);
  position: relative;
}

.float-progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--accent-green), var(--primary-green) 50%, var(--dark-green));
  border-radius: 999px;
  transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 0 10px rgba(16, 163, 127, 0.5);
  position: relative;
}

.float-progress-bar::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 50%;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.3), transparent);
  border-radius: 999px;
}

/* ========================================
   ANIMATIONS
   ======================================== */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

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

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

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(40px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* ========================================
   RESPONSIVE DESIGN - TABLET
   ======================================== */
@media (max-width: 1024px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .timeline-content.left,
  .timeline-content.right {
    padding-right: 40px;
    padding-left: 40px;
  }

  .float-book::before {
    display: block;
  }
}

/* ========================================
   RESPONSIVE DESIGN - MOBILE
   ======================================== */
@media (max-width: 768px) {
  .histoire-container {
    padding: 40px 16px 60px;
  }

  .histoire-header {
    margin-bottom: 60px;
  }

  /* Timeline Mobile */
  .timeline::before {
    left: 24px;
  }

  .timeline-marker {
    left: 24px;
    transform: translateX(-50%);
  }

  .timeline-item {
    margin-bottom: 80px;
  }

  .timeline-content {
    width: 100%;
    padding-left: 60px !important;
    padding-right: 0 !important;
  }

  .timeline-content.left,
  .timeline-content.right {
    margin: 0;
  }

  .timeline-card {
    padding: 24px;
  }

  .card-header {
    flex-direction: row;
    gap: 12px;
  }

  .card-icon {
    width: 40px;
    height: 40px;
  }

  .card-icon svg {
    width: 20px;
    height: 20px;
  }

  .timeline-year-bg {
    display: none;
  }

  /* Smaller thumbnail on mobile */
  .event-thumb {
    width: 48px;
    height: 48px;
    border-radius: 6px;
  }

  /* Stats Mobile */
  .stats-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .stat-card {
    padding: 32px 24px;
  }

  .stat-icon {
    width: 64px;
    height: 64px;
  }

  .stat-icon svg {
    width: 28px;
    height: 28px;
  }

  /* Float Panel Mobile */
  .float-panel {
    max-height: 95vh;
    border-radius: 20px;
    width: 100%;
    margin: 10px;
  }

  .float-header {
    padding: 20px 24px 12px;
  }

  .float-book {
    padding: 16px 20px;
    gap: 0;
  }

  .float-book::before {
    display: none;
  }

  .float-pages {
    flex-direction: column;
    gap: 16px;
  }

  .float-page {
    padding: 20px;
    min-height: 300px;
  }

  .float-controls {
    padding: 16px 20px;
    gap: 12px;
  }

  .float-controls button {
    padding: 10px 20px;
    font-size: 13px;
  }

  .float-close {
    width: 36px;
    height: 36px;
    font-size: 20px;
    top: 12px;
    right: 12px;
  }

  .float-progress {
    order: -1;
    width: 100%;
    max-width: 100%;
    margin-bottom: 12px;
  }
}

/* ========================================
   RESPONSIVE DESIGN - SMALL MOBILE
   ======================================== */
@media (max-width: 480px) {
  .histoire-container {
    padding: 30px 12px 50px;
  }

  .timeline-content {
    padding-left: 50px !important;
  }

  .timeline-card {
    padding: 20px;
  }

  .card-header {
    gap: 10px;
  }

  .float-panel {
    margin: 5px;
    border-radius: 16px;
  }

  .float-header {
    padding: 16px 20px 10px;
  }

  .float-book {
    padding: 12px 16px;
  }

  .float-page {
    padding: 16px;
    font-size: 14px;
  }

  .float-controls {
    padding: 12px 16px;
  }

  .float-controls button {
    padding: 8px 16px;
    font-size: 12px;
  }

  .float-page-indicator {
    font-size: 13px;
    padding: 6px 12px;
  }
}

/* ========================================
   RESPONSIVE DESIGN - LARGE SCREENS
   ======================================== */
@media (min-width: 900px) {
  .float-book::before {
    display: block;
  }

  .float-pages {
    gap: 32px;
  }

  .float-page {
    max-width: 50%;
  }

  .stat-card:nth-child(1) { animation-delay: 0.1s; }
  .stat-card:nth-child(2) { animation-delay: 0.2s; }
  .stat-card:nth-child(3) { animation-delay: 0.3s; }
  .stat-card:nth-child(4) { animation-delay: 0.4s; }
}

/* ========================================
   ACCESSIBILITY
   ======================================== */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Focus visible for keyboard navigation */
*:focus-visible {
  outline: 3px solid rgba(16, 163, 127, 0.5);
  outline-offset: 3px;
}

/* ========================================
   PRINT STYLES
   ======================================== */
@media print {
  .float-overlay,
  .float-controls,
  .float-close {
    display: none !important;
  }

  .float-panel {
    box-shadow: none;
    border: 1px solid #ccc;
  }

  .float-page {
    box-shadow: none;
    page-break-inside: avoid;
  }
}

/* ========================================
   UTILITY CLASSES
   ======================================== */
.hidden {
  display: none !important;
}

.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;
}

/* Full message hidden by default */
.full-message {
  display: none;
}















 .test-button {
            background: #10A37F;
            color: white;
            border: none;
            padding: 20px 40px;
            font-size: 20px;
            border-radius: 10px;
            cursor: pointer;
            display: block;
            margin: 20px auto;
        }
        .test-button:hover {
            background: #0D8F6F;
        }
        .hidden {
            display: none;
        }
        .float-overlay {
            position: fixed;
            inset: 0;
            background: rgba(0,0,0,0.7);
            display: none;
            align-items: center;
            justify-content: center;
            z-index: 9999;
        }
        .float-overlay.show {
            display: flex;
        }
        .float-panel {
            background: white;
            padding: 40px;
            border-radius: 20px;
            max-width: 600px;
            max-height: 80vh;
            overflow-y: auto;
            position: relative;
        }
        .float-close {
            position: absolute;
            top: 10px;
            right: 10px;
            background: #10A37F;
            color: white;
            border: none;
            width: 40px;
            height: 40px;
            border-radius: 50%;
            font-size: 24px;
            cursor: pointer;
        }
        .float-header {
            font-size: 24px;
            color: #10A37F;
            margin-bottom: 20px;
            font-weight: bold;
        }
        .float-content {
            line-height: 1.8;
            color: #333;
        }
        .status {
            background: white;
            padding: 20px;
            border-radius: 10px;
            margin-bottom: 20px;
        }
        .status-ok {
            color: green;
            font-weight: bold;
        }
        .status-error {
            color: red;
            font-weight: bold;
        }

img {
    width: 50%;
    max-height: 100%;
    object-fit: cover;
    border-radius: 10px;
    
}

.timeline-item{
    display: flex;
    
}


.test-button {
            background: #10A37F;
            color: white;
            border: none;
            padding: 20px 40px;
            font-size: 20px;
            border-radius: 10px;
            cursor: pointer;
            display: block;
            margin: 20px auto;
        }
        .test-button:hover {
            background: #0D8F6F;
        }
        .hidden {
            display: none;
        }
        .float-overlay {
            position: fixed;
            inset: 0;
            background: rgba(0,0,0,0.7);
            display: none;
            align-items: center;
            justify-content: center;
            z-index: 9999;
        }
        .float-overlay.show {
            display: flex;
        }
        .float-panel {
            background: white;
            padding: 40px;
            border-radius: 20px;
            max-width: 600px;
            max-height: 80vh;
            overflow-y: auto;
            position: relative;
        }
        .float-close {
            position: absolute;
            top: 10px;
            right: 10px;
            background: #10A37F;
            color: white;
            border: none;
            width: 40px;
            height: 40px;
            border-radius: 50%;
            font-size: 24px;
            cursor: pointer;
        }
        .float-header {
            font-size: 24px;
            color: #10A37F;
            margin-bottom: 20px;
            font-weight: bold;
        }
        .float-content {
            line-height: 1.8;
            color: #333;
        }
        .status {
            background: white;
            padding: 20px;
            border-radius: 10px;
            margin-bottom: 20px;
        }
        .status-ok {
            color: green;
            font-weight: bold;
        }
        .status-error {
            color: red;
            font-weight: bold;
        }