/* =========================================================
   Assistant Candidatures IA — page intégrée Aubert AI
   Complément au CSS principal /css/styles.css
   ========================================================= */

.cv-service-card-section {
  padding: 28px 0 16px 0;
}

.cv-service-card {
  width: 100%;
  padding: 26px 32px;
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.96), rgba(17, 24, 39, 0.94));
  border: 1px solid rgba(96, 165, 250, 0.24);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.30);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.cv-service-title h1 {
  margin: 8px 0 8px 0;
  color: #ffffff;
  font-size: 2rem;
  line-height: 1.15;
  font-weight: 900;
}

.cv-service-title p {
  margin: 0;
  color: #cbd5e1;
  font-size: 1.05rem;
}

.cv-service-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 16px;
  flex-wrap: wrap;
}

.user-profile-box {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 360px;
  max-width: 520px;
  padding: 14px 18px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #ffffff;
}

.user-avatar {
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  border-radius: 999px;
  background: linear-gradient(135deg, #2563eb, #06b6d4);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
}

.profile-name {
  color: #ffffff;
  font-weight: 800;
}

.profile-meta,
.profile-target {
  color: #cbd5e1;
  font-size: 0.9rem;
}

.header-buttons {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.header-buttons button,
.logout-btn {
  min-height: 42px;
  padding: 0 16px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.16);
  background: #ffffff;
  color: #111827;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}

.logout-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.08);
  color: #ffffff;
}

.cv-app-placeholder {
  padding-top: 48px;
}

@media (max-width: 1100px) {
  .cv-service-card {
    flex-direction: column;
    align-items: flex-start;
  }

  .cv-service-actions {
    width: 100%;
    justify-content: flex-start;
  }

  .user-profile-box {
    min-width: auto;
    width: 100%;
  }
}

@media (max-width: 760px) {
  .cv-service-card {
    padding: 22px;
  }

  .header-buttons {
    width: 100%;
  }

  .header-buttons button,
  .logout-btn {
    width: 100%;
  }
}

/* Cards cliquables vers la zone applicative */
.cv-click-card {
  display: block;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.cv-click-card:hover {
  transform: translateY(-4px);
  border-color: rgba(56, 189, 248, 0.55);
  box-shadow: 0 24px 70px rgba(37, 99, 235, 0.28);
}

.cv-click-card h4,
.cv-click-card p {
  text-decoration: none;
}

.cv-card-link {
  display: inline-flex;
  margin-top: 18px;
  color: #60a5fa;
  font-weight: 800;
}

/* Cards cliquables vers la zone applicative */
.cv-click-card {
  display: block;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.cv-click-card:hover {
  transform: translateY(-4px);
  border-color: rgba(56, 189, 248, 0.55);
  box-shadow: 0 24px 70px rgba(37, 99, 235, 0.28);
}

.cv-click-card h4,
.cv-click-card p {
  text-decoration: none;
}

.cv-card-link {
  display: inline-flex;
  margin-top: 18px;
  color: #60a5fa;
  font-weight: 800;
}

/* =========================================================
   Sections fonctionnelles Assistant Candidatures IA
   ========================================================= */

.cv-click-card {
  display: block;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.cv-click-card:hover {
  transform: translateY(-4px);
  border-color: rgba(56, 189, 248, 0.55);
  box-shadow: 0 24px 70px rgba(37, 99, 235, 0.28);
}

.cv-click-card h4,
.cv-click-card p {
  text-decoration: none;
}

.cv-card-link {
  display: inline-flex;
  margin-top: 18px;
  color: #60a5fa;
  font-weight: 800;
}

.cv-function-section {
  scroll-margin-top: 110px;
}

.cv-function-card {
  max-width: 1180px;
  margin: 34px auto 0 auto;
  padding: 30px;
  border-radius: 22px;
  background: rgba(15, 23, 42, 0.92);
  border: 1px solid rgba(96, 165, 250, 0.24);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
}

.cv-function-card label {
  display: block;
  margin: 16px 0 8px;
  color: #e5e7eb;
  font-weight: 800;
}

.cv-function-card input,
.cv-function-card textarea,
.cv-function-card select {
  width: 100%;
  padding: 13px 14px;
  border-radius: 12px;
  border: 1px solid rgba(148, 163, 184, 0.34);
  background: rgba(255, 255, 255, 0.96);
  color: #111827;
  font: inherit;
}

.cv-function-card textarea {
  resize: vertical;
}

.cv-form-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.cv-action-row {
  margin-top: 18px;
}

.cv-secondary-action {
  margin-top: 18px;
  display: inline-flex;
  width: auto;
}

.list-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

#count {
  display: inline-flex;
  min-width: 30px;
  height: 30px;
  padding: 0 10px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(37, 99, 235, 0.18);
  color: #67e8f9;
  font-weight: 900;
}

.table-wrapper {
  width: 100%;
  overflow-x: auto;
}

.cv-function-card table {
  width: 100%;
  border-collapse: collapse;
  color: #e5e7eb;
}

.cv-function-card th,
.cv-function-card td {
  padding: 14px 12px;
  border-bottom: 1px solid rgba(148, 163, 184, 0.22);
  text-align: left;
  vertical-align: top;
}

.cv-function-card th {
  color: #93c5fd;
  font-size: 0.88rem;
  font-weight: 900;
}

.cv-function-card td {
  color: #e5e7eb;
  font-size: 0.92rem;
}

.cv-function-card td button {
  margin: 3px;
  padding: 7px 10px;
  border-radius: 8px;
  border: 1px solid rgba(148, 163, 184, 0.32);
  background: rgba(255, 255, 255, 0.95);
  color: #111827;
  font-weight: 800;
  cursor: pointer;
}

.detail-card {
  width: 100%;
}

#status {
  color: #67e8f9;
  font-weight: 800;
}

@media (max-width: 760px) {
  .cv-form-grid-2 {
    grid-template-columns: 1fr;
  }

  .cv-function-card {
    padding: 22px;
  }
}

/* Badges de statut des candidatures */
.status-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 900;
  white-space: nowrap;
}

.status-analyzed {
  background: rgba(59, 130, 246, 0.16);
  color: #1d4ed8;
  border: 1px solid rgba(59, 130, 246, 0.28);
}

.status-todo {
  background: rgba(251, 191, 36, 0.20);
  color: #b45309;
  border: 1px solid rgba(251, 191, 36, 0.34);
}

.status-applied {
  background: rgba(34, 197, 94, 0.18);
  color: #15803d;
  border: 1px solid rgba(34, 197, 94, 0.30);
}

.status-followup {
  background: rgba(99, 102, 241, 0.16);
  color: #4338ca;
  border: 1px solid rgba(99, 102, 241, 0.30);
}

.status-rejected {
  background: rgba(239, 68, 68, 0.16);
  color: #b91c1c;
  border: 1px solid rgba(239, 68, 68, 0.30);
}

.status-default {
  background: rgba(148, 163, 184, 0.18);
  color: #334155;
  border: 1px solid rgba(148, 163, 184, 0.30);
}

/* =========================================================
   Profil & CV utilisateur
   ========================================================= */

.cv-profile-section {
  padding-top: 28px;
  padding-bottom: 28px;
}

.profile-edit-card {
  margin-top: 0;
}

.profile-action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

#profileSaveStatus,
#cvUploadStatus {
  margin-top: 14px;
  color: #67e8f9;
  font-weight: 800;
}

.profile-cv-list-wrapper {
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid rgba(148, 163, 184, 0.24);
}

.profile-cv-list-wrapper h4 {
  margin-bottom: 14px;
  color: #e5e7eb;
}

.profile-cv-list {
  display: grid;
  gap: 12px;
}

.profile-cv-list > div,
.profile-cv-list article {
  padding: 16px;
  border-radius: 16px;
  background: rgba(15, 23, 42, 0.78);
  border: 1px solid rgba(148, 163, 184, 0.24);
  color: #e5e7eb;
}

.profile-cv-list button {
  margin: 6px 6px 0 0;
  padding: 8px 12px;
  border-radius: 10px;
  border: 1px solid rgba(148, 163, 184, 0.32);
  background: rgba(255, 255, 255, 0.96);
  color: #111827;
  font-weight: 800;
  cursor: pointer;
}

/* =========================================================
   Assistant Candidatures IA - accueil multi-pages
   ========================================================= */

.cv-home-hero {
  padding-top: 48px;
  padding-bottom: 32px;
}

.cv-dashboard-section {
  padding-top: 32px;
}

.cv-dashboard-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
  margin-top: 32px;
}

.cv-dashboard-card {
  position: relative;
  min-height: 250px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-decoration: none;
}

.cv-dashboard-card h4 {
  margin-top: 14px;
}

.cv-dashboard-step {
  width: 38px;
  height: 38px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  background: rgba(37, 99, 235, 0.18);
  border: 1px solid rgba(96, 165, 250, 0.35);
  color: #ffffff;
}

