/* ============================================================
   Swiss Universal Express — Professional B2B Design System v2
   ============================================================ */

/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

@font-face {
    font-family: Segoeuil;
    src: url('/static/fonts/segoeuil.ttf');
}

/* Design tokens */
:root {
  /* Primary palette */
  --color-navy-900:  #0D1B2A;
  --color-navy-800:  #1A2E46;
  --color-navy-700:  #1E3A5F;
  --color-navy-600:  #254E78;
  --color-blue-600:  #1565C0;
  --color-blue-500:  #1976D2;
  --color-blue-400:  #42A5F5;
  --color-blue-100:  #DBEAFE;
  --color-blue-50:   #EFF6FF;

  /* Gold accent */
  --color-gold-500:  #C9A227;
  --color-gold-400:  #D4AF37;
  --color-gold-200:  #F5E6A3;
  --color-gold-50:   #FFFBEB;

  /* Neutrals */
  --color-gray-50:   #F8FAFC;
  --color-gray-100:  #F1F5F9;
  --color-gray-200:  #E2E8F0;
  --color-gray-300:  #CBD5E1;
  --color-gray-400:  #94A3B8;
  --color-gray-500:  #64748B;
  --color-gray-600:  #475569;
  --color-gray-700:  #334155;
  --color-gray-800:  #1E293B;
  --color-gray-900:  #0F172A;
  --color-white:     #FFFFFF;

  /* Semantic aliases (kept for backward compat) */
  --main-color:      var(--color-blue-500);
  --light-color:     var(--color-blue-400);
  --lighter-color:   var(--color-blue-100);
  --dark-color:      var(--color-navy-700);

  /* Spacing & radii */
  --radius-sm:  4px;
  --radius-md:  8px;
  --radius-lg:  12px;
  --radius-xl:  20px;

  /* Shadows */
  --shadow-sm:  0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.06);
  --shadow-md:  0 4px 12px rgba(0,0,0,.10), 0 2px 6px rgba(0,0,0,.07);
  --shadow-lg:  0 10px 30px rgba(0,0,0,.14), 0 4px 12px rgba(0,0,0,.08);

  /* Transitions */
  --transition-fast:   150ms ease;
  --transition-normal: 250ms ease;
}

/* ── Reset & base ─────────────────────────────────────────── */

*, *::before, *::after {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  font-family: 'Inter', Segoeuil, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-gray-800);
  background-color: var(--color-gray-100);
}

a, a:visited, a:active, a:hover, a:focus {
  color: inherit;
  text-decoration: none;
}

.off {
  display: none !important;
}

/* ── Page wrapper ─────────────────────────────────────────── */

.sue-wrapper {
  width: 100%;
  max-width: 1500px;
  margin: 0 auto;
  background-color: var(--color-gray-50);
  box-shadow: 0 0 40px rgba(0,0,0,.12);
}

/* ── Header ───────────────────────────────────────────────── */

.sue-header {
  position: relative;
  height: 180px;
  background-image: url('/static/images/sue/header1.jpg');
  background-size: cover;
  background-position: center 40%;
  overflow: visible;
}

/* Dark gradient overlay for legibility — pointer-events: none so clicks
   pass through to the logo, select, and nav items above it */
.sue-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(13, 27, 42, 0.82) 0%,
    rgba(26, 46, 70, 0.65) 60%,
    rgba(21, 101, 192, 0.35) 100%
  );
  z-index: 0;
  pointer-events: none;
}

.sue-header > * {
  position: relative;
  z-index: 1;
}

/* Logo */
.sue-logo {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 0px 0px 0 140px;
  height: 120px;

  background-image: url('/static/images/sue/logo.png');
  background-size: 80px 64px;
  background-repeat: no-repeat;
  background-position: 40px center;

  font-size: 26px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--color-white);
  text-shadow: 0 2px 8px rgba(0,0,0,.40);
  pointer-events: none;
}

/* Top-right: language + connexion */
.sue-corner-right {
  position: absolute;
  top: 20px;
  right: 32px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
}

