/* ═══════════════════════════════════════════════════════════════════════════
   AppaMuthu Manpower — Portal Stylesheet
   ═══════════════════════════════════════════════════════════════════════════ */

/* ── Google Fonts ── */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

/* ── CSS Variables ── */
:root {
  --amm-primary:       #1F3A5F;
  --amm-primary-light: #2a4e7a;
  --amm-accent:        #f5a623;
  --amm-accent-dark:   #d4891a;
  --amm-employer:      #0d6e5a;
  --amm-employer-lt:   #17a589;
  --amm-success:       #2e7d32;
  --amm-error:         #c62828;
  --amm-warning:       #f57f17;
  --amm-info:          #1565c0;
  --amm-bg:            #f4f6fb;
  --amm-surface:       #ffffff;
  --amm-border:        #E2E8F0;
  --amm-text:          #1F3A5F;
  --amm-text-muted:    #64748b;
  --amm-shadow-sm:     0 2px 8px rgba(31,58,95,0.08);
  --amm-shadow:        0 4px 20px rgba(31,58,95,0.12);
  --amm-shadow-lg:     0 8px 40px rgba(31,58,95,0.16);
  --amm-radius:        12px;
  --amm-radius-sm:     8px;
  --amm-sidebar-w:     260px;
  --amm-header-h:      64px;
  --amm-font:          'Inter', sans-serif;
  --amm-font-display:  'Inter', sans-serif;
  --transition:        0.2s ease;
}

/* ── Reset & Base ── */
.amm-portal *, .amm-auth-wrap *, .amm-jobs-page * {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
      font-family: "Inter", Sans-serif;
}
h1,h2,h3,h4,h5,h6,a,p,span{
        font-family: "Inter", Sans-serif !important;
}
@media (max-width: 921px) {
    .site-content .ast-container {
        padding: 0px !important;
    }
}
.amm-portal, .amm-auth-wrap, .amm-jobs-page {
  font-family: var(--amm-font);
  color: var(--amm-text);
  font-size: 15px;
  line-height: 1.6;
  background: var(--amm-bg);
  min-height: 100vh;
}

/* ═══════════════════════════════════════════════════════════════════
   AUTH PAGES
   ═══════════════════════════════════════════════════════════════════ */
.amm-auth-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 0px !important;
  padding: 0px !important;
  background: none !important;
}
.amm-apply-modal__close {
    padding: 10px;
}
.amm-auth-card {
  background: #fff;
  border-radius: 20px;
  padding: 20px;
  width: 100%;
  max-width: 460px;
  box-shadow: var(--amm-shadow-lg);
  animation: ammFadeUp 0.4s ease;
}
.amm-auth-brand { text-align: center; margin-bottom: 28px; }
.amm-auth-logo-icon { font-size: 48px; display: block; margin-bottom: 8px; }
.amm-auth-brand h1 {
  font-family: var(--amm-font-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--amm-primary);
  margin-bottom: 4px;
}
.amm-auth-brand p { color: var(--amm-text-muted); font-size: 13px; }
.amm-auth-brand--employer h1 { color: var(--amm-employer); }
.amm-auth-alt {
  text-align: center;
  font-size: 13px;
  color: #333;
  margin-top: 16px;
  font-weight: 300;
}
.amm-auth-alt a { color: var(--amm-primary); font-weight: 600; text-decoration: none; }
.amm-notice {
  background: #fff8e1;
  border: 1px solid #ffe082;
  border-radius: var(--amm-radius-sm);
  padding: 12px 16px;
  font-size: 13px;
  margin-top: 16px;
  color: #5d4037;
  font-weight: 400;
}

/* ═══════════════════════════════════════════════════════════════════
   PORTAL LAYOUT
   ═══════════════════════════════════════════════════════════════════ */
.amm-portal { display: flex; flex-direction: column; }
.amm-layout {
  display: flex;
  min-height: calc(100vh - var(--amm-header-h));
  margin-top: var(--amm-header-h);
}