.cv-home-positioning {
  margin-top: 32px;
}

@media (max-width: 1100px) {
  .cv-dashboard-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  .cv-dashboard-grid {
    grid-template-columns: 1fr;
  }

  .cv-dashboard-card {
    min-height: auto;
  }
}

/* =========================================================
   Assistant Candidatures IA - alignement boutons header pages
   ========================================================= */

.cv-service-actions .header-buttons {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 12px;
  width: 100%;
  margin-top: 14px;
}

.cv-service-actions .header-buttons a,
.cv-service-actions .header-buttons button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  line-height: 1;
  box-sizing: border-box;
  white-space: nowrap;
}

.cv-service-actions .header-buttons .offer-btn,
.cv-service-actions .header-buttons .logout-btn,
.cv-service-actions .header-buttons .cv-secondary-action {
  margin: 0;
}

/* =========================================================
   Assistant Candidatures IA - boutons actions tableau
   ========================================================= */

.cv-table button,
.cv-table .action-btn,
#tableBody button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 14px;
  margin: 4px 5px 4px 0;
  border: 1px solid rgba(96, 165, 250, 0.55);
  border-radius: 9px;
  background: rgba(37, 99, 235, 0.22);
  color: #ffffff;
  font-weight: 700;
  font-size: 13px;
  line-height: 1;
  cursor: pointer;
  box-shadow: none;
  transition: background 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}

.cv-table button:hover,
.cv-table .action-btn:hover,
#tableBody button:hover {
  background: rgba(59, 130, 246, 0.38);
  border-color: rgba(147, 197, 253, 0.85);
  transform: translateY(-1px);
}

.cv-table button:active,
.cv-table .action-btn:active,
#tableBody button:active {
  transform: translateY(0);
}

.cv-table button.danger,
#tableBody button.danger,
#tableBody button[data-action="delete"] {
  border-color: rgba(248, 113, 113, 0.55);
  background: rgba(127, 29, 29, 0.30);
}

.cv-table button.danger:hover,
#tableBody button.danger:hover,
#tableBody button[data-action="delete"]:hover {
  border-color: rgba(252, 165, 165, 0.85);
  background: rgba(185, 28, 28, 0.42);
}

@media (max-width: 700px) {
  .cv-service-actions .header-buttons {
    justify-content: stretch;
    flex-direction: column;
    align-items: stretch;
  }

  .cv-service-actions .header-buttons a,
  .cv-service-actions .header-buttons button {
    width: 100%;
  }
}

/* Alignement boutons page Profil & CV */
.profile-action-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.profile-action-row button,
.profile-action-row .btn-primary,
.profile-action-row .offer-btn {
  height: 48px;
  min-width: 180px;
  padding: 0 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  white-space: nowrap;
  box-sizing: border-box;
}

.profile-action-row #uploadCvBtn {
  min-width: 230px;
}

.profile-action-row #saveProfileBtn {
  min-width: 190px;
}

.profile-action-row #cancelProfileBtn {
  min-width: 120px;
}

/* Alignement des boutons de la page Profil & CV */
.profile-buttons-grid {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.profile-buttons-grid .btn-primary,
.profile-buttons-grid .offer-btn {
  min-width: 190px;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
}

/* Correction alignement boutons Profil & CV */
.profile-buttons-grid {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  max-width: 620px;
}

.profile-buttons-grid .btn-primary,
.profile-buttons-grid .offer-btn,
.profile-buttons-grid a.offer-btn {
  width: 100%;
  height: 46px;
  min-width: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  white-space: nowrap;
}

@media (max-width: 760px) {
  .profile-buttons-grid {
    grid-template-columns: 1fr;
    max-width: 100%;
  }
}

/* Alignement final boutons Profil & CV */
.profile-buttons-grid {
  display: grid !important;
  grid-template-columns: repeat(5, 1fr) !important;
  gap: 12px !important;
  max-width: 100% !important;
  width: 100% !important;
  align-items: stretch !important;
}

.profile-buttons-grid .btn-primary,
.profile-buttons-grid .offer-btn,
.profile-buttons-grid a.offer-btn {
  width: 100% !important;
  height: 46px !important;
  min-width: 0 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  white-space: nowrap !important;
  box-sizing: border-box !important;
}

@media (max-width: 1100px) {
  .profile-buttons-grid {
    grid-template-columns: repeat(3, 1fr) !important;
  }
}

@media (max-width: 760px) {
  .profile-buttons-grid {
    grid-template-columns: 1fr !important;
  }
}

/* Navigation rapide entre pages Assistant Candidatures IA */
.cv-page-nav {
  width: 100%;
  max-width: 1150px;
  margin: 24px auto 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  box-sizing: border-box;
}

.cv-page-nav .offer-btn {
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  white-space: nowrap;
}

@media (max-width: 760px) {
  .cv-page-nav {
    grid-template-columns: 1fr;
  }
}

/* =========================================================
   PATCH FINAL — Accueil Assistant Candidatures IA
   ========================================================= */

.cv-service-card-section {
  padding: 40px 0 24px;
}

.cv-service-card {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center !important;
  gap: 28px;
}

.cv-service-actions {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  gap: 18px !important;
  flex-wrap: nowrap !important;
}

.user-profile-box {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  gap: 14px !important;
  min-width: 360px;
}

.user-profile-box > div:last-child {
  display: block !important;
}

.user-avatar {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.cv-home-hero {
  padding: 64px 0 40px !important;
  text-align: center;
}

.cv-home-hero .page-title {
  max-width: 980px;
  margin: 0 auto 24px auto !important;
  font-size: clamp(2.2rem, 4vw, 4rem);
  line-height: 1.05;
}

.cv-home-hero .hero-subtitle {
  max-width: 900px;
  margin: 0 auto !important;
  color: #cbd5e1;
  font-size: 1.15rem;
  line-height: 1.6;
}

.cv-dashboard-section {
  padding: 48px 0 40px !important;
}

.cv-dashboard-section .section-title,
.cv-dashboard-section .section-intro {
  max-width: 900px;
}

.cv-dashboard-grid {
  width: 100%;
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 24px !important;
  margin-top: 34px !important;
  align-items: stretch !important;
}

.cv-dashboard-card,
.cv-dashboard-card.trust-card {
  position: relative !important;
  min-height: 270px !important;
  padding: 28px !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
  gap: 18px !important;
  border-radius: 22px !important;
  text-decoration: none !important;
  overflow: hidden !important;
}

.cv-dashboard-card h4 {
  margin: 0 !important;
  color: #60a5fa !important;
  font-size: 1.35rem !important;
  line-height: 1.2 !important;
}

.cv-dashboard-card p {
  margin: 0 !important;
  color: #cbd5e1 !important;
  line-height: 1.55 !important;
}

.cv-dashboard-step {
  position: static !important;
  width: 42px !important;
  height: 42px !important;
  flex: 0 0 auto !important;
  border-radius: 999px !important;
  color: #60a5fa !important;
  background: rgba(37, 99, 235, 0.18) !important;
}

.cv-card-link {
  margin-top: auto !important;
  color: #60a5fa !important;
  font-weight: 800 !important;
}

.cv-home-positioning {
  margin-top: 40px !important;
  padding: 64px 0 !important;
}

@media (max-width: 1200px) {
  .cv-dashboard-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .cv-service-card {
    grid-template-columns: 1fr !important;
  }

  .cv-service-actions {
    justify-content: flex-start !important;
  }
}

@media (max-width: 760px) {
  .cv-dashboard-grid {
    grid-template-columns: 1fr !important;
  }

  .cv-service-actions {
    flex-direction: column !important;
    align-items: stretch !important;
  }

  .user-profile-box {
    min-width: 0 !important;
    width: 100% !important;
  }
}


/* Rapport analyse candidature - version multi-pages */
.report-shell {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.report-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: stretch;
  padding: 26px;
  border-radius: 28px;
  background:
    radial-gradient(circle at top left, rgba(60, 130, 246, 0.20), transparent 36%),
    linear-gradient(135deg, #07111f 0%, #0f2747 48%, #0b3f4a 100%);
  color: #ffffff;
  box-shadow: 0 22px 60px rgba(5, 15, 30, 0.20);
}

.report-hero-main h2 {
  margin: 6px 0 10px;
  font-size: clamp(1.7rem, 3vw, 2.6rem);
  line-height: 1.05;
  color: #ffffff;
}

.report-kicker {
  margin: 0;
  color: #5b7c99;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.report-hero .report-kicker {
  color: rgba(255, 255, 255, 0.72);
}

.report-company-line {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
}

.report-company-line span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.report-company-line span:not(:last-child)::after {
  content: "•";
  opacity: 0.55;
  margin-left: 10px;
}

.report-score-board {
  display: grid;
  grid-template-columns: repeat(3, minmax(110px, 1fr));
  gap: 12px;
  min-width: 390px;
}

.report-score-tile {
  padding: 18px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.13);
  border: 1px solid rgba(255, 255, 255, 0.20);
  backdrop-filter: blur(12px);
}

.report-score-tile span {
  display: block;
  margin-bottom: 8px;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.72);
  font-weight: 700;
}

.report-score-tile strong {
  font-size: 1.8rem;
  color: #ffffff;
}

.report-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 8px;
  border-radius: 22px;
  background: #eef5fb;
  border: 1px solid #dbe8f3;
}

