* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --blue-dark: #1a5cb8;
  --blue-mid: #1e6bd6;
  --blue-light: #2196f3;
  --teal: #22c1c3;
  --navy: #0f3d7a;
  --bg: #f5f7fa;
  --text: #1f2937;
  --card: #fff;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}


/* ================= NAVBAR ================= */

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 7%;
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  transition: background 0.3s, box-shadow 0.3s;
}

.navbar.scrolled {
  background: var(--navy);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.logo {
  display: flex;
  align-items: center;
}

.navbar-logo {
  height: 44px;
  width: auto;
  object-fit: contain;
  filter: brightness(0) invert(1);
  transition: opacity 0.2s;
}

.navbar-logo:hover {
  opacity: 0.85;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 28px;
}

.nav-links a {
  text-decoration: none;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
  font-size: 14px;
  transition: color 0.2s;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0; right: 0;
  height: 2px;
  background: var(--teal);
  transform: scaleX(0);
  transition: transform 0.3s;
}

.nav-links a:hover { color: #fff; }
.nav-links a:hover::after { transform: scaleX(1); }

.btn-register-nav {
  background: linear-gradient(135deg, var(--teal), var(--blue-light));
  color: #fff;
  border: none;
  padding: 10px 22px;
  border-radius: 25px;
  cursor: pointer;
  font-weight: 600;
  font-size: 14px;
  font-family: 'Poppins', sans-serif;
  transition: transform 0.2s, box-shadow 0.2s;
}

.btn-register-nav:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(34, 193, 195, 0.4);
}


/* ================= HERO LOGOS ================= */

.hero-logos {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  max-width: 960px;
  padding: 0 5%;
  margin-bottom: 40px;
  position: relative;
  z-index: 1;
}

.hero-logo-esst {
  height: 48px;
  width: auto;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.92;
}

.hero-logo-dawaa {
  height: 64px;
  width: auto;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.92;
}

.hero-journal {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.88);
  margin-top: 10px;
  margin-bottom: 0;
  line-height: 1.7;
  font-style: italic;
}

.hero-journal strong {
  font-style: normal;
  font-weight: 700;
  color: #fff;
}


/* ================= HERO CANVAS ================= */

#heroCanvas {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  z-index: 0;
  pointer-events: none;
}


/* ================= HERO ================= */

.hero {
  background: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue-mid) 40%, var(--teal) 100%);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  padding: 120px 7% 80px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  width: 500px; height: 500px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  top: -100px; left: -100px;
}

.hero::after {
  content: '';
  position: absolute;
  width: 700px; height: 700px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 50%;
  bottom: -200px; right: -150px;
}

.hero-content {
  max-width: 860px;
  position: relative;
  z-index: 1;
}

.hero-content h1 {
  font-size: 38px;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 20px;
}

.hero-content h1 span { display: block; }

.hero-sub {
  font-size: 15px;
  opacity: 0.95;
  margin-bottom: 8px;
  line-height: 1.6;
}

.hero-sub strong { font-weight: 700; }

.hero-meta {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin: 28px 0 36px;
  flex-wrap: wrap;
}

.hero-meta-item {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 25px;
  padding: 8px 18px;
  font-size: 14px;
  font-weight: 500;
  backdrop-filter: blur(4px);
}

.hero-meta-item svg { width: 16px; height: 16px; flex-shrink: 0; }

.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}


/* ================= BUTTONS ================= */

.btn-primary {
  background: linear-gradient(135deg, var(--blue-mid), var(--teal));
  color: #fff;
  border: none;
  padding: 13px 32px;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  font-size: 15px;
  font-family: 'Poppins', sans-serif;
  transition: transform 0.2s, box-shadow 0.2s;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(30, 107, 214, 0.4);
}

.btn-outline {
  background: #fff;
  color: var(--blue-mid);
  border: none;
  padding: 13px 32px;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  font-size: 15px;
  font-family: 'Poppins', sans-serif;
  transition: transform 0.2s, box-shadow 0.2s;
}

.btn-outline:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255, 255, 255, 0.3);
}

.btn-submit {
  width: 100%;
  padding: 15px;
  background: linear-gradient(135deg, var(--blue-mid), var(--teal));
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  font-family: 'Poppins', sans-serif;
  cursor: pointer;
  margin-top: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: transform 0.2s, box-shadow 0.2s;
}

.btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(30, 107, 214, 0.3);
}

.btn-submit svg {
  width: 18px; height: 18px;
  stroke: #fff; fill: none; stroke-width: 2;
}

