/* ============================================================
   Jevis Assistance — Style Ultra Premium
   Palette : Gold #C9960C | Bleu Jevis #1A3A5C | Blanc #FAFAF8
   Police  : Libre Baskerville (titres) + DM Sans (corps)
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Libre+Baskerville:ital,wght@0,400;0,700;1,400&family=DM+Sans:opsz,wght@9..40,300;9..40,400;9..40,500;9..40,600&display=swap');

/* ─── Tokens ─────────────────────────────────────────────── */
:root {
  --j-gold:        #C9960C;
  --j-gold-light:  #F5E6B8;
  --j-gold-dim:    #8B6A08;
  --j-blue:        #1A3A5C;
  --j-blue-mid:    #2B5282;
  --j-blue-light:  #EBF2FB;
  --j-white:       #FAFAF8;
  --j-bg:          #F7F6F3;
  --j-surface:     #FFFFFF;
  --j-border:      #E8E4DC;
  --j-text:        #1C1C1E;
  --j-muted:       #6B6B6B;
  --j-green:       #2E7D32;
  --j-green-light: #E8F5E9;
  --j-orange:      #E65100;
  --j-orange-light:#FFF3E0;
  --j-purple:      #6A1B9A;
  --j-purple-light:#F3E5F5;
  --j-rose:        #C62828;
  --j-rose-light:  #FFEBEE;
  --j-teal:        #00695C;
  --j-teal-light:  #E0F2F1;
  --j-sky:         #0277BD;
  --j-sky-light:   #E1F5FE;
  --j-radius:      12px;
  --j-radius-lg:   20px;
  --j-radius-sm:   6px;
  --j-shadow:      0 2px 16px rgba(26,58,92,.08);
  --j-shadow-lg:   0 8px 40px rgba(26,58,92,.12);
  --j-transition:  .22s cubic-bezier(.4,0,.2,1);
  --j-font-head:   'Libre Baskerville', Georgia, serif;
  --j-font-body:   'DM Sans', system-ui, sans-serif;
}

/* ─── Base ───────────────────────────────────────────────── */
.jevis-assist-wrap,
.jevis-assist-wrap * { box-sizing: border-box; }

.jevis-assist-wrap {
  font-family: var(--j-font-body);
  color: var(--j-text);
  background: transparent;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px 80px;
}

/* ─── Hero ───────────────────────────────────────────────── */
.jevis-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  padding: 72px 0 80px;
  position: relative;
}

.jevis-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--j-font-body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--j-gold-dim);
  background: var(--j-gold-light);
  border: 1px solid #e8d48a;
  padding: 6px 14px;
  border-radius: 99px;
  margin-bottom: 20px;
}
.jevis-cross { font-size: 11px; }

.jevis-hero__title {
  font-family: var(--j-font-head);
  font-size: clamp(42px, 5vw, 68px);
  font-weight: 700;
  line-height: 1.08;
  color: var(--j-blue);
  margin: 0 0 20px;
}
.jevis-hero__title em {
  font-style: italic;
  color: var(--j-gold);
}

.jevis-hero__sub {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--j-muted);
  margin: 0 0 16px;
}

.jevis-hero__desc {
  font-size: 17px;
  line-height: 1.65;
  color: var(--j-muted);
  margin: 0 0 40px;
  max-width: 480px;
}

.jevis-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* Hero visual */
.jevis-hero__visual {
  position: relative;
  height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.jevis-hero__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(50px);
  opacity: .35;
}
.jevis-hero__orb--1 { width: 300px; height: 300px; background: var(--j-gold-light); top: 10%;  left: 5%; }
.jevis-hero__orb--2 { width: 220px; height: 220px; background: var(--j-blue-light); top: 40%;  right: 5%; }
.jevis-hero__orb--3 { width: 160px; height: 160px; background: #d4f4e2;             bottom: 5%; left: 30%; }

.jevis-verse {
  position: relative;
  z-index: 2;
  background: rgba(255,255,255,.9);
  border: 1px solid var(--j-border);
  border-left: 4px solid var(--j-gold);
  border-radius: var(--j-radius);
  padding: 28px 32px;
  max-width: 340px;
  box-shadow: var(--j-shadow-lg);
  backdrop-filter: blur(8px);
}
.jevis-verse__text {
  display: block;
  font-family: var(--j-font-head);
  font-style: italic;
  font-size: 17px;
  line-height: 1.55;
  color: var(--j-blue);
  margin-bottom: 10px;
}
.jevis-verse__ref {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--j-gold-dim);
}