.report-tab {
  appearance: none;
  border: 0;
  border-radius: 16px;
  padding: 11px 15px;
  background: transparent;
  color: #31506b;
  font-weight: 800;
  cursor: pointer;
  transition: 0.18s ease;
}

.report-tab:hover {
  background: rgba(255, 255, 255, 0.75);
}

.report-tab.active {
  color: #07324f;
  background: #ffffff;
  box-shadow: 0 10px 26px rgba(18, 52, 83, 0.12);
}

.report-pages {
  position: relative;
}

.report-page {
  display: none;
  animation: reportFadeIn 0.18s ease-out;
}

.report-page.active {
  display: block;
}

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

.report-page-title {
  margin-bottom: 16px;
}

.report-page-title h3 {
  margin: 4px 0 0;
  font-size: 1.45rem;
  color: #0f2747;
}

.report-summary-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.report-card {
  padding: 20px;
  border-radius: 24px;
  background: #ffffff;
  border: 1px solid #e3edf6;
  box-shadow: 0 14px 40px rgba(15, 39, 71, 0.08);
}

.report-card-wide {
  grid-column: 1 / -1;
}

.report-card h3 {
  margin: 0 0 12px;
  color: #0f2747;
  font-size: 1.08rem;
}

.report-card h4 {
  margin: 16px 0 8px;
  color: #173a59;
}

.report-card p {
  color: #31475c;
  line-height: 1.65;
}

.report-card ul {
  margin: 10px 0 0;
  padding-left: 20px;
}

.report-card li {
  margin: 7px 0;
  color: #31475c;
  line-height: 1.45;
}

.report-meta-row {
  margin: 8px 0;
}

.report-meta-row strong {
  color: #183a58;
}

.report-link-row a {
  display: inline-flex;
  margin-top: 8px;
  padding: 10px 14px;
  border-radius: 14px;
  background: #0f6fff;
  color: #ffffff;
  font-weight: 800;
  text-decoration: none;
}

.report-decision-main {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 190px;
  gap: 16px;
  align-items: stretch;
  margin-bottom: 16px;
}

.report-decision-main > div {
  padding: 22px;
  border-radius: 24px;
  background: #ffffff;
  border: 1px solid #e3edf6;
  box-shadow: 0 14px 40px rgba(15, 39, 71, 0.08);
}

.report-priority-box {
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
}

.report-priority-box span {
  color: #5b7c99;
  font-weight: 800;
  text-transform: uppercase;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
}

.report-priority-box strong {
  margin-top: 10px;
  justify-content: center;
}

@media (max-width: 900px) {
  .report-hero {
    grid-template-columns: 1fr;
  }

  .report-score-board {
    min-width: 0;
    grid-template-columns: 1fr;
  }

  .report-summary-grid,
  .report-decision-main {
    grid-template-columns: 1fr;
  }

  .report-card-wide {
    grid-column: auto;
  }
}


/* Ajustement thème sombre Aubert AI pour le rapport */
.report-tabs {
  background: rgba(15, 35, 60, 0.92);
  border: 1px solid rgba(64, 135, 255, 0.35);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.03);
}

.report-tab {
  color: #b9d4ef;
}

.report-tab:hover {
  background: rgba(46, 123, 255, 0.18);
  color: #ffffff;
}

.report-tab.active {
  color: #ffffff;
  background: linear-gradient(135deg, #1f6fff, #17b6c8);
  box-shadow: 0 12px 30px rgba(23, 111, 255, 0.28);
}

.report-page-title h3 {
  color: #ffffff;
}

.report-page-title .report-kicker {
  color: #7fa7d4;
}

.report-card,
.report-decision-main > div {
  background:
    radial-gradient(circle at top left, rgba(31, 111, 255, 0.14), transparent 34%),
    linear-gradient(145deg, rgba(12, 27, 48, 0.98), rgba(7, 17, 32, 0.98));
  border: 1px solid rgba(64, 135, 255, 0.32);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.24);
}

.report-card h3,
.report-card h4 {
  color: #ffffff;
}

.report-card p,
.report-card li,
.report-meta-row span {
  color: #d6e6f7;
}

.report-meta-row strong {
  color: #ffffff;
}