.sue-corner-right select {
  appearance: none;
  -webkit-appearance: none;
  background-color: rgba(255,255,255,.12);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,.30);
  border-radius: var(--radius-sm);
  color: var(--color-white);
  height: 32px;
  padding: 0 12px 0 34px;
  font-size: 13px;
  font-family: inherit;
  cursor: pointer;
  background-image: url('/static/images/sue/language.png');
  background-size: 16px 16px;
  background-repeat: no-repeat;
  background-position: 10px center;
  transition: background-color var(--transition-fast), border-color var(--transition-fast);
}

.sue-corner-right select:hover {
  background-color: rgba(255,255,255,.22);
  border-color: rgba(255,255,255,.55);
}

.sue-corner-right select option {
  background-color: var(--color-navy-800);
  color: var(--color-white);
}

.sue-corner-right div {
  text-align: right;
}

.sue-register {
  font-size: 13px;
  font-weight: 500;
  color: rgba(255,255,255,.80);
  cursor: pointer;
  transition: color var(--transition-fast);
  letter-spacing: 0.02em;
}

.sue-register:hover {
  color: var(--color-gold-400);
}

/* ── Navigation bar ───────────────────────────────────────── */

.sue-menu {
  height: 56px;
  background: linear-gradient(90deg, var(--color-navy-900) 0%, var(--color-navy-800) 100%);
  border-top: 2px solid var(--color-gold-500);
  box-shadow: 0px 4px 0px 0px #1b2b44;
}

.sue-menu table {
  height: 100%;
  border-collapse: collapse;
  width: 100%;
}

.sue-menu table tr td {
  white-space: nowrap;
  transition: background-color var(--transition-normal), color var(--transition-normal);
}

.sue-menu a {
  display: block;
  height: 54px;
  line-height: 54px;
  padding: 0 28px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255,255,255,.75);
  transition: color var(--transition-fast);
}

.sue-menu table tr td.sue-selected-menu {
  background-color: var(--color-gold-400);
  /*background-color: var(--color-blue-600);
  border-top: 2px solid var(--color-gold-400);*/
  border-bottom: 2px solid var(--color-gold-400);
  margin-top: -2px;
}

.sue-menu table tr td.sue-selected-menu a {
  color: var(--color-white);
}

.sue-menu table tr td:hover:not(:first-child):not(:last-child) {
  background-color: rgba(255,255,255,.07);
  border-bottom: 2px solid rgba(0, 0, 0, 0);
}

.sue-menu table tr td:hover:not(:first-child):not(:last-child) a {
  color: var(--color-white);
}

.sue-menu table tr td:first-child,
.sue-menu table tr td:last-child {
  width: 50%;
}

.sue-menu table tr td:first-child:hover,
.sue-menu table tr td:last-child:hover {
  background-color: inherit;
  cursor: default;
}

/* ── Body ─────────────────────────────────────────────────── */

.sue-body {
  margin-top: 0;
  padding: 48px 56px;
  min-height: calc(100vh - 640px);
  background-color: var(--color-gray-50);
}

.sue-title {
  font-size: 26px;
  font-weight: 700;
  color: var(--color-navy-800);
  margin-bottom: 20px;
  letter-spacing: -0.02em;
  padding-bottom: 12px;
  border-bottom: 3px solid var(--color-gold-400);
  display: inline-block;
}

/* ── Tracking search ──────────────────────────────────────── */

.sue-tracking-search {
  margin-bottom: 32px;
}

.sue-tracking-subblock {
  margin-top: 12px;
  width: min(820px, 100%);
  height: 52px;
  background-color: var(--color-white);
  border-radius: var(--radius-md);
  border: 1.5px solid var(--color-gray-200);
  line-height: 52px;
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  overflow: hidden;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.sue-tracking-subblock:focus-within {
  border-color: var(--color-blue-500);
  box-shadow: 0 0 0 3px rgba(21,101,192,.12);
}

.sue-tracking-input {
  flex: 1;
  height: 100%;
  padding: 0 16px;
  font-size: 18px;
  font-family: inherit;
  border: none;
  background: transparent;
  color: var(--color-gray-800);
  outline: none;
}

.sue-tracking-input::placeholder {
  color: var(--color-gray-400);
}

.sue-tracking-button {
  flex-shrink: 0;
  height: 100%;
  background: linear-gradient(135deg, var(--color-blue-600) 0%, var(--color-blue-500) 100%);
  color: var(--color-white);
  padding: 0 32px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background var(--transition-fast), opacity var(--transition-fast);
  display: flex;
  align-items: center;
  border-left: 1px solid rgba(255,255,255,.15);
  user-select: none;
}

.sue-tracking-button:hover {
  background: linear-gradient(135deg, var(--color-navy-700) 0%, var(--color-blue-600) 100%);
}

/* ── Content block ────────────────────────────────────────── */

.sue-block {
  margin-top: 40px;
  background-color: var(--color-white);
  border: 1px solid var(--color-gray-200);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-sm);
}