/* ── Header ── */
.amm-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--amm-header-h);
  background: var(--amm-primary);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  z-index: 1000;
  box-shadow: 0 2px 12px rgba(0,0,0,0.2);
}
/*.amm-header--employer { background: var(--amm-employer); }*/
.amm-header__left { display: flex; align-items: center; gap: 12px; }
.amm-header__brand {
  display: flex; align-items: center; gap: 8px;
  text-decoration: none; color: #fff;
  font-family: var(--amm-font-display);
  font-size: 17px;
}
.amm-header__brand-icon { font-size: 24px; }
.amm-header__brand strong { color: var(--amm-accent); }
.amm-header__search { flex: 1; max-width: 500px; margin: 0 20px; }
.amm-search-bar {
  display: flex; gap: 8px;
}
.amm-search-bar input {
  flex: 1; padding: 8px 14px;
  border: none; border-radius: var(--amm-radius-sm);
  font-size: 13px; background: rgba(255,255,255,0.15);
  color: #fff; outline: none;
  transition: background var(--transition);
}
.amm-search-bar input::placeholder { color: rgba(255,255,255,0.6); }
#amm-quick-search input::placeholder { color: rgba(255,255,255,0.6); }
.amm-search-bar input:focus { background: rgba(255,255,255,0.25); }
#amm-quick-search input:focus { color: #fff !important; }
.amm-search-bar button {
  padding: 8px 16px; background: var(--amm-accent);
  border: none; border-radius: var(--amm-radius-sm);
  color: #fff; font-size: 13px; font-weight: 600;
  cursor: pointer; white-space: nowrap;
  transition: background var(--transition);
}
.amm-search-bar button:hover { background: var(--amm-accent-dark); }
.amm-header__actions { display: flex; align-items: center; gap: 12px; }
.amm-header__icon {
  background: rgba(255,255,255,0.12);
  border: none; border-radius: 50%;
  width: 38px; height: 38px;
  cursor: pointer; color: #fff;
  font-size: 16px; position: relative;
  transition: background var(--transition);
}
.amm-header__icon:hover { background: rgba(255,255,255,0.22); }
.amm-badge-dot {
  position: absolute; top: -2px; right: -2px;
  background: var(--amm-accent); color: #fff;
  border-radius: 50%; width: 18px; height: 18px;
  font-size: 10px; display: flex; align-items: center; justify-content: center;
  font-weight: 700;
}
.amm-header__profile {
  display: flex; align-items: center; gap: 8px;
  color: rgba(255,255,255,0.9); font-size: 14px; font-weight: 500;
}
.amm-header__avatar { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; border: 2px solid rgba(255,255,255,0.3); }
.amm-header__avatar-placeholder {
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--amm-accent); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 14px;
}
.amm-header__company-badge {
  background: rgba(255,255,255,0.12);
  padding: 4px 12px; border-radius: 20px;
  color: rgba(255,255,255,0.85); font-size: 13px;
}
.amm-sidebar-toggle {
  display: none; background: none; border: none;
  color: #fff; font-size: 22px; cursor: pointer; padding: 4px;
}