.report-link-row a {
  background: linear-gradient(135deg, #1f6fff, #18bfd0);
  color: #ffffff;
  box-shadow: 0 12px 28px rgba(31, 111, 255, 0.26);
}

.report-link-row a:hover {
  filter: brightness(1.08);
}

.report-score-tile {
  background: rgba(255, 255, 255, 0.11);
  border: 1px solid rgba(255, 255, 255, 0.22);
}


/* Harmonisation rapport avec le style principal Aubert AI */

/* Onglets type menu principal */
.report-tabs {
  padding: 10px;
  gap: 8px;
  border-radius: 22px;
  background: rgba(7, 17, 32, 0.72);
  border: 1px solid rgba(58, 132, 255, 0.35);
  box-shadow:
    0 18px 42px rgba(0, 0, 0, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.report-tab {
  border-radius: 14px;
  padding: 12px 18px;
  color: #d7e8ff;
  font-weight: 800;
  letter-spacing: -0.01em;
  background: transparent;
  border: 1px solid transparent;
}

.report-tab:hover {
  color: #ffffff;
  background: rgba(31, 111, 255, 0.14);
  border-color: rgba(58, 132, 255, 0.24);
}

/* Onglet actif = style bouton premium */
.report-tab.active {
  color: #ffffff;
  background: linear-gradient(135deg, #2563ff 0%, #16c6d7 100%);
  border-color: rgba(255, 255, 255, 0.16);
  box-shadow:
    0 14px 32px rgba(31, 111, 255, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

/* Bouton "Ouvrir l’annonce" harmonisé */
.report-link-row a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  border-radius: 14px;
  background: linear-gradient(135deg, #2563ff 0%, #16c6d7 100%);
  color: #ffffff !important;
  font-weight: 800;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow:
    0 14px 30px rgba(31, 111, 255, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.20);
  transition: transform 0.16s ease, box-shadow 0.16s ease, filter 0.16s ease;
}

.report-link-row a:hover {
  transform: translateY(-1px);
  filter: brightness(1.08);
  box-shadow:
    0 18px 36px rgba(31, 111, 255, 0.36),
    inset 0 1px 0 rgba(255, 255, 255, 0.24);
}

/* Cartes : coins et bordures cohérents avec les blocs du site */
.report-card,
.report-decision-main > div {
  border-radius: 20px;
  border: 1px solid rgba(58, 132, 255, 0.34);
}

/* Titre de section plus lisible */
.report-page-title {
  margin-top: 4px;
  margin-bottom: 20px;
}

.report-page-title h3 {
  color: #ffffff;
  font-size: 1.55rem;
  letter-spacing: -0.02em;
}

.report-page-title .report-kicker {
  color: #8fb9e8;
}


/* Rapport - menu onglets aligné sur le menu principal Aubert AI */
.report-tabs {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  gap: 22px !important;
  padding: 0 !important;
  margin: 24px 0 22px !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  border-radius: 0 !important;
}

.report-tab {
  padding: 0 !important;
  min-height: auto !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  color: #c7d2e5 !important;
  font-size: 0.98rem !important;
  font-weight: 800 !important;
  letter-spacing: -0.01em !important;
  cursor: pointer !important;
}

.report-tab:hover {
  color: #ffffff !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  transform: none !important;
}

.report-tab.active {
  color: #2f80ff !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  position: relative !important;
}

.report-tab.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -8px;
  height: 3px;
  border-radius: 999px;
  background: #2f80ff;
}

/* Bouton rapport aligné sur les boutons principaux */
.report-link-row a {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 44px !important;
  padding: 0 20px !important;
  border-radius: 10px !important;
  background: #3478f6 !important;
  color: #ffffff !important;
  font-weight: 800 !important;
  text-decoration: none !important;
  border: 1px solid rgba(255,255,255,0.08) !important;
  box-shadow: none !important;
  transition: background 0.16s ease, transform 0.16s ease !important;
}

.report-link-row a:hover {
  background: #4b8cff !important;
  transform: translateY(-1px) !important;
  filter: none !important;
  box-shadow: none !important;
}


/* Rapport - suppression soulignement et contour focus des onglets */
.report-tab.active::after {
  display: none !important;
  content: none !important;
}

.report-tab,
.report-tab:focus,
.report-tab:active,
.report-tab:focus-visible {
  outline: none !important;
  text-decoration: none !important;
  box-shadow: none !important;
}

.report-tab.active {
  color: #2f80ff !important;
  text-decoration: none !important;
}


/* Rapport - taille menu alignée sur le menu principal */
.report-tabs {
  gap: 24px !important;
  margin: 28px 0 28px !important;
}

.report-tab {
  font-size: 1.08rem !important;
  line-height: 1.2 !important;
  font-weight: 800 !important;
  color: #cfd8e6 !important;
}

.report-tab.active {
  color: #2f80ff !important;
}

.report-tab:hover {
  color: #ffffff !important;
}


/* Rapport - cartes harmonisées avec les cartes principales du site */
.report-card,
.report-decision-main > div {
  background: rgba(15, 23, 42, 0.72) !important;
  border: 1px solid rgba(64, 120, 220, 0.38) !important;
  border-radius: 18px !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
}

.report-card:hover,
.report-decision-main > div:hover {
  border-color: rgba(64, 120, 220, 0.58) !important;
}

.report-card h3,
.report-card h4 {
  color: #ffffff !important;
  font-weight: 800 !important;
}

.report-card p,
.report-card li,
.report-meta-row span {
  color: #d8e2f0 !important;
}

.report-meta-row strong {
  color: #ffffff !important;
}

.report-summary-grid {
  gap: 18px !important;
}

/* Hero du rapport : moins dashboard, plus carte site */
.report-hero {
  border-radius: 18px !important;
  background: rgba(15, 23, 42, 0.78) !important;
  border: 1px solid rgba(64, 120, 220, 0.38) !important;
  box-shadow: none !important;
}

.report-score-tile {
  border-radius: 14px !important;
  background: rgba(31, 41, 59, 0.88) !important;
  border: 1px solid rgba(148, 163, 184, 0.28) !important;
  box-shadow: none !important;
}

.report-score-tile span {
  color: #cbd5e1 !important;
}

.report-score-tile strong {
  color: #ffffff !important;
}


/* Rapport - halo harmonisé avec les cartes principales Aubert AI */
.report-card,
.report-decision-main > div,
.report-hero {
  position: relative !important;
  overflow: hidden !important;
  background:
    linear-gradient(180deg, rgba(15, 23, 42, 0.92), rgba(8, 15, 30, 0.96)) !important;
  border: 1px solid rgba(59, 130, 246, 0.38) !important;
  box-shadow:
    0 0 0 1px rgba(59, 130, 246, 0.08),
    0 24px 60px rgba(0, 0, 0, 0.28) !important;
}

/* halo bleu/cyan discret, comme les blocs principaux */
.report-card::before,
.report-decision-main > div::before,
.report-hero::before {
  content: "";
  position: absolute;
  inset: -1px;
  pointer-events: none;
  background:
    radial-gradient(circle at 18% 0%, rgba(59, 130, 246, 0.22), transparent 34%),
    radial-gradient(circle at 100% 100%, rgba(22, 198, 215, 0.12), transparent 30%);
  opacity: 0.75;
  z-index: 0;
}

/* contenu au-dessus du halo */
.report-card > *,
.report-decision-main > div > *,
.report-hero > * {
  position: relative;
  z-index: 1;
}

/* hover très sobre, proche site */
.report-card:hover,
.report-decision-main > div:hover {
  border-color: rgba(96, 165, 250, 0.58) !important;
  box-shadow:
    0 0 0 1px rgba(59, 130, 246, 0.12),
    0 28px 70px rgba(0, 0, 0, 0.34) !important;
}

/* Les tuiles de score doivent rester intégrées, pas trop vitrées */
.report-score-tile {
  background: rgba(15, 23, 42, 0.72) !important;
  border: 1px solid rgba(148, 163, 184, 0.26) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04) !important;
}


/* Rapport - cartes alignées sur le style des cartes offres du site */
.report-card,
.report-decision-main > div {
  position: relative !important;
  overflow: hidden !important;
  padding: 26px !important;
  border-radius: 20px !important;
  background: #101827 !important;
  border: 1px solid #3478f6 !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
}

/* Suppression des halos complexes du rapport */
.report-card::before,
.report-decision-main > div::before {
  display: none !important;
  content: none !important;
}

/* Typographie cartes comme le site */
.report-card h3,
.report-card h4 {
  margin-top: 0 !important;
  color: #ffffff !important;
  font-weight: 800 !important;
  letter-spacing: -0.02em !important;
}

.report-card h3 {
  font-size: 1.18rem !important;
  margin-bottom: 18px !important;
}

.report-card h4 {
  font-size: 1rem !important;
  margin-bottom: 10px !important;
}

.report-card p,
.report-card li,
.report-meta-row span {
  color: #cbd5e1 !important;
  font-size: 1rem !important;
  line-height: 1.75 !important;
}

.report-meta-row strong {
  color: #ffffff !important;
  font-weight: 800 !important;
}

/* Espacement des cartes */
.report-summary-grid {
  gap: 18px !important;
}

/* Hero du rapport dans le même esprit que les cartes */
.report-hero {
  position: relative !important;
  overflow: hidden !important;
  padding: 26px !important;
  border-radius: 20px !important;
  background: #101827 !important;
  border: 1px solid #3478f6 !important;
  box-shadow: none !important;
}

.report-hero::before {
  display: none !important;
  content: none !important;
}

/* Kicker bleu comme "02 — GÉNÉRATEUR..." */
.report-kicker,
.report-page-title .report-kicker {
  color: #75a7ff !important;
  font-weight: 900 !important;
  letter-spacing: 0.06em !important;
}

/* Bouton simple comme "Sur devis" */
.report-link-row a {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 46px !important;
  padding: 0 22px !important;
  border-radius: 10px !important;
  background: #3478f6 !important;
  color: #ffffff !important;
  font-weight: 800 !important;
  text-decoration: none !important;
  border: 0 !important;
  box-shadow: none !important;
}

.report-link-row a:hover {
  background: #4b8cff !important;
  transform: none !important;
  filter: none !important;
  box-shadow: none !important;
}

/* Scores intégrés dans le même style */
.report-score-tile {
  background: #1f2937 !important;
  border: 1px solid rgba(148, 163, 184, 0.35) !important;
  border-radius: 16px !important;
  box-shadow: none !important;
}

.report-score-tile span {
  color: #cbd5e1 !important;
}

.report-score-tile strong {
  color: #ffffff !important;
}


/* Correction définitive champs CV - input / textarea / select */
.cv-card input,
.cv-card textarea,
.cv-card select,
.detail-card input,
.detail-card textarea,
.detail-card select,
.cv-detail-panel input,
.cv-detail-panel textarea,
.cv-detail-panel select,
main input:not([type="checkbox"]):not([type="radio"]),
main textarea,
main select {
  background: #0b1220 !important;
  background-color: #0b1220 !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  border: 1px solid rgba(80, 130, 220, 0.75) !important;
  border-radius: 12px !important;
  box-shadow: none !important;
  outline: none !important;
}

.cv-card input::placeholder,
.cv-card textarea::placeholder,
.detail-card input::placeholder,
.detail-card textarea::placeholder,
.cv-detail-panel input::placeholder,
.cv-detail-panel textarea::placeholder,
main input::placeholder,
main textarea::placeholder {
  color: #8ea0bd !important;
  -webkit-text-fill-color: #8ea0bd !important;
  opacity: 1 !important;
}

.cv-card input:focus,
.cv-card textarea:focus,
.cv-card select:focus,
.detail-card input:focus,
.detail-card textarea:focus,
.detail-card select:focus,
.cv-detail-panel input:focus,
.cv-detail-panel textarea:focus,
.cv-detail-panel select:focus,
main input:focus,
main textarea:focus,
main select:focus {
  border-color: #3478f6 !important;
  box-shadow: 0 0 0 2px rgba(52, 120, 246, 0.25) !important;
}

.cv-card option,
.detail-card option,
.cv-detail-panel option,
main option {
  background: #0b1220 !important;
  color: #ffffff !important;
}


/* Navigation secondaire CV sur page détail */
.cv-section-nav {
  max-width: 1200px;
  margin: 34px auto 26px auto;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.cv-section-nav a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border-radius: 10px;
  background: #3478f6;
  color: #ffffff !important;
  text-decoration: none !important;
  font-weight: 800;
  box-shadow: none;
}

.cv-section-nav a:hover {
  background: #2f80ff;
}

@media (max-width: 900px) {
  .cv-section-nav {
    grid-template-columns: 1fr;
    margin-left: 16px;
    margin-right: 16px;
  }
}


/* Ajustement position navigation secondaire sur page détail */
.cv-section-nav {
  max-width: 1200px;
  margin: 28px auto 28px auto !important;
}


/* Centrage des boutons de navigation CV */
.cv-section-nav {
  display: flex !important;
  justify-content: center !important;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin: 28px auto 32px auto;
}

.cv-section-nav a {
  min-width: 260px;
  max-width: 320px;
  text-align: center;
  flex: 0 0 auto;
}

@media (max-width: 900px) {
  .cv-section-nav a {
    min-width: 220px;
  }
}

@media (max-width: 640px) {
  .cv-section-nav {
    flex-direction: column;
    align-items: stretch;
  }

  .cv-section-nav a {
    min-width: 0;
    max-width: none;
    width: 100%;
  }
}

/* Aubert AI - bouton fichier CV harmonisé */
.profile-file-field {
  margin-bottom: 22px;
}

.file-upload-input {
  position: absolute;
  left: -9999px;
  opacity: 0;
}

.file-upload-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  margin-top: 10px;
  padding: 13px 22px;
  border-radius: 10px;
  border: 1px solid #3b82f6;
  background: linear-gradient(135deg, #3b82f6, #2563eb);
  color: #ffffff;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 12px 24px rgba(37, 99, 235, 0.22);
}

.file-upload-btn:hover {
  filter: brightness(1.08);
}

.file-upload-name {
  display: inline-block;
  margin-left: 14px;
  color: #cbd5e1;
  font-weight: 600;
}

/* Aubert AI - position bouton upload sous le champ fichier CV */
.profile-file-action {
  margin-top: 18px;
}

.profile-file-action .btn-primary {
  min-width: 230px;
}

/* Aubert AI - bouton Ajouter CV sous choix fichier */
.profile-file-action {
  margin-top: 18px;
}

.profile-file-action .btn-primary {
  min-width: 230px;
}

/* Aubert AI - séparation Profil & CV en deux cartes internes */
.cv-subcard {
  margin-top: 26px;
  padding: 26px;
  border: 1px solid rgba(59, 130, 246, 0.35);
  border-radius: 18px;
  background: rgba(5, 11, 20, 0.32);
}

.cv-subcard h3 {
  margin: 0 0 22px 0;
  color: #ffffff;
  font-size: 1.25rem;
  font-weight: 800;
}

.cv-upload-subcard {
  margin-top: 32px;
}

.cv-profile-subcard {
  margin-top: 28px;
}

.cv-profile-subcard input::placeholder {
  color: transparent;
}

.cv-profile-subcard input {
  color: #ffffff;
}

/* Aubert AI - liste simple des CV */
.cv-list-row {
  display: block;
  padding: 16px 18px;
  margin-bottom: 10px;
  border: 1px solid rgba(59, 130, 246, 0.28);
  border-radius: 12px;
  background: rgba(15, 23, 42, 0.72);
  color: #ffffff;
  font-weight: 700;
  text-decoration: none;
}

.cv-list-row:hover {
  border-color: rgba(96, 165, 250, 0.75);
  background: rgba(30, 41, 59, 0.9);
  color: #93c5fd;
}

/* Aubert AI - sélection CV */
.cv-select-label {
  display: block;
  margin-bottom: 10px;
  font-weight: 700;
  color: #ffffff;
}

.cv-select-list {
  width: 100%;
  min-height: 46px;
  padding: 10px 12px;
  border: 1px solid rgba(59, 130, 246, 0.65);
  border-radius: 12px;
  background: rgba(15, 23, 42, 0.92);
  color: #ffffff;
  font-weight: 600;
  outline: none;
}

.cv-select-list:focus {
  border-color: rgba(96, 165, 250, 1);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.25);
}

/* Aubert AI - Rapport CV premium */
.cv-premium-report {
  width: 100%;
}

.cv-premium-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: stretch;
  padding: 28px;
  margin-bottom: 30px;
  border: 1px solid rgba(59, 130, 246, 0.9);
  border-radius: 20px;
  background:
    radial-gradient(circle at top left, rgba(59, 130, 246, 0.18), transparent 38%),
    rgba(15, 23, 42, 0.72);
}

.cv-premium-kicker,
.cv-section-heading span {
  display: inline-block;
  margin-bottom: 10px;
  color: #60a5fa;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.cv-premium-hero h2 {
  margin: 0;
  color: #ffffff;
  font-size: clamp(1.7rem, 3vw, 2.45rem);
  line-height: 1.12;
}

.cv-premium-hero p {
  margin: 22px 0 0 0;
  color: #dbeafe;
  font-weight: 600;
}

.cv-premium-hero p span {
  margin: 0 10px;
  color: #64748b;
}

.cv-premium-kpis {
  display: grid;
  grid-template-columns: repeat(3, 130px);
  gap: 14px;
}

.cv-premium-kpis > div {
  padding: 18px;
  border: 1px solid rgba(148, 163, 184, 0.35);
  border-radius: 16px;
  background: rgba(30, 41, 59, 0.78);
}

.cv-premium-kpis span {
  display: block;
  margin-bottom: 12px;
  color: #cbd5e1;
  font-size: 0.82rem;
  font-weight: 800;
}

.cv-premium-kpis strong {
  display: block;
  color: #ffffff;
  font-size: 1.7rem;
  line-height: 1.05;
}

.cv-premium-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin: 14px 0 34px 0;
  padding: 0;
  border: 0;
}

.cv-premium-tabs button {
  border: 0;
  background: transparent;
  color: #cbd5e1;
  padding: 8px 0;
  font-size: 1rem;
  font-weight: 800;
  cursor: pointer;
}

.cv-premium-tabs button:hover,
.cv-premium-tabs button.active {
  color: #3b82f6;
}

.cv-premium-panel {
  display: none;
}

.cv-premium-panel.active {
  display: block;
}

.cv-section-heading {
  margin-bottom: 24px;
}

.cv-section-heading h3 {
  margin: 0;
  color: #ffffff;
  font-size: 1.8rem;
}

.cv-premium-grid {
  display: grid;
  gap: 20px;
}

.cv-premium-grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.cv-premium-card {
  padding: 24px;
  border: 1px solid rgba(59, 130, 246, 0.75);
  border-radius: 18px;
  background: rgba(15, 23, 42, 0.68);
}

.cv-premium-card.wide {
  margin-top: 20px;
}

.cv-premium-card h4 {
  margin: 0 0 18px 0;
  color: #ffffff;
  font-size: 1.12rem;
}

.cv-premium-card p {
  margin: 0 0 12px 0;
  color: #dbeafe;
  line-height: 1.65;
}

.cv-premium-list {
  margin: 0;
  padding-left: 20px;
  color: #dbeafe;
}

.cv-premium-list li {
  margin-bottom: 8px;
  line-height: 1.5;
}

.cv-premium-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.cv-premium-tags span {
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border: 1px solid rgba(96, 165, 250, 0.45);
  border-radius: 999px;
  background: rgba(37, 99, 235, 0.18);
  color: #bfdbfe;
  font-weight: 700;
}

.cv-premium-empty {
  color: #94a3b8;
  font-style: italic;
}

.cv-premium-empty-state {
  padding: 28px;
  border: 1px solid rgba(59, 130, 246, 0.45);
  border-radius: 18px;
  background: rgba(15, 23, 42, 0.68);
}

.cv-premium-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
  padding-top: 24px;
  border-top: 1px solid rgba(148, 163, 184, 0.18);
}