.sue-history-block {
  margin-top: 28px;
  margin-bottom: 28px;
  background-color: var(--color-white);
  border: 1px solid var(--color-gray-200);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}

/* ── Tracking result ──────────────────────────────────────── */

.sue-result-title {
  text-align: center;
  font-size: 22px;
  font-weight: 600;
  color: var(--color-navy-800);
  padding-bottom: 36px;
  letter-spacing: -0.01em;
}

.sue-result-progression,
.sue-result-sumup-title {
  margin: 0 auto;
  width: min(1000px, 100%);
}

.sue-result-progression {
  margin-bottom: 80px;
}

.sue-result-sumup-title {
  font-size: 16px;
  font-weight: 500;
  margin-bottom: 16px;
  color: var(--color-navy-700);
  background: var(--color-blue-50);
  padding: 12px 20px 12px 24px;
  border-left: 4px solid var(--color-gold-400);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

/* Progress steps — flex container keeps all circles on the same axis */
.sue-result-progression {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px 40px 72px; /* bottom padding leaves room for labels */
  margin-bottom: 20px;
}

.sue-result-step {
  position: relative;
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: var(--color-gray-200);
  margin: 0 60px;
  transition: all var(--transition-normal);
}

.sue-result-step.sue-step-achieved {
  background: linear-gradient(135deg, var(--color-blue-600), var(--color-blue-400));
  box-shadow: 0 0 0 3px rgba(21,101,192,.18);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.sue-result-step.sue-step-achieved::before {
  content: "✓";
  /* color: var(--color-gold-400); */
  color: white;
  font-size: 22px;
  font-weight: 700;
  line-height: 1;
}

.sue-result-step.sue-step-current {
  width: 72px;
  height: 72px;
  background: linear-gradient(135deg, var(--color-navy-700), var(--color-blue-600));
  box-shadow: 0 0 0 4px rgba(21,101,192,.20), var(--shadow-md);
  background-image: url('/static/images/sue/package.png');
  background-size: 60%;
  background-repeat: no-repeat;
  background-position: center;
  z-index: 1;
}

/* Connector line — anchored at 50% of the circle so it's always centred,
   regardless of whether the circle is 44px or 72px tall */
.sue-result-step::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 100%;
  transform: translateY(-50%);
  /* gap = right margin (60px) + left margin of next (60px) */
  width: 120px;
  height: 0;
  border-top: 3px dashed var(--color-gray-300);
}

.sue-result-step:last-child::after {
  display: none;
}

.sue-result-step.sue-step-achieved::after {
  border-top: 3px solid var(--color-blue-400);
}

/* Labels — absolutely placed below each circle */
.sue-result-step-label {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%);
  /*white-space: nowrap;*/
  min-width: 150px;
  text-align: center;
  font-size: 12px;
  font-weight: 500;
  color: var(--color-gray-600);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  /* reset old margin hacks */
  width: auto;
  margin: 0;
  height: auto;
}

.sue-result-step.sue-step-current .sue-result-step-label {
  color: var(--color-navy-700);
  font-weight: 600;
}

/* ── Tracking history table ───────────────────────────────── */

