/* ============================================================
   AWAKEHIRED — FRONTEND STYLESHEET
   ============================================================ */

/* ── GLOBAL ──────────────────────────────────────────────── */
:root {
  --ah-color-primary:      #4f46e5;
  --ah-color-primary-dark: #3730a3;
  --ah-color-primary-light:#eef2ff;
  --ah-color-success:      #16a34a;
  --ah-color-success-bg:   #f0fdf4;
  --ah-color-warning:      #ca8a04;
  --ah-color-warning-bg:   #fefce8;
  --ah-color-danger:       #dc2626;
  --ah-color-danger-bg:    #fef2f2;
  --ah-color-info:         #0891b2;
  --ah-color-info-bg:      #ecfeff;
  --ah-color-text:         #111827;
  --ah-color-muted:        #6b7280;
  --ah-color-border:       #e5e7eb;
  --ah-color-bg:           #f9fafb;
  --ah-color-card:         #ffffff;
  --ah-radius:             10px;
  --ah-radius-sm:          6px;
  --ah-shadow-sm:          0 1px 3px rgba(0,0,0,.08);
  --ah-shadow-md:          0 4px 16px rgba(0,0,0,.10);
  --ah-shadow-lg:          0 8px 32px rgba(0,0,0,.14);
  --ah-font:               -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --ah-transition:         150ms ease;
}

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

.ah-wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 32px 20px;
  font-family: var(--ah-font);
  color: var(--ah-color-text);
}

/* ── LOGIN / REGISTER ────────────────────────────────────── */
.ah-auth-wrap {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--ah-color-bg);
}

.ah-auth-card {
  background: var(--ah-color-card);
  border-radius: 16px;
  box-shadow: var(--ah-shadow-lg);
  padding: 40px 44px;
  width: 100%;
  max-width: 480px;
}

.ah-auth-logo { text-align: center; margin-bottom: 20px; }
.ah-brand {
  font-size: 24px;
  font-weight: 800;
  color: var(--ah-color-primary);
  letter-spacing: -0.5px;
}

.ah-auth-title {
  font-size: 26px;
  font-weight: 700;
  text-align: center;
  margin: 0 0 6px;
  color: var(--ah-color-text);
}

.ah-auth-sub {
  text-align: center;
  color: var(--ah-color-muted);
  margin: 0 0 24px;
  font-size: 14px;
}

.ah-auth-footer {
  text-align: center;
  font-size: 14px;
  color: var(--ah-color-muted);
  margin-top: 20px;
}
.ah-auth-footer a { color: var(--ah-color-primary); text-decoration: none; font-weight: 600; }

.ah-terms {
  font-size: 12px;
  color: var(--ah-color-muted);
  text-align: center;
  margin-top: 12px;
}

/* ── TABS ─────────────────────────────────────────────────── */
.ah-tabs {
  display: flex;
  gap: 4px;
  background: var(--ah-color-bg);
  border-radius: var(--ah-radius);
  padding: 4px;
  margin-bottom: 24px;
}

.ah-tab {
  flex: 1;
  padding: 9px 12px;
  border: none;
  background: transparent;
  border-radius: var(--ah-radius-sm);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  color: var(--ah-color-muted);
  transition: all var(--ah-transition);
}

.ah-tab--active,
.ah-tab:hover {
  background: var(--ah-color-card);
  color: var(--ah-color-primary);
  box-shadow: var(--ah-shadow-sm);
}

.ah-tab-panel { display: none; }
.ah-tab-panel--active { display: block; }

/* ── FORMS ────────────────────────────────────────────────── */
.ah-form { width: 100%; }
.ah-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.ah-field { margin-bottom: 16px; }
.ah-field-row { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }

.ah-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--ah-color-text);
  margin-bottom: 6px;
}

.ah-input, .ah-select, .ah-textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1.5px solid var(--ah-color-border);
  border-radius: var(--ah-radius-sm);
  font-size: 14px;
  font-family: var(--ah-font);
  color: var(--ah-color-text);
  background: var(--ah-color-card);
  transition: border-color var(--ah-transition), box-shadow var(--ah-transition);
  outline: none;
}

.ah-input:focus, .ah-select:focus, .ah-textarea:focus {
  border-color: var(--ah-color-primary);
  box-shadow: 0 0 0 3px rgba(79,70,229,.15);
}