.cv-premium-actions .danger {
  border-color: rgba(239, 68, 68, 0.65);
}

@media (max-width: 1000px) {
  .cv-premium-hero {
    grid-template-columns: 1fr;
  }

  .cv-premium-kpis {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .cv-premium-grid.two {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .cv-premium-kpis {
    grid-template-columns: 1fr;
  }
}

/* =========================================================
   Harmonisation typographique page Profil / CV / Extension
   ========================================================= */

.cv-service-card h1,
.cv-service-card .page-title {
  font-size: 32px;
  font-weight: 800;
  line-height: 1.18;
  color: #ffffff;
  margin: 0 0 18px;
}

.cv-service-card p,
.cv-function-card p,
.cv-subcard p,
.cv-service-card li,
.cv-function-card li,
.cv-subcard li {
  font-size: 16px;
  font-weight: 500;
  line-height: 1.6;
  color: #f4f7fb;
}

.cv-function-card h2,
.cv-function-card h3,
.cv-subcard h3,
.cv-service-card .section-title {
  font-size: 21px;
  font-weight: 800;
  line-height: 1.3;
  color: #ffffff;
  margin: 0 0 24px;
}

.cv-function-card label,
.cv-subcard label,
.cv-select-label {
  display: block;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.45;
  color: #f4f7fb;
  margin-bottom: 12px;
}

.profile-file-field,
.profile-file-field span,
#cvUploadStatus,
#profileSaveStatus {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.45;
  color: #d8deea;
}

.file-upload-btn,
.profile-file-action .btn-primary,
.cv-function-card .btn-primary,
.cv-function-card .offer-btn,
.cv-service-card .btn-primary,
.cv-service-card .offer-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 14px 24px;
  font-size: 15px;
  font-weight: 800;
  line-height: 1;
  border-radius: 9px;
  white-space: nowrap;
}