.sue-tracking-steps {
  border: 1px solid var(--color-gray-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin: 12px 0 4px;
  box-shadow: var(--shadow-sm);
}

.sue-tracking-steps table {
  border-collapse: collapse;
  width: 100%;
  font-size: 14px;
}

.sue-tracking-steps table tr td {
  padding: 14px 20px;
  border-bottom: 1px solid var(--color-gray-100);
  vertical-align: middle;
}

/* Header row */
.sue-tracking-steps table tr:first-child td {
  background: linear-gradient(90deg, var(--color-navy-900) 0%, var(--color-navy-700) 100%);
  color: var(--color-white);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border: none;
  padding: 14px 20px;
}

/* Alternating rows */
.sue-tracking-steps table tr:nth-child(2n) td {
  background-color: var(--color-gray-50);
}

.sue-tracking-steps table tr:not(:first-child):hover td {
  background-color: var(--color-blue-50);
}

.sue-tracking-steps table tr:last-child td {
  border-bottom: none;
}

.sue-tracking-steps table tr td:last-child { border-right: none; }
.sue-tracking-steps table tr td:first-child { border-left: none; }

/* ── Advertising banner ───────────────────────────────────── */

.sue-advertising {
  position: relative;
  height: 340px;
  background-image: url('/static/images/sue/header2.jpg');
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sue-advertising::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(13, 27, 42, 0.75) 0%,
    rgba(26, 58, 95, 0.60) 100%
  );
}

.sue-ad-txt {
  position: relative;
  z-index: 1;
  width: min(700px, 90%);
  text-align: center;
  color: var(--color-white);
  font-size: 24px;
  font-weight: 300;
  line-height: 1.5;
  letter-spacing: 0.01em;
  text-shadow: 0 2px 8px rgba(0,0,0,.40);
}