.ah-input:disabled { background: var(--ah-color-bg); cursor: not-allowed; }

.ah-textarea { resize: vertical; min-height: 120px; }
.ah-textarea--tall { min-height: 200px; }

.ah-input-wrap { position: relative; }
.ah-input-wrap .ah-input { padding-right: 44px; }

.ah-toggle-pass {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  color: var(--ah-color-muted);
  padding: 0;
  display: flex;
  align-items: center;
}

.ah-hint { font-size: 12px; color: var(--ah-color-muted); margin-top: 4px; display: block; }

.ah-input-file {
  width: 100%;
  padding: 8px;
  border: 1.5px dashed var(--ah-color-border);
  border-radius: var(--ah-radius-sm);
  background: var(--ah-color-bg);
  font-size: 13px;
  cursor: pointer;
}

.ah-checkbox-label { display: flex; align-items: center; gap: 6px; font-size: 13px; cursor: pointer; }

.ah-form-actions { display: flex; gap: 12px; align-items: center; margin-top: 24px; }

/* ── BUTTONS ──────────────────────────────────────────────── */
.ah-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 20px;
  border-radius: var(--ah-radius-sm);
  border: 1.5px solid transparent;
  font-size: 14px;
  font-weight: 600;
  font-family: var(--ah-font);
  cursor: pointer;
  text-decoration: none;
  transition: all var(--ah-transition);
  white-space: nowrap;
}