.cv-function-card ol,
.cv-subcard ol {
  margin: 14px 0 0;
  padding-left: 22px;
}

.cv-function-card ol li,
.cv-subcard ol li {
  margin-bottom: 8px;
}


/* =========================================================
   Uniformisation globale Assistant Candidatures - boutons/textes
   ========================================================= */

/* Texte courant homogène */
.cv-service-card p,
.cv-service-card li,
.cv-function-card p,
.cv-function-card li,
.cv-subcard p,
.cv-subcard li,
.profile-file-field,
.profile-file-field span,
#cvUploadStatus,
#profileSaveStatus {
  font-size: 16px !important;
  font-weight: 500 !important;
  line-height: 1.6 !important;
  color: #f4f7fb !important;
}

/* Titres de blocs homogènes */
.cv-service-card h2,
.cv-service-card h3,
.cv-function-card h2,
.cv-function-card h3,
.cv-subcard h2,
.cv-subcard h3 {
  font-size: 22px !important;
  font-weight: 800 !important;
  line-height: 1.3 !important;
  color: #ffffff !important;
  margin: 0 0 24px !important;
}

/* Labels homogènes */
.cv-service-card label,
.cv-function-card label,
.cv-subcard label,
.cv-select-label {
  display: block !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  line-height: 1.45 !important;
  color: #f4f7fb !important;
  margin-bottom: 12px !important;
}

/* Tous les boutons de l'assistant au même style */
.cv-page-nav a,
.cv-page-nav button,
.cv-service-actions a,
.cv-service-actions button,
.cv-service-card a.btn-primary,
.cv-service-card button,
.cv-service-card .offer-btn,
.cv-function-card a.btn-primary,
.cv-function-card button,
.cv-function-card .offer-btn,
.profile-action-row button,
.profile-action-row .btn-primary,
.profile-action-row .offer-btn,
.profile-buttons-grid .btn-primary,
.profile-buttons-grid .offer-btn,
.file-upload-btn,
.profile-file-action .btn-primary {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 46px !important;
  padding: 0 24px !important;
  border-radius: 9px !important;
  font-size: 15px !important;
  font-weight: 800 !important;
  line-height: 1 !important;
  text-align: center !important;
  white-space: nowrap !important;
  box-sizing: border-box !important;
}

/* Boutons navigation haut : même hauteur, largeur propre */
.cv-page-nav a,
.cv-page-nav button,
.cv-service-actions a,
.cv-service-actions button {
  min-width: 260px !important;
}

/* Boutons d'action dans les cartes */
.cv-function-card button,
.cv-function-card .btn-primary,
.cv-function-card .offer-btn,
.file-upload-btn,
.profile-file-action .btn-primary {
  min-width: 230px !important;
}

/* Bouton téléchargement extension : éviter texte coupé */
a[href*="extension"],
a[href*=".zip"],
.cv-function-card a[href*=".zip"],
.cv-function-card a[href*="extension"] {
  min-width: 260px !important;
  padding-left: 24px !important;
  padding-right: 24px !important;
}

/* Alignement propre fichier choisi */
.profile-file-field {
  display: flex !important;
  align-items: center !important;
  gap: 18px !important;
  flex-wrap: wrap !important;
}

/* Liste d'installation homogène */
.cv-function-card ol,
.cv-subcard ol {
  margin: 14px 0 0 !important;
  padding-left: 22px !important;
}

.cv-function-card ol li,
.cv-subcard ol li {
  margin-bottom: 8px !important;
}


/* =========================================
   Bloc upload CV : éléments les uns sous les autres
   ========================================= */

.profile-file-field {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  gap: 14px !important;
}

.profile-file-action {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  gap: 14px !important;
}

.profile-file-field .file-upload-btn,
.profile-file-action .btn-primary,
#uploadCvBtn {
  display: inline-flex !important;
  width: auto !important;
  min-width: 260px !important;
}

.profile-file-field span,
.profile-file-field .file-name,
.profile-file-field .file-status {
  display: block !important;
  margin: 0 !important;
}


/* =========================================
   Upload CV : bouton + statut sur la même ligne
   ========================================= */

.profile-file-field {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 22px !important;
  flex-wrap: wrap !important;
}

.profile-file-field label {
  flex-basis: 100% !important;
  margin-bottom: 8px !important;
}

.profile-file-field .file-upload-btn {
  min-width: 260px !important;
  width: auto !important;
}

.profile-file-field span,
.profile-file-field .file-name,
.profile-file-field .file-status {
  display: inline-flex !important;
  align-items: center !important;
  margin: 0 !important;
  white-space: nowrap !important;
}

/* Le bouton d'action reste en dessous */
.profile-file-action {
  display: flex !important;
  flex-direction: row !important;
  align-items: flex-start !important;
  margin-top: 22px !important;
}

.profile-file-action .btn-primary,
#uploadCvBtn {
  min-width: 260px !important;
  width: auto !important;
}


/* =========================================================
   FIX ciblé page profil : hero + upload CV
   ========================================================= */

/* 1. Réparer le bandeau haut profil */
.cv-service-card {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 32px !important;
}

.cv-service-title {
  flex: 1 1 auto !important;
  min-width: 0 !important;
  max-width: 620px !important;
}

.cv-service-title h1 {
  max-width: none !important;
  width: auto !important;
  font-size: 32px !important;
  line-height: 1.15 !important;
  white-space: normal !important;
}

.cv-service-title p {
  max-width: 620px !important;
  width: auto !important;
  white-space: normal !important;
}

.user-profile-box {
  position: static !important;
  flex: 0 0 auto !important;
  min-width: 300px !important;
  max-width: 360px !important;
}

.cv-service-actions {
  flex: 0 0 auto !important;
  display: flex !important;
  flex-direction: row !important;
  gap: 12px !important;
  align-items: center !important;
  justify-content: flex-end !important;
}

.cv-service-actions .header-buttons {
  display: flex !important;
  flex-direction: row !important;
  gap: 12px !important;
}

.cv-service-actions .header-buttons a,
.cv-service-actions .header-buttons button {
  min-width: 220px !important;
  width: 220px !important;
}

/* 2. Réparer le bloc upload CV */
.profile-file-field {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 22px !important;
  flex-wrap: wrap !important;
}

.profile-file-field label {
  flex: 0 0 100% !important;
  width: 100% !important;
  margin-bottom: 8px !important;
}

.profile-file-field .file-upload-btn {
  width: auto !important;
  min-width: 260px !important;
  max-width: 260px !important;
  flex: 0 0 260px !important;
}

.profile-file-field span,
.profile-file-field .file-name,
.profile-file-field .file-status {
  display: inline-flex !important;
  align-items: center !important;
  width: auto !important;
  min-width: 0 !important;
  margin: 0 !important;
  white-space: nowrap !important;
}

.profile-file-action {
  display: flex !important;
  flex: 0 0 100% !important;
  width: 100% !important;
  margin-top: 20px !important;
}

.profile-file-action .btn-primary,
#uploadCvBtn {
  width: auto !important;
  min-width: 260px !important;
  max-width: 260px !important;
  flex: 0 0 260px !important;
}

/* 3. Responsive propre */
@media (max-width: 900px) {
  .cv-service-card {
    flex-direction: column !important;
    align-items: flex-start !important;
  }

  .cv-service-actions,
  .cv-service-actions .header-buttons {
    width: 100% !important;
    flex-direction: column !important;
  }

  .cv-service-actions .header-buttons a,
  .cv-service-actions .header-buttons button {
    width: 100% !important;
  }

  .user-profile-box {
    width: 100% !important;
    max-width: none !important;
  }
}


/* =========================================================
   FIX ciblé page profil : hero + upload CV
   ========================================================= */

/* 1. Réparer le bandeau haut profil */
.cv-service-card {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 32px !important;
}

.cv-service-title {
  flex: 1 1 auto !important;
  min-width: 0 !important;
  max-width: 620px !important;
}

.cv-service-title h1 {
  max-width: none !important;
  width: auto !important;
  font-size: 32px !important;
  line-height: 1.15 !important;
  white-space: normal !important;
}

.cv-service-title p {
  max-width: 620px !important;
  width: auto !important;
  white-space: normal !important;
}

.user-profile-box {
  position: static !important;
  flex: 0 0 auto !important;
  min-width: 300px !important;
  max-width: 360px !important;
}

.cv-service-actions {
  flex: 0 0 auto !important;
  display: flex !important;
  flex-direction: row !important;
  gap: 12px !important;
  align-items: center !important;
  justify-content: flex-end !important;
}

.cv-service-actions .header-buttons {
  display: flex !important;
  flex-direction: row !important;
  gap: 12px !important;
}

.cv-service-actions .header-buttons a,
.cv-service-actions .header-buttons button {
  min-width: 220px !important;
  width: 220px !important;
}

/* 2. Réparer le bloc upload CV */
.profile-file-field {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 22px !important;
  flex-wrap: wrap !important;
}