.sue-subscription-button {
  display: inline-block;
  margin-top: 32px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: linear-gradient(135deg, var(--color-gold-500), var(--color-gold-400));
  color: var(--color-navy-900) !important;
  border-radius: var(--radius-xl);
  padding: 14px 36px;
  box-shadow: 0 4px 16px rgba(201,162,39,.35);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.sue-subscription-button:hover {
  cursor: pointer;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(201,162,39,.45);
}

/* ── Footer ───────────────────────────────────────────────── */

.sue-footer {
  background: linear-gradient(180deg, var(--color-navy-900) 0%, var(--color-gray-900) 100%);
  padding: 60px 0 28px;
  color: rgba(255,255,255,.75);
  border-top: 3px solid var(--color-gold-500);
}

.sue-footer table {
  width: min(900px, 90%);
  margin: 0 auto;
  table-layout: fixed;
  border-collapse: collapse;
}

.sue-footer table tr td {
  padding: 10px 16px;
  vertical-align: middle;
  text-align: center;
  font-size: 14px;
}

.sue-footer table tr:first-child td {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.10em;
  color: var(--color-gold-400);
  padding-bottom: 16px;
}

.sue-footer a:hover {
  color: var(--color-white);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.sue-footer img {
  border-radius: var(--radius-sm);
  filter: brightness(0.85) saturate(0.9);
  transition: filter var(--transition-fast);
}

.sue-footer img:hover {
  filter: brightness(1) saturate(1);
}

.sue-copyright {
  margin-top: 36px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,.10);
  font-size: 12px;
  text-align: center;
  color: rgba(255,255,255,.40);
  letter-spacing: 0.03em;
}

.sue-copyright a:hover {
  color: var(--color-gold-400);
}

/* ── Error / info states ──────────────────────────────────── */

.sue-error {
  border-left: 4px solid #DC2626;
  background-color: #FEF2F2;
  padding: 20px 24px;
  margin: 24px 0;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  color: #991B1B;
  font-size: 15px;
}

.sue-result-soon {
  padding: 20px 24px;
}

.sue-result-soon > div {
  margin: 0 auto;
  max-width: 700px;
}

.sue-result-soon table {
  width: 100%;
  border: 1px solid var(--color-gray-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.sue-result-soon td {
  padding: 28px 24px;
  color: var(--color-navy-700);
  font-size: 15px;
  line-height: 1.6;
}

.sue-result-soon td:first-child {
  background: linear-gradient(135deg, var(--color-blue-50), var(--color-gray-100));
  background-image: url('/static/images/sue/soon.png');
  background-size: 80px 80px;
  background-repeat: no-repeat;
  background-position: center;
  width: 120px;
}

/* ── Offices / Cities ─────────────────────────────────────── */

.sue-cities-table {
  margin-top: 32px;
  border-collapse: collapse;
  width: 100%;
}

.sue-cities-table td {
  text-align: center;
  padding: 8px;
}

.sue-cities-table td:first-child,
.sue-cities-table td:last-child {
  width: 50%;
}

.sue-cities-table img {
  height: calc(33vw - 100px);
  max-height: 280px;
  border-radius: var(--radius-md);
  object-fit: cover;
  box-shadow: var(--shadow-md);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.sue-cities-table img:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.sue-address-block {
  margin: 28px 40px;
  padding: 28px 28px 28px 140px;
  border: 1px solid var(--color-gray-200);
  border-radius: var(--radius-lg);
  background: var(--color-white);
  box-shadow: var(--shadow-sm);
  background-size: 80px 80px;
  background-position: 32px center;
  background-repeat: no-repeat;
  transition: box-shadow var(--transition-fast), border-color var(--transition-fast);
}

.sue-address-block:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--color-blue-400);
}

.sue-address-name {
  font-weight: 700;
  font-size: 17px;
  color: var(--color-navy-800);
  margin-bottom: 6px;
}

.sue-map-img {
  width: calc(100% - 120px);
  margin-left: 60px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

/* ── Send Package / Quotation forms ───────────────────────── */

.sue-send-package-table {
  border-collapse: collapse;
  margin-bottom: 32px;
  width: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.sue-send-package-info-table {
  border-collapse: collapse;
  font-size: 14px;
  width: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.sue-send-package-table select,
.sue-send-package-info-table select {
  font-size: 14px;
  padding: 6px 10px;
  border: 1.5px solid var(--color-gray-300);
  border-radius: var(--radius-sm);
  background-color: var(--color-white);
  color: var(--color-gray-800);
  font-family: inherit;
  cursor: pointer;
  transition: border-color var(--transition-fast);
}

.sue-send-package-table select:focus,
.sue-send-package-info-table select:focus {
  outline: none;
  border-color: var(--color-blue-500);
  box-shadow: 0 0 0 3px rgba(21,101,192,.12);
}

.sue-send-package-table input,
.sue-send-package-info-table input {
  border: 1.5px solid var(--color-gray-300);
  border-radius: var(--radius-sm);
  background-color: var(--color-white);
  color: var(--color-gray-800);
  font-family: inherit;
  transition: border-color var(--transition-fast);
}

.sue-send-package-table input:focus,
.sue-send-package-info-table input:focus {
  outline: none;
  border-color: var(--color-blue-500);
  box-shadow: 0 0 0 3px rgba(21,101,192,.12);
}

.sue-send-package-table input {
  width: 60px;
  height: 30px;
  padding: 0 8px;
}

input.short-input {
  width: 160px;
  height: 30px;
  padding: 0 10px;
}

input.long-input {
  width: 100%;
  height: 30px;
  padding: 0 10px;
}

.sue-send-package-info-table div {
  padding: 4px 0;
}

.sue-send-package-table tr td,
.sue-send-package-info-table tr td {
  padding: 14px 18px;
  border: 1px solid var(--color-gray-100);
  vertical-align: top;
  font-size: 14px;
  background-color: var(--color-white);
}

/* Section header cells */
.sue-send-package-table tr td:first-child,
.sue-send-package-info-table tr:first-child td {
  color: var(--color-white);
  background: linear-gradient(90deg, var(--color-navy-800), var(--color-navy-700));
  border-color: rgba(255,255,255,.10);
  font-weight: 600;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  width: 0px;
  white-space: nowrap;
}

/* ── Utility / hint styles ────────────────────────────────── */

.sue-hint {
  color: var(--color-gray-400);
  font-style: italic;
  font-size: 12px;
  margin-top: 3px;
}

.sue-caution-basic,
.sue-warning-basic {
  font-size: 14px;
  background-size: 18px 18px;
  background-repeat: no-repeat;
  background-position: 10px 50%;
  padding: 10px 14px 10px 36px;
  margin: 6px 0;
  border-radius: var(--radius-sm);
}

.sue-caution-basic {
  color: #991B1B;
  border: 1px solid #FECACA;
  background-color: #FEF2F2;
  background-image: url('/static/images/sue/caution.png');
  background-position: 10px 12px;
}

.sue-warning-basic {
  color: #92400E;
  border: 1px solid #FDE68A;
  background-color: #FFFBEB;
  background-image: url('/static/images/sue/warning.png');
}

.sue-inline-field {
  display: inline-block;
  margin-left: 20px;
}

.sue-inline-field:first-child {
  margin-left: 0;
}

/* ── Connexion popup ──────────────────────────────────────── */

.sue-connexion-popup-wrapper {
  position: fixed;
  inset: 0;
  background-color: rgba(13, 27, 42, 0.75);
  backdrop-filter: blur(4px);
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sue-connexion-popup {
  width: 480px;
  background-color: var(--color-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.sue-connexion-popup > table {
  width: 100%;
  border-collapse: collapse;
}

.sue-connexion-popup > table tr td {
  padding: 14px;
  text-align: center;
  cursor: pointer;
  background-color: var(--color-gray-100);
  border-bottom: 2px solid var(--color-gray-200);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-gray-500);
  transition: background-color var(--transition-fast);
}

.sue-connexion-popup > table tr td:first-child {
  border-right: 1px solid var(--color-gray-200);
}

.sue-connexion-popup > table tr td.active {
  color: var(--color-navy-700);
  background-color: var(--color-white);
  border-bottom: 2px solid var(--color-blue-600);
}

.sue-connexion-block {
  padding: 24px;
  font-size: 14px;
}

.sue-connexion-block table {
  width: 100%;
}

.sue-connexion-block textarea {
  width: 100%;
  height: 90px;
  border: 1.5px solid var(--color-gray-300);
  border-radius: var(--radius-sm);
  padding: 8px 10px;
  font-family: inherit;
  font-size: 14px;
  resize: vertical;
}

.sue-connexion-block input {
  border: 1.5px solid var(--color-gray-300);
  border-radius: var(--radius-sm);
  height: 34px;
  padding: 0 10px;
  font-family: inherit;
  font-size: 14px;
  width: 180px;
}

.sue-connexion-block input:focus,
.sue-connexion-block textarea:focus {
  outline: none;
  border-color: var(--color-blue-500);
  box-shadow: 0 0 0 3px rgba(21,101,192,.12);
}

.sue-buttons-block {
  text-align: center;
  margin-top: 20px;
  display: flex;
  justify-content: center;
  gap: 12px;
}

.sue-cancel-button,
.sue-connexion-button {
  border-radius: var(--radius-md);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 9px 22px;
  font-size: 14px;
  font-weight: 600;
  font-family: inherit;
  transition: all var(--transition-fast);
  letter-spacing: 0.02em;
}

.sue-cancel-button {
  border: 1.5px solid var(--color-gray-300);
  color: var(--color-gray-600);
  background: var(--color-white);
}

.sue-cancel-button:hover {
  border-color: var(--color-gray-500);
  color: var(--color-gray-800);
  background: var(--color-gray-100);
}

.sue-connexion-button {
  background: linear-gradient(135deg, var(--color-blue-600), var(--color-blue-500));
  color: var(--color-white);
  border: none;
}

.sue-connexion-button:hover {
  background: linear-gradient(135deg, var(--color-navy-700), var(--color-blue-600));
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(21,101,192,.30);
}

.sue-connexion-note {
  font-size: 12px;
  color: var(--color-gray-500);
  padding: 8px 4px;
  line-height: 1.5;
}

/* ── Loading overlay ──────────────────────────────────────── */

.sue-loading-block,
.sue-mask {
  position: fixed;
  inset: 0;
  z-index: 15;
}

.sue-loading-block {
  background-color: rgba(13, 27, 42, 0.72);
  backdrop-filter: blur(3px);
  background-image: url('/static/images/sue/spinner.gif');
  background-size: 140px 140px;
  background-repeat: no-repeat;
  background-position: center;
}

/* ── Status text ──────────────────────────────────────────── */

.error-txt {
  color: #DC2626;
}

.success-txt {
  color: #059669;
}