.ah-btn--primary {
  background: var(--ah-color-primary);
  color: #fff;
}
.ah-btn--primary:hover { background: var(--ah-color-primary-dark); color: #fff; }

.ah-btn--ghost {
  background: transparent;
  border-color: var(--ah-color-border);
  color: var(--ah-color-text);
}
.ah-btn--ghost:hover { background: var(--ah-color-bg); color: var(--ah-color-text); }

.ah-btn--outline {
  background: transparent;
  border-color: var(--ah-color-primary);
  color: var(--ah-color-primary);
}
.ah-btn--outline:hover { background: var(--ah-color-primary-light); }

.ah-btn--danger { background: var(--ah-color-danger); color: #fff; }
.ah-btn--danger:hover { background: #b91c1c; }

.ah-btn--full { width: 100%; }
.ah-btn--sm { padding: 7px 14px; font-size: 13px; }
.ah-btn--xs { padding: 4px 10px; font-size: 12px; }

/* ── ALERTS ───────────────────────────────────────────────── */
.ah-alert {
  padding: 12px 16px;
  border-radius: var(--ah-radius-sm);
  font-size: 14px;
  margin-bottom: 20px;
  border-left: 4px solid;
}
.ah-alert--error   { background: var(--ah-color-danger-bg);  border-color: var(--ah-color-danger);  color: #991b1b; }
.ah-alert--success { background: var(--ah-color-success-bg); border-color: var(--ah-color-success); color: #166534; }
.ah-alert--info    { background: var(--ah-color-info-bg);    border-color: var(--ah-color-info);    color: #164e63; }
.ah-alert--warning { background: var(--ah-color-warning-bg); border-color: var(--ah-color-warning); color: #92400e; }

/* ── ICONS ────────────────────────────────────────────────── */
.ah-icon    { width: 20px; height: 20px; }
.ah-icon-xs { width: 14px; height: 14px; display: inline-block; vertical-align: middle; }
.ah-icon-nav{ width: 18px; height: 18px; flex-shrink: 0; }

/* ── JOBS ─────────────────────────────────────────────────── */
.ah-jobs-header {
  margin-bottom: 28px;
}

.ah-search-bar {
  position: relative;
  flex: 1;
}

.ah-search-icon {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--ah-color-muted);
  pointer-events: none;
}

.ah-search-input { padding-left: 40px; }

.ah-search-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.ah-search-form--inline {
  flex-direction: row;
  align-items: center;
}

.ah-filters {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}

.ah-filters .ah-input,
.ah-filters .ah-select { width: auto; }

.ah-jobs-meta { margin-bottom: 20px; color: var(--ah-color-muted); font-size: 14px; }
.ah-jobs-meta strong { color: var(--ah-color-text); }

/* ── JOB GRID ─────────────────────────────────────────────── */
.ah-job-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 20px;
  margin-bottom: 32px;
}

.ah-job-card {
  background: var(--ah-color-card);
  border: 1.5px solid var(--ah-color-border);
  border-radius: var(--ah-radius);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: border-color var(--ah-transition), box-shadow var(--ah-transition);
}

.ah-job-card:hover {
  border-color: var(--ah-color-primary);
  box-shadow: var(--ah-shadow-md);
}

.ah-job-card__top {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  position: relative;
}

.ah-company-logo-wrap { flex-shrink: 0; }

.ah-company-logo {
  width: 48px;
  height: 48px;
  border-radius: var(--ah-radius-sm);
  object-fit: contain;
  border: 1px solid var(--ah-color-border);
  background: #fff;
}

.ah-company-logo-placeholder {
  width: 48px;
  height: 48px;
  border-radius: var(--ah-radius-sm);
  background: var(--ah-color-primary-light);
  color: var(--ah-color-primary);
  font-size: 20px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ah-company-logo-wrap--lg .ah-company-logo,
.ah-company-logo-wrap--lg .ah-company-logo-placeholder { width: 72px; height: 72px; font-size: 28px; }

.ah-company-logo-wrap--xl .ah-company-logo,
.ah-company-logo-wrap--xl .ah-company-logo-placeholder { width: 100px; height: 100px; font-size: 40px; }

.ah-job-card__info { flex: 1; min-width: 0; }
.ah-job-title { margin: 0 0 4px; font-size: 16px; font-weight: 700; }
.ah-job-title a { color: var(--ah-color-text); text-decoration: none; }
.ah-job-title a:hover { color: var(--ah-color-primary); }
.ah-company-name { font-size: 13px; color: var(--ah-color-muted); }

.ah-save-btn {
  position: absolute;
  right: 0;
  top: 0;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--ah-color-muted);
  padding: 4px;
  text-decoration: none;
  transition: color var(--ah-transition);
}
.ah-save-btn:hover, .ah-save-btn--saved { color: var(--ah-color-primary); }

/* ── TAGS ─────────────────────────────────────────────────── */
.ah-job-card__tags, .ah-single-job__tags { display: flex; flex-wrap: wrap; gap: 6px; }

.ah-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}

.ah-tag--location  { background: #f0fdf4; color: #166534; }
.ah-tag--type      { background: var(--ah-color-primary-light); color: var(--ah-color-primary); }
.ah-tag--salary    { background: #fefce8; color: #92400e; }
.ah-tag--level     { background: #fdf4ff; color: #7e22ce; }
.ah-tag--industry  { background: #ecfeff; color: #164e63; }
.ah-tag--date      { background: var(--ah-color-bg); color: var(--ah-color-muted); }

.ah-job-card__excerpt {
  font-size: 13px;
  color: var(--ah-color-muted);
  line-height: 1.5;
  flex: 1;
}

.ah-job-card__footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid var(--ah-color-border);
}

.ah-time-ago { font-size: 12px; color: var(--ah-color-muted); }

/* ── SINGLE JOB ───────────────────────────────────────────── */
.ah-single-job-wrap { max-width: 1100px; }

.ah-single-job__layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 32px;
  align-items: start;
}

.ah-single-job__header {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  margin-bottom: 20px;
}

.ah-single-job__title { font-size: 28px; font-weight: 800; margin: 0 0 6px; }
.ah-single-job__company { font-size: 16px; color: var(--ah-color-muted); margin: 0; }

.ah-single-job__description { margin-top: 28px; }

.ah-prose { font-size: 15px; line-height: 1.8; color: #374151; }
.ah-prose h2, .ah-prose h3 { color: var(--ah-color-text); margin-top: 28px; }
.ah-prose ul, .ah-prose ol { padding-left: 20px; }
.ah-prose li { margin-bottom: 4px; }

.ah-apply-box, .ah-company-box {
  background: var(--ah-color-card);
  border: 1.5px solid var(--ah-color-border);
  border-radius: var(--ah-radius);
  padding: 24px;
  margin-bottom: 20px;
}

.ah-apply-box__title { font-size: 18px; font-weight: 700; margin: 0 0 16px; }
.ah-company-box__title { font-size: 16px; font-weight: 700; margin: 0 0 12px; }
.ah-company-box__logo { width: 64px; height: 64px; border-radius: var(--ah-radius-sm); object-fit: contain; margin-bottom: 8px; }
.ah-company-box__name { font-weight: 700; font-size: 16px; margin: 4px 0 2px; }
.ah-company-box__industry, .ah-company-box__size, .ah-company-box__location { font-size: 13px; color: var(--ah-color-muted); margin: 2px 0; }
.ah-company-box__desc { font-size: 13px; color: var(--ah-color-muted); margin: 8px 0 12px; line-height: 1.6; }

.ah-back-link { margin-top: 32px; }
.ah-back-link a { color: var(--ah-color-primary); text-decoration: none; font-size: 14px; }

/* ── DASHBOARD ────────────────────────────────────────────── */
.ah-dashboard-wrap {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 28px;
  align-items: start;
  padding: 28px 20px;
}

.ah-dash-nav {
  background: var(--ah-color-card);
  border: 1.5px solid var(--ah-color-border);
  border-radius: var(--ah-radius);
  padding: 20px;
  position: sticky;
  top: 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.ah-dash-nav__user {
  display: flex;
  gap: 12px;
  align-items: center;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--ah-color-border);
}

.ah-avatar { border-radius: 50%; }
.ah-dash-nav__name { font-weight: 700; font-size: 15px; margin: 0; }
.ah-dash-nav__role { font-size: 12px; color: var(--ah-color-muted); margin: 2px 0 0; }

.ah-dash-nav__links { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2px; }

.ah-dash-nav__link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border-radius: var(--ah-radius-sm);
  text-decoration: none;
  color: var(--ah-color-muted);
  font-size: 14px;
  font-weight: 500;
  transition: all var(--ah-transition);
}

.ah-dash-nav__link:hover { background: var(--ah-color-bg); color: var(--ah-color-text); }
.ah-dash-nav__link--active { background: var(--ah-color-primary-light); color: var(--ah-color-primary); font-weight: 700; }

.ah-badge-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--ah-color-primary);
  color: #fff;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  margin-left: auto;
}

.ah-dash-nav__footer { border-top: 1px solid var(--ah-color-border); padding-top: 16px; }

.ah-dash-content { min-width: 0; }
.ah-dash-section { background: var(--ah-color-card); border: 1.5px solid var(--ah-color-border); border-radius: var(--ah-radius); padding: 28px; }
.ah-dash-section__header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.ah-dash-title { font-size: 22px; font-weight: 800; margin: 0 0 20px; }
.ah-dash-subtitle { font-size: 16px; font-weight: 700; margin: 24px 0 12px; }

/* ── STAT CARDS ───────────────────────────────────────────── */
.ah-stat-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 28px;
}

.ah-stat-card {
  background: var(--ah-color-bg);
  border: 1.5px solid var(--ah-color-border);
  border-radius: var(--ah-radius);
  padding: 20px;
  text-align: center;
}

.ah-stat-card--highlight { border-color: var(--ah-color-primary); background: var(--ah-color-primary-light); }
.ah-stat-card--completion { border-color: var(--ah-color-success); background: var(--ah-color-success-bg); }

.ah-stat-card__value { font-size: 32px; font-weight: 800; color: var(--ah-color-primary); line-height: 1; margin-bottom: 6px; }
.ah-stat-card--highlight .ah-stat-card__value { color: var(--ah-color-primary); }
.ah-stat-card--completion .ah-stat-card__value { color: var(--ah-color-success); }
.ah-stat-card__label { font-size: 13px; color: var(--ah-color-muted); font-weight: 600; }

.ah-overview-actions { display: flex; gap: 12px; margin-bottom: 24px; }

/* ── PROGRESS BAR ─────────────────────────────────────────── */
.ah-progress-bar {
  height: 6px;
  background: var(--ah-color-border);
  border-radius: 6px;
  overflow: hidden;
  margin-top: 10px;
}

.ah-progress-bar__fill {
  height: 100%;
  background: var(--ah-color-success);
  border-radius: 6px;
  transition: width 0.5s ease;
}

.ah-completion-bar { margin-bottom: 24px; font-size: 14px; font-weight: 600; color: var(--ah-color-muted); }

.ah-profile-nudge {
  background: var(--ah-color-primary-light);
  border: 1.5px solid var(--ah-color-primary);
  border-radius: var(--ah-radius);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  font-size: 14px;
}

/* ── TABLES ───────────────────────────────────────────────── */
.ah-table-wrap { overflow-x: auto; border-radius: var(--ah-radius); border: 1px solid var(--ah-color-border); }

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

.ah-table thead { background: var(--ah-color-bg); }
.ah-table th {
  text-align: left;
  padding: 11px 16px;
  font-size: 12px;
  font-weight: 700;
  color: var(--ah-color-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-bottom: 1.5px solid var(--ah-color-border);
  white-space: nowrap;
}

.ah-table td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--ah-color-border);
  vertical-align: top;
  color: var(--ah-color-text);
}

.ah-table tbody tr:last-child td { border-bottom: none; }
.ah-table tbody tr:hover td { background: var(--ah-color-bg); }

.ah-table-actions { white-space: nowrap; display: flex; gap: 6px; }

/* ── STATUS BADGES ────────────────────────────────────────── */
.ah-status {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

.ah-status--applied       { background: #e0f2fe; color: #0369a1; }
.ah-status--under_review  { background: #fefce8; color: #854d0e; }
.ah-status--shortlisted   { background: #f0fdf4; color: #166534; }
.ah-status--interview     { background: #fdf4ff; color: #7e22ce; }
.ah-status--rejected      { background: var(--ah-color-danger-bg); color: var(--ah-color-danger); }
.ah-status--hired         { background: #f0fdf4; color: #14532d; font-weight: 800; }

/* ── BADGES ───────────────────────────────────────────────── */
.ah-badge {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
}
.ah-badge--green  { background: #f0fdf4; color: #16a34a; }
.ah-badge--yellow { background: #fefce8; color: #ca8a04; }
.ah-badge--red    { background: var(--ah-color-danger-bg); color: var(--ah-color-danger); }

/* ── REPEATER (Education / Experience) ────────────────────── */
.ah-repeater { display: flex; flex-direction: column; gap: 10px; margin-bottom: 10px; }

.ah-repeater-row {
  display: grid;
  grid-template-columns: 1fr 1fr 120px auto;
  gap: 8px;
  align-items: start;
}

.ah-repeater-remove {
  align-self: center;
  flex-shrink: 0;
}

/* ── SELECT ───────────────────────────────────────────────── */
.ah-select--sm { padding: 6px 10px; font-size: 13px; }

/* ── CANDIDATES ───────────────────────────────────────────── */
.ah-candidates-wrap { }
.ah-candidates-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 28px;
  flex-wrap: wrap;
  gap: 16px;
}

.ah-page-title { font-size: 26px; font-weight: 800; margin: 0; }

.ah-candidate-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

.ah-candidate-card {
  background: var(--ah-color-card);
  border: 1.5px solid var(--ah-color-border);
  border-radius: var(--ah-radius);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: box-shadow var(--ah-transition);
}
.ah-candidate-card:hover { box-shadow: var(--ah-shadow-md); border-color: var(--ah-color-primary); }

.ah-candidate-card__top { display: flex; gap: 14px; align-items: flex-start; }
.ah-candidate-card__info { flex: 1; min-width: 0; }
.ah-candidate-name { font-size: 16px; font-weight: 700; margin: 0 0 2px; }
.ah-candidate-headline { font-size: 13px; color: var(--ah-color-muted); margin: 0; }
.ah-candidate-location { font-size: 12px; color: var(--ah-color-muted); margin: 4px 0 0; display: flex; align-items: center; gap: 4px; }
.ah-candidate-bio { font-size: 13px; color: var(--ah-color-muted); line-height: 1.5; margin: 0; }
.ah-candidate-card__skills { display: flex; flex-wrap: wrap; gap: 6px; }
.ah-candidate-card__footer { margin-top: auto; padding-top: 12px; border-top: 1px solid var(--ah-color-border); }

.ah-skill-tag {
  display: inline-block;
  padding: 2px 8px;
  background: var(--ah-color-bg);
  border: 1px solid var(--ah-color-border);
  border-radius: 20px;
  font-size: 12px;
  color: var(--ah-color-muted);
}
.ah-skill-tag--more { color: var(--ah-color-primary); border-color: var(--ah-color-primary); }

/* ── COMPANY PROFILE ──────────────────────────────────────── */
.ah-company-profile__header {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  margin-bottom: 32px;
}
.ah-company-profile__name { font-size: 30px; font-weight: 800; margin: 0 0 4px; }
.ah-company-profile__industry { font-size: 16px; color: var(--ah-color-muted); margin: 0 0 12px; }
.ah-company-profile__details { display: flex; flex-wrap: wrap; gap: 16px; font-size: 14px; color: var(--ah-color-muted); align-items: center; }
.ah-company-profile__details a { color: var(--ah-color-primary); text-decoration: none; }
.ah-company-profile__about { margin-top: 0; }

/* ── SETTINGS ─────────────────────────────────────────────── */
.ah-settings-card {
  max-width: 520px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* ── EMPTY STATE ──────────────────────────────────────────── */
.ah-empty-state {
  text-align: center;
  padding: 48px 24px;
  color: var(--ah-color-muted);
}
.ah-empty-state p { margin-bottom: 16px; font-size: 15px; }
.ah-empty-icon { width: 56px; height: 56px; margin: 0 auto 16px; display: block; }

/* ── COVER LETTER ─────────────────────────────────────────── */
.ah-cover-letter {
  background: var(--ah-color-bg);
  border: 1px solid var(--ah-color-border);
  border-radius: var(--ah-radius-sm);
  padding: 12px;
  margin-top: 8px;
  font-size: 13px;
  line-height: 1.6;
  color: var(--ah-color-muted);
}

/* ── NOTICE ───────────────────────────────────────────────── */
.ah-notice {
  padding: 14px 18px;
  background: var(--ah-color-info-bg);
  border: 1px solid var(--ah-color-info);
  border-radius: var(--ah-radius-sm);
  font-size: 14px;
  color: var(--ah-color-text);
}
.ah-notice a { color: var(--ah-color-primary); font-weight: 600; }

/* ── LOGO PREVIEW ─────────────────────────────────────────── */
.ah-logo-preview { width: 100px; height: 100px; object-fit: contain; border-radius: var(--ah-radius-sm); border: 1px solid var(--ah-color-border); }
.ah-current-logo { margin-bottom: 10px; }

/* ── MUTED ────────────────────────────────────────────────── */
.ah-muted { color: var(--ah-color-muted); font-size: 13px; }

/* ── PAGINATION ───────────────────────────────────────────── */
.ah-pagination {
  display: flex;
  gap: 6px;
  justify-content: center;
  margin-top: 32px;
  flex-wrap: wrap;
}
.ah-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: var(--ah-radius-sm);
  border: 1.5px solid var(--ah-color-border);
  font-size: 14px;
  font-weight: 600;
  color: var(--ah-color-text);
  text-decoration: none;
  background: var(--ah-color-card);
  transition: all var(--ah-transition);
}
.ah-pagination .page-numbers:hover { border-color: var(--ah-color-primary); color: var(--ah-color-primary); }
.ah-pagination .page-numbers.current { background: var(--ah-color-primary); color: #fff; border-color: var(--ah-color-primary); }
.ah-pagination .prev, .ah-pagination .next { width: auto; padding: 0 14px; }

/* ── SAVE JOB BTN ─────────────────────────────────────────── */
.ah-save-job-btn { margin-top: 10px; }

/* ── RESPONSIVE ───────────────────────────────────────────── */
@media (max-width: 900px) {
  .ah-single-job__layout { grid-template-columns: 1fr; }
  .ah-single-job__sidebar { order: -1; }
  .ah-dashboard-wrap { grid-template-columns: 1fr; }
  .ah-dash-nav { position: static; }
  .ah-stat-cards { grid-template-columns: 1fr 1fr; }
  .ah-form-grid { grid-template-columns: 1fr; }
  .ah-repeater-row { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .ah-auth-card { padding: 28px 20px; }
  .ah-job-grid { grid-template-columns: 1fr; }
  .ah-stat-cards { grid-template-columns: 1fr; }
  .ah-candidate-grid { grid-template-columns: 1fr; }
  .ah-filters { flex-direction: column; align-items: stretch; }
  .ah-filters .ah-input, .ah-filters .ah-select { width: 100%; }
  .ah-profile-nudge { flex-direction: column; gap: 10px; }
  .ah-company-profile__header { flex-direction: column; }
  .ah-overview-actions { flex-direction: column; }
  .ah-table { font-size: 13px; }
  .ah-table th, .ah-table td { padding: 10px 12px; }
}