.profile-file-field label {
  flex: 0 0 100% !important;
  width: 100% !important;
  margin-bottom: 8px !important;
}

.profile-file-field .file-upload-btn {
  width: auto !important;
  min-width: 260px !important;
  max-width: 260px !important;
  flex: 0 0 260px !important;
}

.profile-file-field span,
.profile-file-field .file-name,
.profile-file-field .file-status {
  display: inline-flex !important;
  align-items: center !important;
  width: auto !important;
  min-width: 0 !important;
  margin: 0 !important;
  white-space: nowrap !important;
}

.profile-file-action {
  display: flex !important;
  flex: 0 0 100% !important;
  width: 100% !important;
  margin-top: 20px !important;
}

.profile-file-action .btn-primary,
#uploadCvBtn {
  width: auto !important;
  min-width: 260px !important;
  max-width: 260px !important;
  flex: 0 0 260px !important;
}

/* 3. Responsive propre */
@media (max-width: 900px) {
  .cv-service-card {
    flex-direction: column !important;
    align-items: flex-start !important;
  }

  .cv-service-actions,
  .cv-service-actions .header-buttons {
    width: 100% !important;
    flex-direction: column !important;
  }

  .cv-service-actions .header-buttons a,
  .cv-service-actions .header-buttons button {
    width: 100% !important;
  }

  .user-profile-box {
    width: 100% !important;
    max-width: none !important;
  }
}


/* =========================================================
   Profil : simplification du bandeau haut
   On masque le titre CV et le sous-texte redondants
   ========================================================= */

.cv-service-title h1,
.cv-service-title p {
  display: none !important;
}

.cv-service-title {
  flex: 0 0 auto !important;
  max-width: 220px !important;
}

.cv-service-card {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 28px !important;
}

.user-profile-box {
  flex: 1 1 auto !important;
  max-width: 420px !important;
}

.cv-service-actions {
  flex: 0 0 auto !important;
}


/* =========================================================
   Profil : titre assistant sur une ligne + boutons en colonne
   ========================================================= */

/* Titre Assistant Candidatures IA sur une seule ligne */
.cv-service-title,
.cv-service-title .section-kicker,
.cv-service-title .kicker,
.cv-service-title > span,
.cv-service-title > div:first-child {
  white-space: nowrap !important;
  max-width: none !important;
  width: auto !important;
}

/* Si le texte est directement dans la zone titre */
.cv-service-title {
  flex: 0 0 auto !important;
  min-width: 260px !important;
}

/* Boutons Accueil / Déconnexion l'un en dessous de l'autre */
.cv-service-actions,
.cv-service-actions .header-buttons {
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  justify-content: center !important;
  gap: 12px !important;
}

/* Même largeur pour les deux boutons */
.cv-service-actions .header-buttons a,
.cv-service-actions .header-buttons button,
.cv-service-actions a,
.cv-service-actions button {
  width: 230px !important;
  min-width: 230px !important;
  max-width: 230px !important;
}

/* Recentrage propre du bandeau */
.cv-service-card {
  align-items: center !important;
  gap: 32px !important;
}


/* =========================================================
   Profil : layout bandeau en 3 colonnes
   Gauche = profil / Centre = titre / Droite = boutons
   ========================================================= */

/* Le bandeau devient une grille propre */
.cv-service-card {
  display: grid !important;
  grid-template-columns: minmax(320px, 1fr) auto minmax(230px, 1fr) !important;
  align-items: center !important;
  column-gap: 36px !important;
}

/* Profil utilisateur à gauche */
.user-profile-box {
  grid-column: 1 !important;
  justify-self: start !important;
  width: 100% !important;
  max-width: 430px !important;
  min-width: 320px !important;
}

/* Titre au centre */
.cv-service-title {
  grid-column: 2 !important;
  justify-self: center !important;
  text-align: center !important;
  min-width: auto !important;
  max-width: none !important;
  width: auto !important;
}

/* On garde uniquement le libellé Assistant */
.cv-service-title h1,
.cv-service-title p {
  display: none !important;
}

.cv-service-title,
.cv-service-title * {
  white-space: nowrap !important;
}

/* Boutons à droite, l'un sous l'autre */
.cv-service-actions {
  grid-column: 3 !important;
  justify-self: end !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  gap: 12px !important;
  width: 230px !important;
}

.cv-service-actions .header-buttons {
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  gap: 12px !important;
  width: 230px !important;
}

.cv-service-actions .header-buttons a,
.cv-service-actions .header-buttons button,
.cv-service-actions a,
.cv-service-actions button {
  width: 230px !important;
  min-width: 230px !important;
  max-width: 230px !important;
}

/* Responsive : on empile proprement sur petit écran */
@media (max-width: 950px) {
  .cv-service-card {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 22px !important;
  }

  .user-profile-box,
  .cv-service-title,
  .cv-service-actions,
  .cv-service-actions .header-buttons {
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
  }

  .cv-service-title {
    text-align: left !important;
  }

  .cv-service-actions .header-buttons a,
  .cv-service-actions .header-buttons button,
  .cv-service-actions a,
  .cv-service-actions button {
    width: 100% !important;
    max-width: none !important;
  }
}


/* =========================================================
   FINAL FIX - Bandeau profil en 3 zones propres
   Gauche : profil / Centre : titre / Droite : boutons
   ========================================================= */

.cv-service-card {
  display: grid !important;
  grid-template-columns: 420px 1fr 230px !important;
  grid-template-areas: "profile title actions" !important;
  align-items: center !important;
  gap: 36px !important;
  padding: 36px !important;
  min-height: 230px !important;
}

/* Profil utilisateur à gauche */
.cv-service-card .user-profile-box {
  grid-area: profile !important;
  justify-self: start !important;
  align-self: center !important;
  position: static !important;
  width: 100% !important;
  max-width: 420px !important;
  min-width: 0 !important;
  margin: 0 !important;
}

/* Titre au centre */
.cv-service-card .cv-service-title {
  grid-area: title !important;
  justify-self: center !important;
  align-self: center !important;
  text-align: center !important;
  width: auto !important;
  max-width: none !important;
  min-width: 0 !important;
  margin: 0 !important;
}

/* On garde seulement le libellé Assistant */
.cv-service-card .cv-service-title h1,
.cv-service-card .cv-service-title p {
  display: none !important;
}

.cv-service-card .cv-service-title,
.cv-service-card .cv-service-title * {
  white-space: nowrap !important;
}

/* Boutons à droite, l'un sous l'autre */
.cv-service-card .cv-service-actions {
  grid-area: actions !important;
  justify-self: end !important;
  align-self: center !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  gap: 12px !important;
  width: 230px !important;
  margin: 0 !important;
}

.cv-service-card .cv-service-actions .header-buttons {
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  gap: 12px !important;
  width: 230px !important;
  margin: 0 !important;
}

.cv-service-card .cv-service-actions a,
.cv-service-card .cv-service-actions button,
.cv-service-card .cv-service-actions .header-buttons a,
.cv-service-card .cv-service-actions .header-buttons button {
  width: 230px !important;
  min-width: 230px !important;
  max-width: 230px !important;
  margin: 0 !important;
}

/* Responsive */
@media (max-width: 1050px) {
  .cv-service-card {
    grid-template-columns: 1fr !important;
    grid-template-areas:
      "profile"
      "title"
      "actions" !important;
    gap: 22px !important;
  }

  .cv-service-card .user-profile-box,
  .cv-service-card .cv-service-title,
  .cv-service-card .cv-service-actions,
  .cv-service-card .cv-service-actions .header-buttons {
    width: 100% !important;
    max-width: none !important;
    justify-self: stretch !important;
  }

  .cv-service-card .cv-service-title {
    text-align: center !important;
  }

  .cv-service-card .cv-service-actions a,
  .cv-service-card .cv-service-actions button,
  .cv-service-card .cv-service-actions .header-buttons a,
  .cv-service-card .cv-service-actions .header-buttons button {
    width: 100% !important;
    max-width: none !important;
  }
}


/* =========================================================
   FINAL FIX - Bandeau profil en 3 zones propres
   Gauche : profil / Centre : titre / Droite : boutons
   ========================================================= */

.cv-service-card {
  display: grid !important;
  grid-template-columns: 420px 1fr 230px !important;
  grid-template-areas: "profile title actions" !important;
  align-items: center !important;
  gap: 36px !important;
  padding: 36px !important;
  min-height: 230px !important;
}

/* Profil utilisateur à gauche */
.cv-service-card .user-profile-box {
  grid-area: profile !important;
  justify-self: start !important;
  align-self: center !important;
  position: static !important;
  width: 100% !important;
  max-width: 420px !important;
  min-width: 0 !important;
  margin: 0 !important;
}