/* ─── Buttons ────────────────────────────────────────────── */
.jevis-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: var(--j-radius-sm);
  font-family: var(--j-font-body);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--j-transition);
  line-height: 1;
  white-space: nowrap;
}
.jevis-btn--primary {
  background: var(--j-blue);
  color: #fff;
  border-color: var(--j-blue);
}
.jevis-btn--primary:hover { background: var(--j-blue-mid); border-color: var(--j-blue-mid); color: #fff; }
.jevis-btn--secondary {
  background: var(--j-gold);
  color: #fff;
  border-color: var(--j-gold);
}
.jevis-btn--secondary:hover { background: var(--j-gold-dim); border-color: var(--j-gold-dim); color: #fff; }
.jevis-btn--outline {
  background: transparent;
  color: var(--j-blue);
  border-color: var(--j-blue);
}
.jevis-btn--outline:hover { background: var(--j-blue-light); }
.jevis-btn--success { background: var(--j-green); color: #fff; border-color: var(--j-green); }
.jevis-btn--lg { padding: 16px 32px; font-size: 16px; border-radius: var(--j-radius-sm); }
.jevis-btn--sm { padding: 8px 14px; font-size: 13px; }

/* ─── Section ────────────────────────────────────────────── */
.jevis-section { padding: 64px 0; }
.jevis-section__header {
  text-align: center;
  margin-bottom: 48px;
}
.jevis-section__header h2 {
  font-family: var(--j-font-head);
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 700;
  color: var(--j-blue);
  margin: 0 0 12px;
}
.jevis-section__header p {
  font-size: 16px;
  color: var(--j-muted);
  margin: 0;
}
.jevis-section__cta { text-align: center; margin-top: 40px; }
.jevis-section-title {
  font-family: var(--j-font-head);
  font-size: 22px;
  color: var(--j-blue);
  margin: 0 0 24px;
  font-weight: 700;
}

/* ─── Grids ──────────────────────────────────────────────── */
.jevis-grid { display: grid; gap: 20px; }
.jevis-grid--categories { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.jevis-grid--coordinators { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.jevis-grid--resources { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.jevis-grid--courses { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.jevis-grid--services { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }

/* ─── Category cards ─────────────────────────────────────── */
.jevis-cat-card {
  display: flex;
  flex-direction: column;
  background: var(--j-surface);
  border: 1.5px solid var(--j-border);
  border-radius: var(--j-radius);
  padding: 28px 24px;
  text-decoration: none;
  color: var(--j-text);
  transition: all var(--j-transition);
  position: relative;
  overflow: hidden;
}
.jevis-cat-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--j-shadow-lg);
  border-color: transparent;
}
.jevis-cat-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  border-radius: var(--j-radius) var(--j-radius) 0 0;
}

.jevis-cat-card--blue::before   { background: var(--j-blue); }
.jevis-cat-card--green::before  { background: var(--j-green); }
.jevis-cat-card--orange::before { background: var(--j-orange); }
.jevis-cat-card--purple::before { background: var(--j-purple); }
.jevis-cat-card--rose::before   { background: var(--j-rose); }
.jevis-cat-card--teal::before   { background: var(--j-teal); }
.jevis-cat-card--sky::before    { background: var(--j-sky); }
.jevis-cat-card--gold::before   { background: var(--j-gold); }

.jevis-cat-card:hover.jevis-cat-card--blue   { background: var(--j-blue-light); }
.jevis-cat-card:hover.jevis-cat-card--green  { background: var(--j-green-light); }
.jevis-cat-card:hover.jevis-cat-card--orange { background: var(--j-orange-light); }
.jevis-cat-card:hover.jevis-cat-card--purple { background: var(--j-purple-light); }
.jevis-cat-card:hover.jevis-cat-card--rose   { background: var(--j-rose-light); }
.jevis-cat-card:hover.jevis-cat-card--teal   { background: var(--j-teal-light); }
.jevis-cat-card:hover.jevis-cat-card--sky    { background: var(--j-sky-light); }
.jevis-cat-card:hover.jevis-cat-card--gold   { background: var(--j-gold-light); }

.jevis-cat-card__icon  { font-size: 32px; margin-bottom: 16px; display: block; }
.jevis-cat-card__title { font-family: var(--j-font-head); font-size: 18px; font-weight: 700; color: var(--j-blue); margin: 0 0 8px; }
.jevis-cat-card__desc  { font-size: 14px; color: var(--j-muted); line-height: 1.5; flex: 1; margin: 0 0 16px; }
.jevis-cat-card__arrow { font-size: 18px; color: var(--j-gold); align-self: flex-end; transition: transform var(--j-transition); }
.jevis-cat-card:hover .jevis-cat-card__arrow { transform: translateX(4px); }

/* ─── Stats ──────────────────────────────────────────────── */
.jevis-stats {
  background: var(--j-blue);
  border-radius: var(--j-radius-lg);
  margin: 8px 0;
}
.jevis-stats__inner {
  display: flex;
  justify-content: space-around;
  padding: 48px 32px;
  flex-wrap: wrap;
  gap: 24px;
}
.jevis-stat { text-align: center; }
.jevis-stat__number {
  display: block;
  font-family: var(--j-font-head);
  font-size: 42px;
  font-weight: 700;
  color: var(--j-gold);
  line-height: 1;
  margin-bottom: 8px;
}
.jevis-stat__label {
  font-size: 14px;
  color: rgba(255,255,255,.7);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .06em;
}

/* ─── AI teaser ──────────────────────────────────────────── */
.jevis-ai-teaser {
  background: linear-gradient(135deg, var(--j-blue-light) 0%, var(--j-gold-light) 100%);
  border-radius: var(--j-radius-lg);
  padding: 64px 48px;
}
.jevis-ai-teaser__content { max-width: 680px; margin: 0 auto; text-align: center; }
.jevis-ai-teaser__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  background: var(--j-gold);
  color: #fff;
  border-radius: 50%;
  font-size: 22px;
  margin-bottom: 20px;
}
.jevis-ai-teaser h2 { font-family: var(--j-font-head); font-size: 30px; color: var(--j-blue); margin: 0 0 12px; }
.jevis-ai-teaser p { color: var(--j-muted); font-size: 16px; margin: 0 0 32px; }

/* ─── Steps ──────────────────────────────────────────────── */
.jevis-steps {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 24px;
}
.jevis-step {
  background: var(--j-surface);
  border: 1.5px solid var(--j-border);
  border-radius: var(--j-radius);
  padding: 32px 24px;
  text-align: center;
  position: relative;
}
.jevis-step__num {
  font-family: var(--j-font-head);
  font-size: 48px;
  font-weight: 700;
  color: var(--j-gold-light);
  line-height: 1;
  margin-bottom: 8px;
}
.jevis-step__icon { font-size: 28px; margin-bottom: 12px; display: block; }
.jevis-step__title { font-family: var(--j-font-head); font-size: 17px; color: var(--j-blue); margin: 0 0 8px; font-weight: 700; }
.jevis-step__desc  { font-size: 14px; color: var(--j-muted); margin: 0; line-height: 1.5; }

/* ─── Coordinator cards ──────────────────────────────────── */
.jevis-coordinator-card {
  display: flex;
  gap: 16px;
  background: var(--j-surface);
  border: 1.5px solid var(--j-border);
  border-radius: var(--j-radius);
  padding: 24px;
  transition: box-shadow var(--j-transition);
}
.jevis-coordinator-card:hover { box-shadow: var(--j-shadow-lg); }
.jevis-coordinator-card__avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 2px solid var(--j-gold-light);
}
.jevis-coordinator-card__avatar--placeholder {
  background: var(--j-blue-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--j-blue-mid);
}
.jevis-coordinator-card__body h4 { font-family: var(--j-font-head); font-size: 17px; margin: 0 0 8px; color: var(--j-blue); }
.jevis-coordinator-card__excerpt { font-size: 13px; color: var(--j-muted); margin: 8px 0; }
.jevis-coordinator-card__actions { display: flex; gap: 8px; margin-top: 12px; }

/* ─── Tags & badges ──────────────────────────────────────── */
.jevis-tag {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 99px;
  font-size: 12px;
  font-weight: 600;
  background: var(--j-blue-light);
  color: var(--j-blue-mid);
  text-transform: capitalize;
}
.jevis-tag--light { background: var(--j-bg); color: var(--j-muted); }

.jevis-badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 99px;
  font-size: 12px;
  font-weight: 600;
}
.jevis-badge--nouveau, .jevis-badge--new { background: #E3F2FD; color: #1565C0; }
.jevis-badge--en-cours { background: #FFF9C4; color: #F57F17; }
.jevis-badge--en-attente { background: var(--j-orange-light); color: var(--j-orange); }
.jevis-badge--r-solu, .jevis-badge--résolu { background: var(--j-green-light); color: var(--j-green); }
.jevis-badge--archiv-  { background: var(--j-bg); color: var(--j-muted); }

.jevis-tag-cloud { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }

/* ─── Forms ──────────────────────────────────────────────── */
.jevis-form-wrap {
  max-width: 760px;
  margin: 0 auto;
  background: var(--j-surface);
  border: 1.5px solid var(--j-border);
  border-radius: var(--j-radius-lg);
  padding: 48px;
  box-shadow: var(--j-shadow);
}

.jevis-form__group { display: flex; flex-direction: column; gap: 6px; }
.jevis-form__group label { font-size: 14px; font-weight: 600; color: var(--j-blue); }
.jevis-form__group input,
.jevis-form__group select,
.jevis-form__group textarea {
  padding: 11px 14px;
  border: 1.5px solid var(--j-border);
  border-radius: var(--j-radius-sm);
  font-family: var(--j-font-body);
  font-size: 15px;
  color: var(--j-text);
  background: var(--j-white);
  transition: border-color var(--j-transition);
  width: 100%;
}
.jevis-form__group input:focus,
.jevis-form__group select:focus,
.jevis-form__group textarea:focus {
  outline: none;
  border-color: var(--j-blue);
  box-shadow: 0 0 0 3px var(--j-blue-light);
}

.jevis-form__row { display: grid; gap: 20px; margin-bottom: 20px; }
.jevis-form__row--2 { grid-template-columns: 1fr 1fr; }
.jevis-form__row--3 { grid-template-columns: 1fr 1fr 1fr; }

.jevis-form__submit { margin-top: 32px; text-align: center; }

/* Radio / Checkbox groups */
.jevis-radio-group, .jevis-checkbox-group { display: flex; flex-wrap: wrap; gap: 10px; }
.jevis-radio, .jevis-checkbox {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-size: 14px;
  padding: 7px 14px;
  border: 1.5px solid var(--j-border);
  border-radius: var(--j-radius-sm);
  transition: all var(--j-transition);
}
.jevis-radio:has(input:checked),
.jevis-checkbox:has(input:checked) {
  background: var(--j-blue-light);
  border-color: var(--j-blue);
  color: var(--j-blue);
}
.jevis-radio input, .jevis-checkbox input { margin: 0; }
.jevis-checkbox--consent {
  padding: 12px 16px;
  background: var(--j-bg);
  border-radius: var(--j-radius-sm);
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.jevis-checkbox--consent a { color: var(--j-gold-dim); }

/* Urgency */
.jevis-urgency-group { display: flex; gap: 10px; }
.jevis-urgency {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 16px;
  border: 1.5px solid var(--j-border);
  border-radius: var(--j-radius-sm);
  cursor: pointer; font-size: 14px; font-weight: 600;
  transition: all var(--j-transition);
}
.jevis-urgency--faible:has(input:checked)  { background: var(--j-green-light);  border-color: var(--j-green);  color: var(--j-green); }
.jevis-urgency--moyenne:has(input:checked) { background: var(--j-orange-light); border-color: var(--j-orange); color: var(--j-orange); }
.jevis-urgency--lev-e:has(input:checked)   { background: var(--j-rose-light);   border-color: var(--j-rose);   color: var(--j-rose); }
.jevis-urgency input { margin: 0; }

/* ─── Page header ────────────────────────────────────────── */
.jevis-page-header {
  text-align: center;
  padding: 56px 0 48px;
}
.jevis-page-header__icon { font-size: 48px; margin-bottom: 16px; display: block; }
.jevis-page-header h1 {
  font-family: var(--j-font-head);
  font-size: clamp(28px, 3.5vw, 44px);
  color: var(--j-blue);
  margin: 0 0 12px;
}
.jevis-page-header p { font-size: 16px; color: var(--j-muted); margin: 0; }

/* ─── Notices ────────────────────────────────────────────── */
.jevis-notice {
  padding: 16px 20px;
  border-radius: var(--j-radius-sm);
  margin-bottom: 24px;
  font-size: 14px;
}
.jevis-notice--info    { background: var(--j-blue-light);   border-left: 4px solid var(--j-blue); }
.jevis-notice--warning { background: var(--j-orange-light); border-left: 4px solid var(--j-orange); }
.jevis-notice--success { background: var(--j-green-light);  border-left: 4px solid var(--j-green); }

/* ─── FAQ Accordion ──────────────────────────────────────── */
.jevis-accordion { max-width: 760px; margin: 0 auto; }
.jevis-accordion__item {
  border: 1.5px solid var(--j-border);
  border-radius: var(--j-radius);
  margin-bottom: 10px;
  overflow: hidden;
}
.jevis-accordion__trigger {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 20px 24px;
  background: var(--j-surface);
  border: none;
  cursor: pointer;
  font-family: var(--j-font-body);
  font-size: 16px;
  font-weight: 600;
  color: var(--j-blue);
  text-align: left;
  transition: background var(--j-transition);
}
.jevis-accordion__trigger:hover { background: var(--j-blue-light); }
.jevis-accordion__trigger[aria-expanded="true"] { background: var(--j-blue-light); }
.jevis-accordion__icon { transition: transform var(--j-transition); flex-shrink: 0; }
.jevis-accordion__trigger[aria-expanded="true"] .jevis-accordion__icon { transform: rotate(180deg); }
.jevis-accordion__panel { padding: 0 24px; max-height: 0; overflow: hidden; transition: max-height .3s ease, padding .3s ease; }
.jevis-accordion__panel.is-open { max-height: 400px; padding: 0 24px 20px; }
.jevis-accordion__panel p { font-size: 15px; color: var(--j-muted); line-height: 1.65; margin: 0; }

/* ─── AI Chat ────────────────────────────────────────────── */
.jevis-ai-chat {
  background: var(--j-surface);
  border: 1.5px solid var(--j-border);
  border-radius: var(--j-radius-lg);
  overflow: hidden;
  max-width: 760px;
  margin: 0 auto;
  box-shadow: var(--j-shadow);
}

.jevis-ai-chat__messages {
  min-height: 200px;
  max-height: 420px;
  overflow-y: auto;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  scroll-behavior: smooth;
}

.jevis-chat-msg { display: flex; gap: 12px; align-items: flex-start; }
.jevis-chat-msg--user { flex-direction: row-reverse; }

.jevis-chat-msg__avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--j-gold);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  flex-shrink: 0;
}
.jevis-chat-msg--user .jevis-chat-msg__avatar { background: var(--j-blue); }

.jevis-chat-msg__bubble {
  background: var(--j-bg);
  border-radius: var(--j-radius);
  padding: 12px 16px;
  font-size: 14px;
  line-height: 1.6;
  max-width: 75%;
  color: var(--j-text);
}
.jevis-chat-msg--user .jevis-chat-msg__bubble { background: var(--j-blue-light); color: var(--j-blue); }

.jevis-chat-msg--typing .jevis-chat-msg__bubble { color: var(--j-muted); font-style: italic; }

/* Suggestion pills */
.jevis-chat-suggestions { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 24px 16px; }
.jevis-chat-pill {
  background: var(--j-white);
  border: 1.5px solid var(--j-border);
  border-radius: 99px;
  padding: 6px 14px;
  font-size: 13px;
  cursor: pointer;
  font-family: var(--j-font-body);
  color: var(--j-blue);
  transition: all var(--j-transition);
}
.jevis-chat-pill:hover { background: var(--j-blue-light); border-color: var(--j-blue); }

/* Chat input */
.jevis-ai-chat__input {
  display: flex;
  gap: 8px;
  padding: 16px 20px;
  border-top: 1.5px solid var(--j-border);
  background: var(--j-white);
}
.jevis-ai-chat__input textarea {
  flex: 1;
  border: 1.5px solid var(--j-border);
  border-radius: var(--j-radius-sm);
  padding: 10px 14px;
  font-family: var(--j-font-body);
  font-size: 14px;
  resize: none;
  outline: none;
  transition: border-color var(--j-transition);
  min-height: 42px;
  max-height: 120px;
}
.jevis-ai-chat__input textarea:focus { border-color: var(--j-blue); box-shadow: 0 0 0 3px var(--j-blue-light); }

.jevis-chat-send-btn {
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--j-blue); color: #fff;
  border: none; cursor: pointer; display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; transition: background var(--j-transition);
}
.jevis-chat-send-btn:hover { background: var(--j-blue-mid); }
.jevis-ai-chat__disclaimer { font-size: 12px; color: var(--j-muted); padding: 8px 20px 14px; margin: 0; }
.jevis-ai-chat__disclaimer a { color: var(--j-gold-dim); }

/* ─── Requests list ──────────────────────────────────────── */
.jevis-requests-list { max-width: 760px; margin: 0 auto; }
.jevis-request-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 24px;
  background: var(--j-surface);
  border: 1.5px solid var(--j-border);
  border-radius: var(--j-radius);
  margin-bottom: 10px;
  gap: 16px;
}
.jevis-request-row__info h4 { font-size: 15px; font-weight: 600; color: var(--j-blue); margin: 0 0 6px; }
.jevis-date { font-size: 12px; color: var(--j-muted); margin-left: 8px; }