.btn-download {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  background: linear-gradient(135deg, var(--blue-mid), var(--teal));
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  font-family: 'Poppins', sans-serif;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}

.btn-download:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(30, 107, 214, 0.35);
}

.btn-download svg {
  width: 18px; height: 18px;
  stroke: #fff; fill: none; stroke-width: 2;
}


/* ================= ABOUT ================= */

.about {
  padding: 90px 7%;
  text-align: center;
}

.section-label {
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 3px;
  color: var(--teal);
  margin-bottom: 12px;
}

.about h2 {
  font-size: 42px;
  font-weight: 800;
  color: var(--blue-mid);
  margin-bottom: 24px;
}

.about-text {
  max-width: 760px;
  margin: 0 auto 50px;
  font-size: 15px;
  line-height: 1.8;
  color: #374151;
}

.about-text strong { font-weight: 700; color: var(--text); }


/* ================= FEATURES ================= */

.features {
  padding: 0 7% 80px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 1100px;
  margin: 0 auto;
}

.feat-card {
  background: #fff;
  border-radius: 16px;
  padding: 36px 32px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  transition: transform 0.3s, box-shadow 0.3s;
}

.feat-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 36px rgba(30, 107, 214, 0.12);
}

.feat-icon {
  width: 56px; height: 56px;
  background: linear-gradient(135deg, var(--blue-mid), var(--teal));
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.feat-icon svg {
  width: 28px; height: 28px;
  stroke: #fff; fill: none; stroke-width: 2;
}

.feat-card h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--blue-mid);
}

.feat-card p {
  font-size: 14px;
  color: #6b7280;
  line-height: 1.7;
}


/* ================= TOPICS ================= */

.topics {
  padding: 90px 7%;
  text-align: center;
  background: #fff;
}

.topics h2 {
  font-size: 34px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
}

.topics .sub {
  font-size: 14px;
  color: #6b7280;
  margin-bottom: 50px;
}

.topic-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1100px;
  margin: 0 auto;
}

.topic-card {
  border-radius: 14px;
  padding: 30px 26px;
  text-align: left;
  transition: transform 0.3s, box-shadow 0.3s;
}

.topic-card:nth-child(1) { background: linear-gradient(155deg, var(--navy), var(--blue-dark)); }
.topic-card:nth-child(2) { background: linear-gradient(155deg, var(--teal), #0bb5b7); }
.topic-card:nth-child(3) { background: linear-gradient(155deg, var(--blue-mid), var(--blue-dark)); }

.topic-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.18);
}

.topic-card h3 {
  font-size: 17px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 20px;
  line-height: 1.4;
}

.topic-card ul { list-style: none; padding: 0; }

.topic-card li {
  color: rgba(255, 255, 255, 0.9);
  font-size: 13.5px;
  margin-bottom: 11px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.5;
}

.topic-card li::before {
  content: '';
  display: inline-block;
  width: 18px; height: 18px;
  background: rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 1px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-size: 11px;
  background-repeat: no-repeat;
  background-position: center;
}


/* ================= IMPORTANT DATES ================= */

.dates {
  padding: 90px 7%;
  text-align: center;
  background: var(--bg);
}

.dates h2 {
  font-size: 34px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
}

.dates .sub {
  font-size: 14px;
  color: #6b7280;
  margin-bottom: 50px;
}

.dates-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  max-width: 860px;
  margin: 0 auto;
}

.date-card {
  border-radius: 14px;
  padding: 32px 28px;
  display: flex;
  align-items: center;
  gap: 20px;
  transition: transform 0.3s, box-shadow 0.3s;
}