/* Titre au centre */
.cv-service-card .cv-service-title {
  grid-area: title !important;
  justify-self: center !important;
  align-self: center !important;
  text-align: center !important;
  width: auto !important;
  max-width: none !important;
  min-width: 0 !important;
  margin: 0 !important;
}

/* On garde seulement le libellé Assistant */
.cv-service-card .cv-service-title h1,
.cv-service-card .cv-service-title p {
  display: none !important;
}

.cv-service-card .cv-service-title,
.cv-service-card .cv-service-title * {
  white-space: nowrap !important;
}

/* Boutons à droite, l'un sous l'autre */
.cv-service-card .cv-service-actions {
  grid-area: actions !important;
  justify-self: end !important;
  align-self: center !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  gap: 12px !important;
  width: 230px !important;
  margin: 0 !important;
}

.cv-service-card .cv-service-actions .header-buttons {
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  gap: 12px !important;
  width: 230px !important;
  margin: 0 !important;
}

.cv-service-card .cv-service-actions a,
.cv-service-card .cv-service-actions button,
.cv-service-card .cv-service-actions .header-buttons a,
.cv-service-card .cv-service-actions .header-buttons button {
  width: 230px !important;
  min-width: 230px !important;
  max-width: 230px !important;
  margin: 0 !important;
}

/* Responsive */
@media (max-width: 1050px) {
  .cv-service-card {
    grid-template-columns: 1fr !important;
    grid-template-areas:
      "profile"
      "title"
      "actions" !important;
    gap: 22px !important;
  }

  .cv-service-card .user-profile-box,
  .cv-service-card .cv-service-title,
  .cv-service-card .cv-service-actions,
  .cv-service-card .cv-service-actions .header-buttons {
    width: 100% !important;
    max-width: none !important;
    justify-self: stretch !important;
  }

  .cv-service-card .cv-service-title {
    text-align: center !important;
  }

  .cv-service-card .cv-service-actions a,
  .cv-service-card .cv-service-actions button,
  .cv-service-card .cv-service-actions .header-buttons a,
  .cv-service-card .cv-service-actions .header-buttons button {
    width: 100% !important;
    max-width: none !important;
  }
}


/* =========================================================
   FINAL HERO PROFIL - structure propre en 3 colonnes
   Gauche : profil / Centre : titre / Droite : boutons
   ========================================================= */

.cv-service-card-section .cv-service-card-clean {
  display: grid !important;
  grid-template-columns: 420px 1fr 230px !important;
  grid-template-areas: "profile title actions" !important;
  align-items: center !important;
  gap: 36px !important;
  min-height: 180px !important;
  padding: 32px !important;
}

.cv-service-card-section .cv-service-card-clean .user-profile-box {
  grid-area: profile !important;
  justify-self: start !important;
  align-self: center !important;
  position: static !important;
  display: flex !important;
  width: 100% !important;
  max-width: 420px !important;
  min-width: 0 !important;
  margin: 0 !important;
}

.cv-service-card-section .cv-service-card-clean .cv-service-title {
  grid-area: title !important;
  justify-self: center !important;
  align-self: center !important;
  text-align: center !important;
  width: auto !important;
  min-width: 0 !important;
  max-width: none !important;
  margin: 0 !important;
}

.cv-service-card-section .cv-service-card-clean .cv-service-title .tag {
  display: inline-block !important;
  white-space: nowrap !important;
  font-size: 15px !important;
  font-weight: 800 !important;
  letter-spacing: .04em !important;
  text-transform: uppercase !important;
  color: #6ea8ff !important;
}

.cv-service-card-section .cv-service-card-clean .cv-service-title h1,
.cv-service-card-section .cv-service-card-clean .cv-service-title p {
  display: none !important;
}

.cv-service-card-section .cv-service-card-clean .cv-service-actions {
  grid-area: actions !important;
  justify-self: end !important;
  align-self: center !important;
  display: block !important;
  width: 230px !important;
  min-width: 230px !important;
  max-width: 230px !important;
  margin: 0 !important;
}

.cv-service-card-section .cv-service-card-clean .header-buttons {
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  gap: 12px !important;
  width: 230px !important;
  margin: 0 !important;
}

.cv-service-card-section .cv-service-card-clean .header-buttons a,
.cv-service-card-section .cv-service-card-clean .header-buttons button {
  width: 230px !important;
  min-width: 230px !important;
  max-width: 230px !important;
  height: 48px !important;
  min-height: 48px !important;
  margin: 0 !important;
}

/* Responsive */
@media (max-width: 1050px) {
  .cv-service-card-section .cv-service-card-clean {
    grid-template-columns: 1fr !important;
    grid-template-areas:
      "profile"
      "title"
      "actions" !important;
    gap: 22px !important;
  }

  .cv-service-card-section .cv-service-card-clean .user-profile-box,
  .cv-service-card-section .cv-service-card-clean .cv-service-actions,
  .cv-service-card-section .cv-service-card-clean .header-buttons {
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    justify-self: stretch !important;
  }

  .cv-service-card-section .cv-service-card-clean .header-buttons a,
  .cv-service-card-section .cv-service-card-clean .header-buttons button {
    width: 100% !important;
    max-width: none !important;
  }
}


/* =========================================================
   Carte profil simplifiée : nom + type utilisateur uniquement
   ========================================================= */

.cv-service-card-clean #profileTarget {
  display: none !important;
}

.cv-service-card-clean .user-profile-box {
  max-width: 340px !important;
  min-height: 88px !important;
  padding: 18px 22px !important;
}

.cv-service-card-clean .profile-name {
  font-size: 16px !important;
  font-weight: 800 !important;
  line-height: 1.25 !important;
  color: #ffffff !important;
  margin-bottom: 4px !important;
}

.cv-service-card-clean .profile-meta {
  font-size: 14px !important;
  font-weight: 600 !important;
  line-height: 1.35 !important;
  color: #d8deea !important;
}

.cv-service-card-clean .user-avatar {
  flex: 0 0 46px !important;
  width: 46px !important;
  height: 46px !important;
}


/* Réduction de l'écart entre choisir fichier et bouton upload */
.cv-upload-subcard .profile-file-action {
  margin-top: 8px !important;
}

.cv-upload-subcard .profile-file-field {
  row-gap: 10px !important;
}


/* Carte profil plus compacte */
.cv-service-card-section .cv-service-card-clean {
  grid-template-columns: 300px 1fr 230px !important;
}

.cv-service-card-section .cv-service-card-clean .user-profile-box {
  width: 280px !important;
  max-width: 280px !important;
  min-width: 280px !important;
  padding: 16px 18px !important;
}

.cv-service-card-clean .user-avatar {
  flex: 0 0 42px !important;
  width: 42px !important;
  height: 42px !important;
}


/* =========================================================
   Centrage réel de "ASSISTANT CANDIDATURES IA"
   ========================================================= */

/* Colonnes gauche et droite de même largeur */
.cv-service-card-section .cv-service-card-clean {
  grid-template-columns: 300px 1fr 300px !important;
}

/* Titre exactement centré dans la colonne centrale */
.cv-service-card-section .cv-service-card-clean .cv-service-title {
  justify-self: center !important;
  text-align: center !important;
  width: 100% !important;
}

.cv-service-card-section .cv-service-card-clean .cv-service-title .tag {
  display: block !important;
  width: 100% !important;
  text-align: center !important;
}

/* Carte profil à gauche */
.cv-service-card-section .cv-service-card-clean .user-profile-box {
  justify-self: start !important;
}

/* Zone boutons à droite, mais centrée dans sa colonne */
.cv-service-card-section .cv-service-card-clean .cv-service-actions {
  justify-self: center !important;
  width: 230px !important;
  min-width: 230px !important;
  max-width: 230px !important;
}

.cv-service-card-section .cv-service-card-clean .header-buttons {
  width: 230px !important;
}


/* =========================================================
   Aubert AI - Gestion des CV
   ========================================================= */

.profile-cv-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
}

.profile-cv-management-list {
  display: grid;
  gap: 18px;
}

.profile-cv-management-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  padding: 22px;
  border: 1px solid rgba(96, 165, 250, 0.28);
  border-radius: 16px;
  background: rgba(15, 23, 42, 0.72);
}

.profile-cv-management-title {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 12px;
}

.profile-cv-management-title h3 {
  margin: 0;
}

.profile-cv-management-main p {
  margin: 6px 0;
}

.profile-cv-management-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 190px;
}

.profile-cv-management-actions .offer-btn {
  width: 100%;
  box-sizing: border-box;
  text-align: center;
  justify-content: center;
}

.cv-empty-state {
  padding: 28px;
  text-align: center;
  border: 1px dashed rgba(96, 165, 250, 0.35);
  border-radius: 16px;
}

@media (max-width: 760px) {
  .profile-cv-toolbar {
    align-items: stretch;
    flex-direction: column;
  }

  .profile-cv-management-card {
    grid-template-columns: 1fr;
  }

  .profile-cv-management-actions {
    min-width: 0;
  }
}