/* ── Sidebar ── */
.amm-sidebar {
  width: var(--amm-sidebar-w);
  min-width: var(--amm-sidebar-w);
  background: var(--amm-primary);
  padding: 24px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: calc(100vh - var(--amm-header-h));
  position: sticky;
  top: var(--amm-header-h);
  height: calc(100vh - var(--amm-header-h));
  overflow-y: auto;
  transition: transform var(--transition);
}
/*.amm-sidebar--employer { background: var(--amm-employer); }*/
.amm-sidebar__avatar {
  width: 72px; height: 72px; border-radius: 50%;
  object-fit: cover; border: 3px solid rgba(255,255,255,0.2);
  margin-bottom: 10px;
}
.amm-sidebar__avatar-placeholder {
  width: 53px; height: 53px; border-radius: 50%;
  background: var(--amm-accent); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 28px; font-weight: 700; margin-bottom: 10px;
}
.amm-sidebar__name {
  color: #fff; font-size: 14px; font-weight: 600;
  text-align: center; margin-bottom: 4px;
}
.amm-sidebar__company {
  color: rgba(255,255,255,0.6); font-size: 12px;
  text-align: center; margin-bottom: 12px;
}
.amm-sidebar__completion {
  color: rgba(255,255,255,0.6); font-size: 11px; margin-bottom: 20px;
}
.amm-profile-bar {
  width: 100%; height: 4px; background: rgba(255,255,255,0.2);
  border-radius: 2px; margin-bottom: 6px; overflow: hidden;
}
.amm-profile-bar__fill {
  height: 100%; background: var(--amm-accent);
  border-radius: 2px; transition: width 0.6s ease;
}
.amm-sidebar__menu {
  list-style: none; width: 100%; margin-top: 8px;
}
.amm-sidebar__menu a {
  display: flex; align-items: center; gap: 10px;
  padding: 11px 14px; border-radius: var(--amm-radius-sm);
  color: rgba(255,255,255,0.72); text-decoration: none;
  font-size: 14px; font-weight: 500;
  transition: all var(--transition); margin-bottom: 2px;
}
.amm-sidebar__menu a:hover { background: rgba(255,255,255,0.1); color: #fff; }
.amm-sidebar__menu a.active { background: rgba(255,255,255,0.18); color: #fff; font-weight: 600; }
.amm-sidebar__icon { font-size: 18px; width: 24px; text-align: center; }
.amm-sidebar__logout { color: rgba(255,120,120,0.85) !important; }
.amm-sidebar__logout:hover { background: rgba(255,80,80,0.15) !important; color: #ff6b6b !important; }

/* ── Main Content ── */
.amm-main {
  flex: 1; padding: 28px; overflow-y: auto;
  background: var(--amm-bg);
  min-height: calc(100vh - var(--amm-header-h));
}

/* ═══════════════════════════════════════════════════════════════════
   COMPONENTS
   ═══════════════════════════════════════════════════════════════════ */

/* Page Header */
.amm-page-header { margin-bottom: 24px; }
.amm-page-header h2 {
  font-family: var(--amm-font-display);
  font-size: 24px; font-weight: 700;
  color: var(--amm-text); margin-bottom: 4px;
}
.amm-page-header p { color: var(--amm-text-muted); font-size: 14px; }

/* Cards */
.amm-card {
  background: var(--amm-surface);
  border-radius: var(--amm-radius);
  padding: 24px;
  box-shadow: var(--amm-shadow-sm);
  border: 1px solid var(--amm-border);
  margin-bottom: 20px;
  animation: ammFadeUp 0.3s ease;
}
.amm-card__header {
  display: flex; align-items: center;
  justify-content: space-between; margin-bottom: 20px;
}
.amm-card__header h3, .amm-card__title {
  font-family: var(--amm-font-display);
  font-size: 17px; font-weight: 700;
  color: var(--amm-text); margin-bottom: 16px;
}
.amm-card__header h3 { margin-bottom: 0; }
.amm-card--danger { border-color: #ffcdd2; }

/* Stats Grid */
.amm-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px; margin-bottom: 24px;
}
.amm-stats-grid--2 { grid-template-columns: repeat(2, 1fr); }
.amm-stat-card {
  background: var(--amm-surface);
  border-radius: var(--amm-radius);
  padding: 20px;
  display: flex; align-items: center; gap: 16px;
  box-shadow: var(--amm-shadow-sm);
  border: 1px solid var(--amm-border);
  transition: transform var(--transition), box-shadow var(--transition);
  animation: ammFadeUp 0.4s ease;
}
.amm-stat-card:hover { transform: translateY(-2px); box-shadow: var(--amm-shadow); }
.amm-stat-card--blue  { border-left: 4px solid #1565c0; }
.amm-stat-card--red   { border-left: 4px solid #c62828; }
.amm-stat-card--green { border-left: 4px solid #2e7d32; }
.amm-stat-card--orange{ border-left: 4px solid #e65100; }
.amm-stat-card__icon  { font-size: 32px; }
.amm-stat-card__num   { display: block; font-size: 28px; font-weight: 800; color: var(--amm-text); font-family: var(--amm-font-display); }
.amm-stat-card__label { font-size: 12px; color: var(--amm-text-muted); font-weight: 500; }

/* Profile Summary */
.amm-profile-summary__body {
  display: flex; align-items: flex-start; gap: 20px;
}
.amm-profile-summary__photo img,
.amm-profile-summary__photo .amm-avatar-lg { flex-shrink: 0; }
.amm-profile-summary__info h4 {
  font-size: 18px; font-weight: 700; margin-bottom: 6px;
}
.amm-profile-summary__info p { font-size: 13px; color: var(--amm-text-muted); margin-bottom: 4px; }
.amm-completion-bar-wrap { display: flex; align-items: center; gap: 10px; margin-top: 10px; }
.amm-completion-bar { flex: 1; height: 6px; background: #e8ecf4; border-radius: 3px; overflow: hidden; }
.amm-completion-bar__fill { height: 100%; background: linear-gradient(90deg, var(--amm-primary), var(--amm-accent)); border-radius: 3px; }

/* Quick Action */
.amm-quick-action {
  display: flex; align-items: center;
  justify-content: space-between; gap: 20px;
  background: linear-gradient(135deg, var(--amm-primary), var(--amm-primary-light));
  color: #fff; border: none;
}
.amm-quick-action__text h3 { color: #fff; font-size: 17px; margin-bottom: 4px; }
.amm-quick-action__text p { color: rgba(255,255,255,0.7); font-size: 13px; }

/* Tables */
.amm-table { width: 100%; border-collapse: collapse; }
.amm-table thead th {
  background: #f4f6fb; padding: 10px 14px;
  text-align: left; font-size: 12px; font-weight: 700;
  color: var(--amm-text-muted); text-transform: uppercase;
  letter-spacing: 0.5px; border-bottom: 1px solid var(--amm-border);
}
.amm-table tbody td {
  padding: 14px; font-size: 14px;
  border-bottom: 1px solid var(--amm-border);
  vertical-align: middle;
}
.amm-table tbody tr:last-child td { border-bottom: none; }
.amm-table tbody tr:hover { background: #fafbfe; }

/* Badges */
.amm-badge {
  display: inline-block; padding: 3px 10px;
  border-radius: 20px; font-size: 11px; font-weight: 700;
  color: #fff; text-transform: uppercase; letter-spacing: 0.5px;
}
.amm-badge-dot { font-size: 10px; }

/* Tags */
.amm-tag {
  display: inline-block; padding: 3px 10px;
  border-radius: 20px; font-size: 12px; font-weight: 500;
  background: #eef1fa; color: var(--amm-primary);
  margin: 2px;
}
.amm-tag--type { background: #e8f5e9; color: #2e7d32; }
.amm-tag--skill { background: #e3f2fd; color: #1565c0; }
.amm-tag--sm { font-size: 11px; padding: 2px 8px; }

/* Forms */
.amm-form-group {
  display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px;
}
.amm-form-group label { font-size: 13px; font-weight: 600; color: var(--amm-text); }
.amm-form-group input,
.amm-form-group select,
.amm-form-group textarea {
  padding: 10px 14px;
  border: 1.5px solid var(--amm-border);
  border-radius: var(--amm-radius-sm);
  font-size: 14px; font-family: var(--amm-font);
  color: var(--amm-text); outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
  background: #fff;
}
.amm-form-group input:focus,
.amm-form-group select:focus,
.amm-form-group textarea:focus {
  border-color: var(--amm-primary);
  box-shadow: 0 0 0 3px rgba(31,58,95,0.08);
}
.amm-form-group input:disabled { background: #f5f5f5; color: #999; cursor: not-allowed; }
.amm-form-group textarea { resize: vertical; min-height: 120px; }
.amm-form--grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; }
.amm-form-group--full { grid-column: 1 / -1; }
.amm-form-actions { display: flex; gap: 12px; align-items: center; }
.amm-input-eye { position: relative; }
.amm-input-eye input { width: 100%; padding-right: 44px; }
.amm-toggle-pw {
  position: absolute; right: 12px; top: 50%; transform: translateY(-50%);
  background: none; border: none; cursor: pointer; font-size: 16px;
}
.amm-form-row { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.amm-checkbox-label { display: flex; align-items: center; gap: 6px; font-size: 13px; cursor: pointer; }
.amm-radio-group { display: flex; gap: 20px; }
.amm-radio-label { display: flex; align-items: center; gap: 6px; font-size: 14px; cursor: pointer; }

/* Buttons */
.amm-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  padding: 10px 20px; border-radius: var(--amm-radius-sm);
  font-size: 14px; font-weight: 600; font-family: var(--amm-font);
  cursor: pointer; border: none; text-decoration: none;
  transition: all var(--transition);
}
.amm-btn--primary { background: var(--amm-primary); color: #fff; }
.amm-btn--primary:hover { background: var(--amm-primary-light); transform: translateY(-1px); }
.amm-btn--employer { background: var(--amm-employer); color: #fff; }
.amm-btn--employer:hover { background: var(--amm-employer-lt); }
.amm-btn--outline { background: #fff; color: var(--amm-primary); border: 1.5px solid #fff; }
.amm-btn--outline:hover { background: var(--amm-primary); color: #fff; border: none;}
.amm-btn--danger { background: var(--amm-error); color: #fff; }
.amm-btn--danger:hover { background: #b71c1c; }
.amm-btn--applied { background: #e8f5e9; color: #2e7d32; cursor: default; }
.amm-btn--full { width: 100%; }
.amm-btn--lg { padding: 13px 28px; font-size: 15px; }
.amm-btn--sm { padding: 6px 12px; font-size: 12px; }
.amm-btn:disabled { opacity: 0.6; cursor: not-allowed; transform: none !important; }
.amm-btn-save {
  background: none; border: none; cursor: pointer;
  font-size: 20px; padding: 4px; transition: transform var(--transition);
  flex-shrink: 0;
}
.amm-btn-save:hover { transform: scale(1.2); }

/* Messages */
.amm-msg {
  padding: 10px 14px; border-radius: var(--amm-radius-sm);
  font-size: 13px; font-weight: 500;
}
.amm-msg.success { background: #e8f5e9; color: #2e7d32; border: 1px solid #a5d6a7; }
.amm-msg.error   { background: #ffebee; color: #c62828; border: 1px solid #ef9a9a; }
.amm-alert { padding: 14px 18px; border-radius: var(--amm-radius-sm); margin: 20px 0; }
.amm-alert--error { background: #ffebee; color: #c62828; border: 1px solid #ef9a9a; }
.amm-alert a { color: var(--amm-primary); font-weight: 600; }

/* Links */
.amm-link { color: var(--amm-primary); text-decoration: none; font-weight: 500; font-size: 13px; }
.amm-link:hover { text-decoration: underline; }
.amm-link--sm { font-size: 12px; }
.amm-text-muted { color: var(--amm-text-muted); font-size: 13px; }

/* Avatars */
.amm-avatar-lg {
  width: 80px; height: 80px; border-radius: 50%;
  background: var(--amm-accent); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 32px; font-weight: 700;
}

/* Skills */
.amm-skills-list { display: flex; flex-direction: column; gap: 10px; }
.amm-skill-item { display: flex; gap: 10px; align-items: center; }
.amm-skill-item input { flex: 1; }
.amm-btn-remove-skill {
  background: #ffebee; border: none; border-radius: 50%;
  width: 30px; height: 30px; cursor: pointer; color: var(--amm-error);
  font-weight: 700; font-size: 14px; flex-shrink: 0;
  transition: background var(--transition);
}
.amm-btn-remove-skill:hover { background: var(--amm-error); color: #fff; }
.amm-skills-mini { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 4px; }

/* Toggle Switch */
.amm-toggle-group { display: flex; flex-direction: column; gap: 14px; }
.amm-toggle-label {
  display: flex; align-items: center; gap: 12px;
  cursor: pointer; font-size: 14px;
}
.amm-toggle-label input[type=checkbox] { display: none; }
.amm-toggle-switch {
  width: 44px; height: 24px; background: #ccc;
  border-radius: 12px; position: relative;
  transition: background var(--transition); flex-shrink: 0;
}
.amm-toggle-switch::after {
  content: ''; position: absolute;
  width: 18px; height: 18px; border-radius: 50%;
  background: #fff; top: 3px; left: 3px;
  transition: transform var(--transition);
  box-shadow: 0 1px 4px rgba(0,0,0,0.2);
}
.amm-toggle-label input:checked + .amm-toggle-switch { background: var(--amm-primary); }
.amm-toggle-label input:checked + .amm-toggle-switch::after { transform: translateX(20px); }

/* Profile Tabs */
.amm-profile-tabs { display: flex; gap: 4px; margin-bottom: 20px; background: #fff; padding: 6px; border-radius: var(--amm-radius); box-shadow: var(--amm-shadow-sm); border: 1px solid var(--amm-border); }
.amm-tab-btn {
  flex: 1; padding: 9px; border: none; border-radius: 8px;
  background: transparent; cursor: pointer; font-size: 13px;
  font-weight: 600; color: var(--amm-text-muted); font-family: var(--amm-font);
  transition: all var(--transition);
}
.amm-tab-btn.active { background: var(--amm-primary); color: #fff; }
.amm-tab-panel { display: none; }
.amm-tab-panel.active { display: block; }

/* Experience fields */
.amm-experience-fields { display: contents; }

/* Photo Section */
.amm-photo-section { display: flex; align-items: center; }
.amm-photo-wrap { display: flex; align-items: center; gap: 20px; }
.amm-photo-preview { width: 80px; height: 80px; border-radius: 50%; object-fit: cover; border: 3px solid var(--amm-border); }
.amm-photo-actions { display: flex; flex-direction: column; gap: 8px; }

/* Resume */
.amm-resume-card { text-align: center; padding: 40px; }
.amm-resume-icon { font-size: 56px; margin-bottom: 16px; }
.amm-resume-card h3 { font-size: 20px; margin-bottom: 8px; }
.amm-resume-filename { color: var(--amm-text-muted); font-size: 13px; margin-bottom: 16px; }
.amm-resume-actions { display: flex; gap: 12px; justify-content: center; }
.amm-progress-wrap { margin-top: 16px; width: 100%; max-width: 300px; margin-left: auto; margin-right: auto; }
.amm-progress-bar { height: 8px; background: #e8ecf4; border-radius: 4px; overflow: hidden; margin-bottom: 6px; }
.amm-progress-fill { height: 100%; background: var(--amm-primary); border-radius: 4px; width: 0; transition: width 0.2s; }
.amm-tips-list { padding-left: 20px; }
.amm-tips-list li { margin-bottom: 8px; font-size: 14px; color: var(--amm-text-muted); }

/* Modal */
.amm-modal {
  position: fixed; inset: 0; z-index: 9999;
  display: flex; align-items: center; justify-content: center;
}
.amm-modal__overlay { position: absolute; inset: 0; background: rgba(0,0,0,0.5); }
.amm-modal__box {
  position: relative; background: #fff;
  border-radius: var(--amm-radius); padding: 32px;
  max-width: 460px; width: calc(100% - 40px);
  box-shadow: var(--amm-shadow-lg);
  animation: ammZoomIn 0.25s ease;
}
.amm-modal__box h3 { font-size: 18px; margin-bottom: 10px; }
.amm-modal__box p { color: var(--amm-text-muted); font-size: 14px; margin-bottom: 16px; }
.amm-modal__actions { display: flex; gap: 12px; justify-content: flex-end; margin-top: 16px; }
.amm-apply-modal { text-align: center; }
.amm-apply-modal__job { font-size: 16px; font-weight: 700; color: var(--amm-text); margin-bottom: 8px; }

/* Pending approval */
.amm-pending-approval {
  text-align: center; padding: 60px 40px;
  max-width: 480px; margin: 60px auto;
  background: #fff; border-radius: var(--amm-radius);
  box-shadow: var(--amm-shadow);
}
.amm-pending-icon { font-size: 64px; margin-bottom: 16px; }
.amm-pending-approval h2 { font-size: 22px; margin-bottom: 12px; }
.amm-pending-approval p { color: var(--amm-text-muted); margin-bottom: 8px; }
.amm-pending-sub { font-size: 13px; }

/* Empty state */
.amm-empty-state {
  text-align: center; padding: 60px 20px;
  background: #fff; border-radius: var(--amm-radius);
  box-shadow: var(--amm-shadow-sm);
}
.amm-empty-state > span { font-size: 56px; display: block; margin-bottom: 16px; }
.amm-empty-state h3 { font-size: 20px; margin-bottom: 8px; }
.amm-empty-state p { color: var(--amm-text-muted); margin-bottom: 20px; }

/* Candidate info cell */
.amm-candidate-info { font-size: 13px; line-height: 1.7; }
.amm-status-controls { display: flex; gap: 8px; align-items: center;  }
.amm-status-controls select { padding: 6px 10px; border: 1px solid var(--amm-border); border-radius: var(--amm-radius-sm); font-size: 12px; }

/* Filter bar */
.amm-filter-bar { padding: 16px 20px; margin-bottom: 20px; }
.amm-filter-form { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.amm-filter-group { flex: 1; min-width: 160px; }
.amm-filter-group select,
.amm-filter-group input { width: 100%; padding: 8px 12px; border: 1.5px solid var(--amm-border); border-radius: var(--amm-radius-sm); font-size: 13px; }

/* ═══════════════════════════════════════════════════════════════════
   JOB CARDS
   ═══════════════════════════════════════════════════════════════════ */
.amm-jobs-grid { display: flex; flex-direction: column; gap: 14px; }
.amm-job-card {
  background: var(--amm-surface);
  border: 1.5px solid var(--amm-border);
  border-radius: var(--amm-radius);
  padding: 20px;
  transition: all var(--transition);
  animation: ammFadeUp 0.3s ease;
}
.amm-job-card:hover { border-color: var(--amm-primary); box-shadow: var(--amm-shadow); transform: translateY(-1px); }
.amm-job-card__header { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 12px; }
.amm-job-card__logo { width: 48px; height: 48px; border-radius: 10px; overflow: hidden; border: 1px solid var(--amm-border); flex-shrink: 0; }
.amm-job-card__logo img { width: 100%; height: 100%; object-fit: cover; }
.amm-job-card__meta { flex: 1; }
.amm-job-card__title { font-size: 16px; font-weight: 700; color: var(--amm-text); margin-bottom: 2px; }
.amm-job-card__company { font-size: 13px; color: var(--amm-text-muted); }
.amm-job-card__details { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.amm-job-card__footer { display: flex; justify-content: space-between; align-items: center; }
.amm-job-card__date { font-size: 12px; color: var(--amm-text-muted); }
.amm-no-results { text-align: center; padding: 40px; color: var(--amm-text-muted); }

/* ═══════════════════════════════════════════════════════════════════
   JOBS BROWSE PAGE
   ═══════════════════════════════════════════════════════════════════ */
.amm-search-hero {
  background: linear-gradient(135deg, var(--amm-primary) 0%, #1a3d6e 100%);
  padding: 48px 24px; text-align: center; color: #fff;
  margin: -28px -28px 28px;
}
.amm-search-hero h1 { font-family: var(--amm-font-display); font-size: 32px; font-weight: 700; margin-bottom: 8px; }
.amm-search-hero p { color: rgba(255,255,255,0.75); margin-bottom: 28px; }
.amm-search-hero__form { max-width: 720px; margin: 0 auto; }
.amm-search-hero__inputs { display: flex; gap: 10px; flex-wrap: wrap; }
.amm-search-hero__field {
  flex: 1; min-width: 200px; display: flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,0.15); border: 1px solid rgba(255,255,255,0.25);
  border-radius: var(--amm-radius-sm); padding: 0 14px;
}
.amm-search-hero__field span { font-size: 18px; }
.amm-search-hero__field input {
  flex: 1; background: none; border: none; color: #fff; padding: 12px 0; outline: none; font-size: 14px;
}
.amm-search-hero__field input::placeholder { color: rgba(255,255,255,0.65); }

.amm-jobs-layout { display: flex; gap: 24px; }
.amm-jobs-filters {
  width: 240px; min-width: 240px; background: var(--amm-surface);
  border-radius: var(--amm-radius); padding: 20px;
  border: 1px solid var(--amm-border); box-shadow: var(--amm-shadow-sm);
  align-self: flex-start; position: sticky; top: calc(var(--amm-header-h) + 20px);
}
.amm-filters-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.amm-filters-header h3 { font-size: 15px; font-weight: 700; }
.amm-filter-section { margin-bottom: 20px; border-bottom: 1px solid var(--amm-border); padding-bottom: 20px; }
.amm-filter-section h4 { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; color: var(--amm-text-muted); margin-bottom: 10px; }
.amm-filter-section select,
.amm-salary-inputs input { width: 100%; padding: 8px 10px; border: 1.5px solid var(--amm-border); border-radius: 6px; font-size: 13px; }
.amm-salary-inputs { display: flex; align-items: center; gap: 6px; }
.amm-salary-inputs input { width: 0; flex: 1; }

.amm-jobs-results { flex: 1; }
.amm-results-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.amm-results-count { font-size: 14px; font-weight: 600; color: var(--amm-text); }
.amm-results-header select { padding: 6px 10px; border: 1px solid var(--amm-border); border-radius: 6px; font-size: 13px; }

/* Pagination */
.amm-pagination { display: flex; justify-content: center; gap: 6px; margin-top: 24px; flex-wrap: wrap; }
.amm-page-btn {
  padding: 7px 14px; border: 1.5px solid var(--amm-border);
  border-radius: var(--amm-radius-sm); background: #fff; cursor: pointer;
  font-size: 13px; font-weight: 500; transition: all var(--transition);
}
.amm-page-btn:hover, .amm-page-btn.active { background: var(--amm-primary); border-color: var(--amm-primary); color: #fff; }

/* Loading */
.amm-loading { text-align: center; padding: 40px; color: var(--amm-text-muted); }
.amm-spinner {
  width: 36px; height: 36px; border: 3px solid var(--amm-border);
  border-top-color: var(--amm-primary); border-radius: 50%;
  animation: ammSpin 0.7s linear infinite; margin: 0 auto 12px;
}
.amm-header__brand-icon{display: none;}

/* ═══════════════════════════════════════════════════════════════════
   ANIMATIONS
   ═══════════════════════════════════════════════════════════════════ */
@keyframes ammFadeUp {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes ammZoomIn {
  from { opacity: 0; transform: scale(0.92); }
  to   { opacity: 1; transform: scale(1); }
}
@keyframes ammSpin {
  to { transform: rotate(360deg); }
}

/* ═══════════════════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .amm-stats-grid { grid-template-columns: repeat(2, 1fr); }
  .amm-jobs-filters { width: 200px; min-width: 200px; }
}

@media (max-width: 768px) {
  .amm-sidebar-toggle { display: block !important; }
  .amm-sidebar {
    position: fixed; left: 0; top: var(--amm-header-h); z-index: 999;
    transform: translateX(-100%); height: calc(100vh - var(--amm-header-h));
    width: 280px; min-width: 280px;
  }
  .amm-sidebar.open { transform: translateX(0); box-shadow: 4px 0 20px rgba(0,0,0,0.2); }
  .amm-header__search { display: none; }
  .amm-main { padding: 10px;}
  .amm-card{padding: 10px;}
  .amm-stats-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .amm-form--grid { grid-template-columns: 1fr; }
  .amm-form-group--full { grid-column: 1; }
  .amm-profile-summary__body { flex-direction: column; }
  .amm-search-hero { margin: -16px -16px 20px; padding: 32px 16px; }
  .amm-search-hero h1 { font-size: 24px; }
  .amm-search-hero__inputs { flex-direction: column; }
  .amm-jobs-layout { flex-direction: column; }
  .amm-jobs-filters { width: 100%; min-width: 0; position: static; }
  .amm-auth-card { padding: 28px 20px; }

  /* Responsive table */
  .amm-table--responsive thead { display: none; }
  .amm-table--responsive tbody tr {
    display: block; margin-bottom: 12px;
    border: 1px solid var(--amm-border); border-radius: 8px;
    padding: 4px;
  }
  .amm-table--responsive tbody td {
    display: flex; justify-content: space-between;
    align-items: center; border-bottom: 1px solid #f0f0f0;
    padding: 10px 12px;
  }
  .amm-table--responsive tbody td::before {
    content: attr(data-label); font-weight: 700;
    font-size: 11px; text-transform: uppercase;
    color: var(--amm-text-muted); flex-shrink: 0; margin-right: 10px;
  }
  .amm-table--responsive tbody td:last-child { border-bottom: none; }
  .amm-header__company-badge{display: none;}
  .amm-header__brand  .header-website-title{
    display: none;
}
}

@media (max-width: 480px) {
  .amm-stats-grid { grid-template-columns: 1fr; }
  .amm-stats-grid--2 { grid-template-columns: 1fr; }
  .amm-quick-action { flex-direction: column; text-align: center; }
  .amm-profile-tabs { flex-wrap: wrap; }
  .amm-tab-btn { flex: none; min-width: calc(50% - 4px); }
}

/* ── Job Card Enhancements ─────────────────────────────────────────────────── */
.amm-job-card__desc {
  font-size: 13px;
  color: var(--amm-text-muted);
  line-height: 1.6;
  margin-bottom: 12px;
  padding: 0 2px;
}
.amm-job-card__actions { display: flex; gap: 8px; align-items: center; }

/* Apply form - additional card styles for standalone use */
.amm-job-apply-standalone { max-width: 680px; margin: 0 auto; }
.job-archive-loop-card .elementor-widget-container .elementor-loop-container .e-loop-item[data-elementor-type="loop-item"]{
    border: none;
}
.amm-toggle-pw {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 18px;
    position: absolute;
    right: 10px;
    top: 20px !important;
    transform: translateY(-50%);
    color: #64748b;
}
.amm-toggle-confirm-pw{
    background: none;
    border: none;
    cursor: pointer;
    font-size: 18px;
    position: absolute;
    right: 10px;
    top: 20px !important;
    transform: translateY(-50%);
    color: #64748b;
}

.amm-input-eye {
    position: relative;
}

.amm-input-eye input {
    padding-right: 40px;
}
/* Nextend Social Login buttons */
.amm-social-login-wrap {
    margin-bottom: 8px;
}
.amm-social-login-wrap .nextend-social-login {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.amm-social-login-wrap .nextend-social-login a,
.amm-social-login-wrap .nextend-social-login button {
    width: 100% !important;
    border-radius: 8px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    padding: 11px 16px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;
    border: 1.5px solid #E2E8F0 !important;
    background: #fff !important;
    color: #1F3A5F !important;
    text-decoration: none !important;
    transition: all 0.2s !important;
    box-shadow: none !important;
}
.amm-social-login-wrap .nextend-social-login a:hover,
.amm-social-login-wrap .nextend-social-login button:hover {
    background: #f8faff !important;
    border-color: #1F3A5F !important;
}

/* Divider */
.amm-divider {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 18px 0;
    color: #333;
    font-size: 13px;
    font-weight: 400;
}
.amm-divider::before,
.amm-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: #333;
}