/* ─── Dashboard ──────────────────────────────────────────── */
.jevis-dashboard-header {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 48px 0 32px;
  border-bottom: 1.5px solid var(--j-border);
  margin-bottom: 32px;
}
.jevis-avatar { border-radius: 50%; border: 3px solid var(--j-gold-light); }
.jevis-dashboard-header h1 { font-family: var(--j-font-head); font-size: 28px; color: var(--j-blue); margin: 0 0 6px; }
.jevis-dashboard-header p { color: var(--j-muted); font-size: 15px; margin: 0; }
.jevis-dashboard-header .jevis-btn { margin-left: auto; }

.jevis-dashboard-quick-links {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}
.jevis-quick-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 16px 20px;
  background: var(--j-surface);
  border: 1.5px solid var(--j-border);
  border-radius: var(--j-radius);
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  color: var(--j-blue);
  transition: all var(--j-transition);
  flex: 1;
  min-width: 100px;
  text-align: center;
}
.jevis-quick-link__icon { font-size: 22px; }
.jevis-quick-link:hover { background: var(--j-blue-light); border-color: var(--j-blue); }

.jevis-dashboard-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 40px;
}

.jevis-dashboard-panel {
  background: var(--j-surface);
  border: 1.5px solid var(--j-border);
  border-radius: var(--j-radius);
  padding: 24px;
}
.jevis-dashboard-panel--accent {
  background: linear-gradient(135deg, var(--j-blue-light), var(--j-gold-light));
  border-color: transparent;
}
.jevis-dashboard-panel__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}
.jevis-dashboard-panel__header h3 { font-size: 16px; font-weight: 700; color: var(--j-blue); margin: 0; }
.jevis-link-sm { font-size: 13px; color: var(--j-gold-dim); text-decoration: none; }
.jevis-link-sm:hover { text-decoration: underline; }