.date-card:nth-child(1) { background: linear-gradient(135deg, #1a4fa8, var(--blue-mid)); }
.date-card:nth-child(2) { background: linear-gradient(135deg, #1a4fa8, var(--blue-mid)); }
.date-card:nth-child(3) { background: linear-gradient(135deg, var(--blue-light), var(--teal)); }
.date-card:nth-child(4) { background: linear-gradient(135deg, var(--teal), #0bb5b7); }

.date-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.16);
}

.date-icon-circle {
  width: 50px; height: 50px;
  background: rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.date-icon-circle svg {
  width: 24px; height: 24px;
  stroke: #fff; fill: none; stroke-width: 2;
}

.date-card-text { text-align: left; }

.date-card-text h3 {
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 4px;
}

.date-card-text p {
  text-transform: uppercase;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 1.5px;
  color: rgba(255, 255, 255, 0.8);
}


/* ================= REGISTRATION ================= */

.register {
  padding: 90px 7%;
  background: #fff;
}

.register-inner {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 60px;
  max-width: 1100px;
  margin: 0 auto;
  align-items: start;
}

.register-form-wrap {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 40px;
}

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

.section-header .icon-wrap {
  width: 56px; height: 56px;
  background: #eff6ff;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}

.section-header .icon-wrap svg {
  width: 28px; height: 28px;
  stroke: var(--blue-mid); fill: none; stroke-width: 2;
}

.section-header h2 {
  font-size: 30px;
  font-weight: 700;
  color: var(--blue-mid);
  margin-bottom: 6px;
}

.section-header p {
  font-size: 14px;
  color: #6b7280;
}

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

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group.full { grid-column: 1 / -1; }

.form-group label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.5px;
  color: var(--text);
  text-transform: uppercase;
}

.form-group label span { color: #e74c3c; margin-left: 2px; }

.form-group input,
.form-group select,
.form-group textarea {
  padding: 13px 16px;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  font-size: 14px;
  font-family: 'Poppins', sans-serif;
  background: #f9fafb;
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
  outline: none;
  color: var(--text);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--blue-mid);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(30, 107, 214, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder { color: #9ca3af; }

.form-group textarea { min-height: 100px; resize: none; }

.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%239ca3af' stroke-width='1.5'%3E%3Cpath d='M6 8l4 4 4-4'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 20px;
}

/* Registration fees sidebar */
.fees-box {
  background: linear-gradient(155deg, var(--blue-mid), var(--teal));
  border-radius: 16px;
  padding: 32px;
  color: #fff;
}

.fees-box h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
}

.fees-box .fees-sub {
  font-size: 13px;
  opacity: 0.85;
  margin-bottom: 24px;
}

.fee-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 18px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  margin-bottom: 10px;
  transition: background 0.2s;
}

.fee-row:hover { background: rgba(255, 255, 255, 0.22); }
.fee-row span:first-child { font-size: 14px; font-weight: 500; }
.fee-row span:last-child { font-size: 16px; font-weight: 700; }

.fees-deadlines { margin-top: 28px; }
.fees-deadlines h4 { font-size: 15px; font-weight: 700; margin-bottom: 12px; }
.fees-deadlines p { font-size: 13px; opacity: 0.9; margin-bottom: 6px; padding-left: 4px; }

.fees-contact {
  margin-top: 24px;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  padding: 16px;
}

.fees-contact h4 { font-size: 14px; font-weight: 700; color: var(--teal); margin-bottom: 10px; }

.fees-contact p {
  font-size: 13px;
  opacity: 0.9;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}

.fees-contact svg {
  width: 14px; height: 14px;
  stroke: currentColor; fill: none; stroke-width: 2;
  flex-shrink: 0;
}


/* ================= GUIDELINES ================= */

.guidelines {
  padding: 90px 7%;
  background: var(--bg);
  text-align: center;
}

.guidelines h2 {
  font-size: 34px;
  font-weight: 700;
  color: var(--blue-mid);
  margin-bottom: 8px;
}

.guidelines .sub {
  font-size: 14px;
  color: #6b7280;
  margin-bottom: 50px;
}

.guidelines-list {
  max-width: 700px;
  margin: 0 auto 36px;
  text-align: left;
}

.guideline-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid #e5e7eb;
}

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

.g-letter {
  width: 36px; height: 36px;
  background: linear-gradient(135deg, var(--blue-mid), var(--teal));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  flex-shrink: 0;
}

.g-content h4 {
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 2px;
}

.g-content p { font-size: 14px; color: #6b7280; }

.g-content a {
  color: var(--teal);
  font-weight: 600;
  text-decoration: none;
}

.g-content a:hover { text-decoration: underline; }

/* ================= PAPER SUBMISSION ================= */

.submission {
  padding: 90px 7%;
  background: #fff;
  text-align: center;
}

.submission h2 {
  font-size: 34px;
  font-weight: 700;
  color: var(--blue-mid);
  margin-bottom: 8px;
}

.submission .sub {
  font-size: 14px;
  color: #6b7280;
  margin-bottom: 50px;
}

.submission-form-wrap {
  max-width: 620px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 40px;
  text-align: left;
}

.upload-zone {
  border: 2px dashed #d1d5db;
  border-radius: 10px;
  padding: 40px 20px;
  text-align: center;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
  background: #fafafa;
}

.upload-zone:hover {
  border-color: var(--blue-mid);
  background: #eff6ff;
}

.upload-zone svg {
  width: 36px; height: 36px;
  stroke: var(--blue-mid); fill: none; stroke-width: 1.5;
  margin-bottom: 10px;
}

.upload-zone p { font-size: 14px; color: #6b7280; margin-bottom: 4px; }
.upload-zone small { font-size: 12px; color: #9ca3af; }

.submission-note {
  font-size: 12px;
  color: #9ca3af;
  text-align: center;
  margin-top: 14px;
}


/* ================= FOOTER ================= */

footer {
  background: linear-gradient(135deg, #0d3266, var(--navy));
  color: #fff;
  padding: 60px 7% 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-bottom: 40px;
}

.footer-col h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--teal);
  margin-bottom: 16px;
}

.footer-col p,
.footer-col a {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-col a:hover { color: #fff; }

.footer-col svg {
  width: 15px; height: 15px;
  stroke: currentColor; fill: none; stroke-width: 2;
  flex-shrink: 0;
}

.footer-dates-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 10px;
}

.footer-date-badge {
  background: rgba(255, 255, 255, 0.12);
  border-radius: 4px;
  padding: 2px 7px;
  font-size: 11px;
  font-weight: 700;
  color: var(--teal);
  white-space: nowrap;
  flex-shrink: 0;
  margin-top: 2px;
}

.footer-date-label {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.8);
}

.footer-date-label.highlight {
  color: var(--teal);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 0.5px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 24px;
  text-align: center;
}

.footer-bottom p { font-size: 13px; opacity: 0.6; margin-bottom: 4px; }
.footer-bottom .tagline {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 2px;
  opacity: 0.4;
}


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

@media (max-width: 960px) {
  .register-inner { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .features { grid-template-columns: 1fr; }
  .topic-grid { grid-template-columns: 1fr; }
  .dates-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-content h1 { font-size: 26px; }
  .form-row { grid-template-columns: 1fr; }
  .hero-logo-esst { height: 34px; }
  .hero-logo-dawaa { height: 46px; }
}

/* ================= SUBMISSION SECURITY ADDITIONS ================= */

/* ── Étapes de soumission ── */
.submission-steps-container {
  max-width: 680px;
  margin: 0 auto 36px;
  background: #f8faff;
  border: 1px solid #dbeafe;
  border-radius: 14px;
  padding: 28px 32px;
}

.steps-title {
  font-size: 15px;
  font-weight: 700;
  color: #1e3a5f;
  margin-bottom: 20px;
  text-align: center;
  letter-spacing: 0.3px;
}

.steps-list {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

.step-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  width: 100%;
  max-width: 480px;
  background: #fff;
  border-radius: 10px;
  padding: 14px 18px;
  border: 1px solid #e0edff;
}

.step-number {
  min-width: 34px;
  height: 34px;
  border-radius: 50%;
  background: linear-gradient(135deg, #1a5cb8, #22c1c3);
  color: #fff;
  font-weight: 800;
  font-size: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.step-body strong {
  display: block;
  font-size: 14px;
  color: #1e3a5f;
  margin-bottom: 3px;
}

.step-body p {
  font-size: 13px;
  color: #6b7280;
  margin: 0;
  line-height: 1.5;
}

.step-arrow {
  font-size: 20px;
  color: #93c5fd;
  padding: 4px 0;
  line-height: 1;
}

/* ── Bloc connexion soumission ── */
.submission-login-wrap {
  max-width: 480px;
  margin: 0 auto 28px;
}

.submission-login-box {
  background: #fff;
  border: 1px solid #dbeafe;
  border-radius: 14px;
  padding: 26px 28px;
}

.submission-login-header {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 700;
  color: #1e3a5f;
  margin-bottom: 6px;
}

.submission-login-note {
  font-size: 13px;
  color: #6b7280;
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid #f3f4f6;
}

/* ── Barre "connecté" ── */
.submission-logged-bar {
  max-width: 680px;
  margin: 0 auto 18px;
  background: #d1fae5;
  border: 1px solid #6ee7b7;
  border-radius: 10px;
  padding: 12px 18px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: #065f46;
}

.submission-logged-bar span { flex: 1; }

.btn-logout-inline {
  background: none;
  border: 1px solid #065f46;
  color: #065f46;
  border-radius: 6px;
  padding: 4px 12px;
  font-size: 12px;
  cursor: pointer;
  font-weight: 600;
  transition: background 0.2s;
}
.btn-logout-inline:hover { background: #065f4615; }

/* ── Message verrouillé ── */
.submission-locked-msg {
  max-width: 680px;
  margin: 0 auto 14px;
  background: #f9fafb;
  border: 1.5px dashed #d1d5db;
  border-radius: 10px;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: #9ca3af;
  font-size: 14px;
}

/* ================= SUBMISSION TIMELINE ================= */

.submission-timeline {
  padding: 36px 7% 20px;
  background: linear-gradient(135deg, #f0f7ff 0%, #e8f4fd 100%);
  border-bottom: 1px solid #dbeafe;
}

.timeline-title {
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: #1e6bd6;
  margin-bottom: 18px;
  opacity: 0.8;
}

.timeline-steps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  max-width: 860px;
  margin: 0 auto;
  flex-wrap: wrap;
}

.tl-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  min-width: 120px;
  flex: 1;
  max-width: 160px;
}

.tl-icon-wrap {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid #bfdbfe;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  position: relative;
  z-index: 1;
  transition: border-color 0.2s;
}

.tl-step:hover .tl-icon-wrap {
  border-color: #1e6bd6;
}

.tl-label {
  font-size: 11px;
  font-weight: 600;
  text-align: center;
  color: #374151;
  line-height: 1.3;
  max-width: 100px;
}

.tl-connector {
  flex: 0.5;
  height: 2px;
  background: linear-gradient(90deg, #bfdbfe, #93c5fd);
  min-width: 20px;
  max-width: 40px;
  margin-bottom: 20px;
}

/* ================= DOWNLOAD TEMPLATE CTA ================= */

.abstract-download-cta {
  background: linear-gradient(135deg, #eff6ff, #dbeafe);
  border: 1.5px solid #bfdbfe;
  border-radius: 14px;
  padding: 18px 22px;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.abstract-download-cta-icon {
  font-size: 28px;
  flex-shrink: 0;
}

.abstract-download-cta-text h4 {
  font-size: 14px;
  font-weight: 700;
  color: #1e3a5f;
  margin-bottom: 3px;
}

.abstract-download-cta-text p {
  font-size: 12px;
  color: #6b7280;
  margin: 0;
}

.btn-download-template {
  background: linear-gradient(135deg, #1e6bd6, #22c1c3);
  color: #fff;
  border: none;
  padding: 10px 20px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: opacity 0.2s;
  white-space: nowrap;
  margin-left: auto;
}

.btn-download-template:hover { opacity: 0.88; }

/* ================= ABSTRACT UPLOAD ZONE (registration form) ================= */

.abstract-upload-zone {
  border: 2px dashed #93c5fd;
  border-radius: 10px;
  padding: 18px 20px;
  text-align: center;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
  background: #f8faff;
}

.abstract-upload-zone:hover,
.abstract-upload-zone.dragover {
  border-color: #1e6bd6;
  background: #eff6ff;
}

.abstract-upload-zone svg {
  width: 28px; height: 28px;
  stroke: #93c5fd;
  margin-bottom: 8px;
}

.abstract-upload-zone p {
  font-size: 13px;
  color: #374151;
  font-weight: 500;
  margin-bottom: 2px;
}

.abstract-upload-zone small {
  font-size: 11px;
  color: #9ca3af;
}

.abstract-upload-zone.file-selected {
  border-color: #10b981;
  background: #f0fdf4;
}

.abstract-upload-zone.file-selected p {
  color: #065f46;
}

/* ================= PROCESS STEPS (rewritten explanation) ================= */

.process-steps-box {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 28px 32px;
  margin-bottom: 0;
  width: 100%;
}

.process-steps-box h3 {
  font-size: 16px;
  font-weight: 700;
  color: #1e3a5f;
  margin-bottom: 20px;
}

.process-step-row {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid #f3f4f6;
}

.process-step-row:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.process-step-num {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, #1e6bd6, #22c1c3);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}

.process-step-text strong {
  display: block;
  font-size: 13px;
  color: #1e3a5f;
  font-weight: 600;
  margin-bottom: 2px;
}

.process-step-text p {
  font-size: 12px;
  color: #6b7280;
  margin: 0;
  line-height: 1.5;
}

.btn-scroll-to-form {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #1e6bd6, #22c1c3);
  color: #fff;
  border: none;
  padding: 12px 24px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  margin-top: 18px;
  width: 100%;
  justify-content: center;
  transition: opacity 0.2s;
}

.btn-scroll-to-form:hover { opacity: 0.88; }

@media (max-width: 600px) {
  .timeline-steps { gap: 0; }
  .tl-step { min-width: 60px; max-width: 80px; }
  .tl-label { font-size: 9px; }
  .tl-icon-wrap { width: 34px; height: 34px; font-size: 14px; }
  .abstract-download-cta { flex-direction: column; align-items: flex-start; }
  .btn-download-template { margin-left: 0; width: 100%; justify-content: center; }
}