.jevis-dashboard-list { list-style: none; padding: 0; margin: 0; }
.jevis-dashboard-list__item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid var(--j-border);
  gap: 12px;
}
.jevis-dashboard-list__item:last-child { border-bottom: none; }
.jevis-dashboard-list__title { font-size: 14px; color: var(--j-text); font-weight: 500; flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.jevis-dashboard-list__item--course a { color: var(--j-blue); text-decoration: none; font-size: 13px; }

.jevis-mini-progress { height: 4px; background: var(--j-border); border-radius: 99px; width: 60px; flex-shrink: 0; }
.jevis-mini-progress__fill { height: 100%; background: var(--j-gold); border-radius: 99px; }

.jevis-dashboard-ai { margin-top: 40px; }

/* ─── Empty states ───────────────────────────────────────── */
.jevis-empty-state {
  text-align: center;
  padding: 80px 40px;
}
.jevis-empty-state__icon { font-size: 48px; margin-bottom: 16px; display: block; }
.jevis-empty-state h3 { font-family: var(--j-font-head); font-size: 22px; color: var(--j-blue); margin: 0 0 10px; }
.jevis-empty-state p { color: var(--j-muted); margin: 0 0 24px; }

.jevis-empty-inline {
  padding: 20px;
  background: var(--j-bg);
  border-radius: var(--j-radius-sm);
  text-align: center;
}
.jevis-empty-inline p { font-size: 14px; color: var(--j-muted); margin: 0; }
.jevis-empty-inline a { color: var(--j-gold-dim); }

/* ─── Resource card ──────────────────────────────────────── */
.jevis-resource-card {
  display: flex;
  flex-direction: column;
  background: var(--j-surface);
  border: 1.5px solid var(--j-border);
  border-radius: var(--j-radius);
  overflow: hidden;
  text-decoration: none;
  color: var(--j-text);
  transition: box-shadow var(--j-transition);
}
.jevis-resource-card:hover { box-shadow: var(--j-shadow-lg); }
.jevis-resource-card__thumb { width: 100%; height: 160px; object-fit: cover; display: block; }
.jevis-resource-card__body { padding: 20px; flex: 1; }
.jevis-resource-card__body h4 { font-size: 15px; font-weight: 700; color: var(--j-blue); margin: 8px 0 6px; }
.jevis-resource-card__body p { font-size: 13px; color: var(--j-muted); line-height: 1.5; margin: 0; }

/* ─── Course card ────────────────────────────────────────── */
.jevis-course-card {
  display: flex; flex-direction: column;
  background: var(--j-surface);
  border: 1.5px solid var(--j-border);
  border-radius: var(--j-radius);
  overflow: hidden;
  text-decoration: none; color: var(--j-text);
  transition: box-shadow var(--j-transition);
}
.jevis-course-card:hover { box-shadow: var(--j-shadow-lg); }
.jevis-course-card img { width: 100%; height: 140px; object-fit: cover; display: block; }
.jevis-course-card__body { padding: 16px; flex: 1; display: flex; flex-direction: column; gap: 8px; }
.jevis-course-card__body h4 { font-size: 14px; font-weight: 700; color: var(--j-blue); margin: 0; }
.jevis-course-card__body p { font-size: 13px; color: var(--j-muted); flex: 1; margin: 0; }
.jevis-course-card--enrolled { border-color: var(--j-green); }

/* ─── Service card ───────────────────────────────────────── */
.jevis-service-card {
  background: var(--j-surface);
  border: 1.5px solid var(--j-border);
  border-radius: var(--j-radius);
  padding: 28px 24px;
  text-align: center;
  transition: box-shadow var(--j-transition);
}
.jevis-service-card:hover { box-shadow: var(--j-shadow-lg); }
.jevis-service-card h3 { font-family: var(--j-font-head); font-size: 18px; color: var(--j-blue); margin: 0 0 8px; }
.jevis-service-card__duration { display: flex; align-items: center; justify-content: center; gap: 4px; font-size: 13px; color: var(--j-muted); margin-bottom: 20px; }

/* ─── PeepSo widget ──────────────────────────────────────── */
.jevis-peepso-widget {
  background: var(--j-surface);
  border: 1.5px solid var(--j-border);
  border-radius: var(--j-radius);
  overflow: hidden;
  margin-bottom: 20px;
}
.jevis-peepso-widget__header {
  background: var(--j-blue);
  color: #fff;
  padding: 14px 18px;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.jevis-cross-sm { font-size: 12px; }
.jevis-peepso-widget__links { list-style: none; padding: 12px 0; margin: 0; }
.jevis-peepso-widget__links li a {
  display: block;
  padding: 8px 18px;
  font-size: 14px;
  color: var(--j-text);
  text-decoration: none;
  transition: background var(--j-transition);
}
.jevis-peepso-widget__links li a:hover { background: var(--j-blue-light); color: var(--j-blue); }

.jevis-peepso-widget__progress { padding: 12px 18px 16px; border-top: 1px solid var(--j-border); }
.jevis-progress-label { display: flex; justify-content: space-between; font-size: 12px; font-weight: 600; color: var(--j-muted); margin-bottom: 6px; }
.jevis-progress-bar { height: 6px; background: var(--j-border); border-radius: 99px; }
.jevis-progress-bar__fill { height: 100%; background: var(--j-gold); border-radius: 99px; transition: width .5s ease; }

/* ─── FAQ chat section ───────────────────────────────────── */
.jevis-faq-chat { max-width: 760px; margin: 0 auto 48px; }
.jevis-faq-chat__hint { margin-bottom: 20px; }
.jevis-faq-chat__hint p { font-size: 16px; color: var(--j-muted); text-align: center; }
.jevis-faq-list { max-width: 760px; margin: 0 auto; }

/* ─── Admin styles ───────────────────────────────────────── */
.jevis-admin-wrap { max-width: 960px; }
.jevis-admin-cards { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 32px; }
.jevis-admin-card {
  display: flex;
  align-items: center;
  gap: 16px;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 20px 24px;
  min-width: 220px;
}
.jevis-admin-card__icon { font-size: 28px; }
.jevis-admin-card__body strong { display: block; font-size: 28px; font-weight: 700; color: #1A3A5C; }
.jevis-admin-card__body span  { font-size: 13px; color: #6b6b6b; }

/* ─── Booking services ───────────────────────────────────── */
.jevis-booking-services { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 20px; }

/* ─── Profile button ─────────────────────────────────────── */
.jevis-profile-btn { margin-top: 12px; }

/* ─── Responsive ─────────────────────────────────────────── */
@media (max-width: 768px) {
  .jevis-hero { grid-template-columns: 1fr; text-align: center; padding: 40px 0 48px; }
  .jevis-hero__visual { display: none; }
  .jevis-hero__actions { justify-content: center; }
  .jevis-hero__desc { max-width: 100%; }

  .jevis-form-wrap { padding: 24px 20px; }
  .jevis-form__row--2,
  .jevis-form__row--3 { grid-template-columns: 1fr; }

  .jevis-dashboard-grid { grid-template-columns: 1fr; }
  .jevis-dashboard-header { flex-wrap: wrap; padding-top: 24px; }
  .jevis-dashboard-header .jevis-btn { margin-left: 0; width: 100%; justify-content: center; }

  .jevis-stats__inner { flex-direction: column; align-items: center; }

  .jevis-steps { grid-template-columns: 1fr; }

  .jevis-ai-teaser { padding: 40px 24px; }
}
