/* Typography and icons */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Montserrat:wght@500&display=swap');
@import url("https://cdn.jsdelivr.net/npm/bootstrap-icons@1.3.0/font/bootstrap-icons.css");

:root {
  --color-primary: #1A2B3C;
  --color-accent: #007BFF;
  --color-bg: #F8F9FA;
  --color-surface: #FFFFFF;
  --color-muted: #6C7A89;
  --color-soft: #E9ECF1;
  --shadow-soft: 0 10px 30px rgba(15, 23, 42, 0.08);
  --radius-lg: 12px;
  --radius-md: 10px;
  --radius-sm: 8px;
  --nav-bg: rgba(26, 43, 60, 0.86);
}

[data-theme="dark"] {
  --color-primary: #E4E8EE;
  --color-accent: #4DA3FF;
  --color-bg: #0F1419;
  --color-surface: #1A2332;
  --color-muted: #8B9AAD;
  --color-soft: #243040;
  --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.3);
  --nav-bg: rgba(15, 20, 25, 0.92);
}

html,
body {
  font-family: 'Inter', 'Roboto', 'Montserrat', 'Poppins', sans-serif;
  margin: 0;
  padding: 0;
  background: var(--color-bg);
  color: var(--color-primary);
  line-height: 1.6;
}

a {
  text-decoration: none;
}

.bold { font-weight: 700; }

/* Theme Toggle */
.theme-toggle {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  font-size: 1.1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 1rem;
}

.theme-toggle:hover {
  background: var(--color-accent);
  transform: rotate(15deg);
}

.theme-toggle i {
  transition: transform 0.3s ease;
}

[data-theme="dark"] .theme-toggle i::before {
  content: "\F5A2"; /* bi-sun-fill */
}

/* Navigation */
.nav-glass {
  background: var(--nav-bg);
  backdrop-filter: blur(10px);
  box-shadow: 0 0 0 rgba(0, 0, 0, 0);
}

#mynav {
  position: sticky;
  top: 0;
  z-index: 1040;
  transition: box-shadow 0.2s ease;
}

.nav-elevated {
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
}

#mynav .navbar-brand {
  font-weight: 800;
  letter-spacing: -0.5px;
}

.brand-mark { color: #ffffff; font-size: 1.25rem; }
.brand-accent { color: var(--color-accent); margin-left: 2px; }

#mynav .nav-link {
  color: #dfe7ef;
  font-weight: 500;
}

#mynav .nav-link:hover,
#mynav .nav-link:focus,
#mynav .nav-link.active {
  color: #ffffff;
}

.nav-search { gap: 10px; }
.nav-input {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  border-radius: var(--radius-sm);
}
.nav-input::placeholder { color: #d0d8e4; }
.nav-search-btn {
  border-color: rgba(255, 255, 255, 0.6);
  color: #ffffff;
}
.nav-search-btn:hover { background: var(--color-accent); border-color: var(--color-accent); }

/* Hero */
.container-lpage {
  min-height: 100vh;
  background: radial-gradient(circle at 20% 20%, rgba(0, 123, 255, 0.08), transparent 25%),
              radial-gradient(circle at 80% 0%, rgba(26, 43, 60, 0.35), transparent 30%),
              linear-gradient(135deg, #1A2B3C 0%, #0f1926 60%, #1A2B3C 100%);
  position: relative;
  overflow: hidden;
}

.hero-overlay { padding: 4rem 0 5rem; }
.hero-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2.5rem;
  align-items: center;
}

.hero-copy { color: #e8ecf2; }
.eyebrow {
  letter-spacing: 0.08em;
  font-weight: 600;
  color: #9fb2c8;
  font-size: 0.85rem;
}
.main-heading {
  color: #ffffff;
  font-weight: 800;
  font-size: clamp(2rem, 2.8vw, 3.2rem);
  margin-bottom: 0.5rem;
}
.hero-copy .lead { max-width: 540px; }

.actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

.lbtn {
  background: var(--color-accent);
  color: #ffffff;
  border: none;
  border-radius: var(--radius-sm);
  padding: 0.75rem 1.4rem;
  font-weight: 600;
  box-shadow: var(--shadow-soft);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.lbtn:hover { transform: translateY(-2px); box-shadow: 0 14px 28px rgba(0, 123, 255, 0.2); color: #ffffff; }
.lbtn.ghost {
  background: transparent;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.4);
}
.lbtn.ghost:hover { background: rgba(255, 255, 255, 0.08); }

.hero-meta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.badge-pill {
  background: rgba(255, 255, 255, 0.08);
  color: #e8ecf2;
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 0.88rem;
}

.hero-visual { display: grid; gap: 1rem; align-items: start; }
.floating-card {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  padding: 1.5rem;
  border: 1px solid #e5eaf1;
}
.floating-title { color: var(--color-primary); font-weight: 700; }
.floating-search .search-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
}
.floating-search .form-control,
.floating-search .form-select { border-radius: var(--radius-sm); }
.quick-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tag { background: var(--color-soft); color: var(--color-primary); border-radius: var(--radius-sm); padding: 6px 10px; font-weight: 600; font-size: 0.85rem; }

.hero-illustration { display: flex; justify-content: center; }
.hero-image { width: min(480px, 100%); filter: drop-shadow(0 18px 40px rgba(0,0,0,0.15)); border-radius: var(--radius-md); }

/* Jobs page */
.page-surface { background: var(--color-bg); min-height: 100vh; }
.jobs-wrapper { max-width: 1200px; }
.jobs-header .section-title { color: var(--color-primary); font-weight: 800; }
.filter-inline { width: 100%; max-width: 620px; }
.filter-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 10px;
  align-items: end;
}
.filter-grid .form-control,
.filter-grid .form-select { border-radius: var(--radius-sm); }

.job-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
  margin-top: 2rem;
}

.job-card {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.25rem 1rem;
  border: 1px solid #e5eaf1;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}
.job-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-soft); border-color: rgba(0, 123, 255, 0.35); }

.job-card__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(0, 123, 255, 0.12);
  color: var(--color-accent);
  padding: 6px 12px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.9rem;
}
.status-pill .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-accent);
}
.job-meta .posted { color: var(--color-muted); font-size: 0.9rem; }

.job-title-wrap { margin-bottom: 8px; }
.company-name { color: var(--color-primary); font-weight: 800; }
.role-line { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.role { font-weight: 700; }
.category-pill { background: var(--color-soft); color: var(--color-primary); padding: 6px 12px; border-radius: var(--radius-sm); font-weight: 600; }
.posted-by { color: var(--color-muted); }

.job-highlights { display: flex; flex-wrap: wrap; gap: 12px 16px; margin-bottom: 10px; }
.highlight { display: inline-flex; align-items: center; gap: 6px; color: var(--color-primary); font-weight: 600; }
.highlight i { color: var(--color-accent); }

.job-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 10px; }
.tag-remote { background: rgba(0, 123, 255, 0.12); color: var(--color-accent); }
.tag-onsite { background: rgba(26, 43, 60, 0.08); color: var(--color-primary); }
.tag-salary { background: #fff4e6; color: #b86b00; }

.skills { margin: 2px 0 10px; display: flex; flex-wrap: wrap; gap: 6px; }
.chip {
  background: var(--color-soft);
  color: var(--color-primary);
  padding: 6px 10px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.9rem;
}

.job-card__footer { display: flex; justify-content: flex-end; }

.empty-state h3 { color: var(--color-primary); font-weight: 700; }

/* Forms & shared */
.form-box {
  box-shadow: var(--shadow-soft);
  border-top: 5px solid var(--color-primary);
  border-left: 3px solid var(--color-primary);
  border-radius: var(--radius-md);
}

.bg-theme {
  background: var(--color-primary);
  color: #ffffff;
}

.modal-footer i { font-size: 22px; margin: 0 2px; }
.form-group i { font-size: 20px; margin-right: 2px; margin-bottom: 1px; }
.form-group label { margin-bottom: 3px; }

/* Login page */
.login-shell {
  position: relative;
  min-height: 100vh;
  background: radial-gradient(circle at 30% 20%, rgba(0, 123, 255, 0.14), transparent 40%),
              radial-gradient(circle at 80% 0%, rgba(26, 43, 60, 0.35), transparent 35%),
              linear-gradient(135deg, #101a26 0%, #1A2B3C 60%, #0f1722 100%);
  overflow: hidden;
}

#molecule-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.login-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 3fr 2fr;
  min-height: 100vh;
}

.login-left {
  position: relative;
  background: url('https://images.unsplash.com/photo-1521737604893-d14cc237f11d?auto=format&fit=crop&w=1600&q=80') center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
}

.login-left .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(16, 26, 38, 0.75), rgba(26, 43, 60, 0.85));
}

.quote-wrap {
  position: relative;
  max-width: 520px;
  padding: 2rem 2.5rem;
  color: #eaf1f8;
  text-align: center;
  backdrop-filter: blur(4px);
}

.quote-text {
  font-size: clamp(1.5rem, 2.2vw, 2.4rem);
  font-weight: 700;
  margin-bottom: 0.8rem;
}

.quote-sub { color: #c6d4e5; font-weight: 600; }

.login-right {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(1.5rem, 4vw, 3rem);
  background: linear-gradient(145deg, rgba(255,255,255,0.1), rgba(0,0,0,0.02));
}

.glass-card {
  width: min(520px, 100%);
  background: rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  padding: 1.8rem;
  border: 1px solid rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(15px);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.25);
  color: #ffffff;
}

.glass-card h2 { color: #ffffff; font-weight: 800; }
.glass-card .text-muted { color: #d8e1ec !important; }

.login-form .form-label { color: #d0d8e4; font-weight: 600; }

.focus-glow:focus {
  box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.35);
  border-color: rgba(0, 123, 255, 0.6);
}

.btn-login {
  position: relative;
  overflow: hidden;
  background: linear-gradient(120deg, #007BFF, #1A2B3C);
  box-shadow: 0 15px 35px rgba(0, 123, 255, 0.35);
  transform-origin: center;
}

.btn-login::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(60deg, rgba(255,255,255,0.0) 0%, rgba(255,255,255,0.35) 50%, rgba(255,255,255,0.0) 100%);
  transform: translateX(-100%);
  transition: transform 0.5s ease;
}

.btn-login:hover { transform: translateY(-2px) scale(1.01); }
.btn-login:hover::after { transform: translateX(120%); }

/* Back to top button */
#backToTop {
  position: fixed;
  right: 18px;
  bottom: 18px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: none;
  background: var(--color-accent);
  color: #ffffff;
  font-size: 1.1rem;
  display: grid;
  place-items: center;
  box-shadow: 0 14px 28px rgba(0, 123, 255, 0.35);
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

#backToTop.show {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

#backToTop:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 32px rgba(0, 123, 255, 0.45);
}

@media (max-width: 576px) {
  #backToTop { right: 14px; bottom: 14px; }
}

@media (max-width: 992px) {
  .login-grid { grid-template-columns: 1fr; }
  .login-left { display: none; }
  .login-right { padding: 2rem 1.25rem; }
}

@media (max-width: 768px) {
  .hero-overlay { padding: 3rem 0; }
  .nav-search { margin-top: 10px; }
}

/* Nav Avatar & Dropdown */
.nav-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--color-accent);
}

.nav-user-name {
  color: #ffffff;
  font-weight: 500;
}

.nav-admin-link {
  color: #ffc107 !important;
  font-weight: 600;
}

.dropdown-menu {
  border: none;
  border-radius: var(--radius-md);
  box-shadow: 0 10px 40px rgba(0,0,0,0.15);
}

.dropdown-header {
  padding: 0.75rem 1rem;
}

.dropdown-item {
  padding: 0.6rem 1rem;
  border-radius: 6px;
  margin: 2px 6px;
  transition: background 0.2s;
}

.dropdown-item:hover {
  background: var(--color-soft);
}

.dropdown-item i {
  color: var(--color-accent);
}

.dropdown-item.text-danger i {
  color: #dc3545;
}

/* Footer */
.site-footer {
  background: var(--color-primary);
  color: #d0d8e4;
  padding: 3rem 0 1.5rem;
  margin-top: auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-logo {
  font-size: 1.5rem;
  font-weight: 800;
  color: #ffffff;
  text-decoration: none;
}

.footer-logo span {
  color: var(--color-accent);
}

.footer-brand p {
  margin-top: 0.75rem;
  font-size: 0.9rem;
  max-width: 280px;
}

.footer-links h5 {
  color: #ffffff;
  font-weight: 600;
  margin-bottom: 1rem;
}

.footer-links a {
  display: block;
  color: #b0bdd0;
  text-decoration: none;
  margin-bottom: 0.5rem;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--color-accent);
}

.footer-bottom {
  text-align: center;
  padding-top: 1.5rem;
  font-size: 0.85rem;
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .footer-brand p { margin: 0.75rem auto 0; }
}

/* Profile Page */
.profile-page {
  min-height: 100vh;
  background: var(--color-bg);
}

.profile-header {
  background: #ffffff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  margin-bottom: 2rem;
}

.profile-cover {
  height: 140px;
  background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
}

.profile-info {
  display: flex;
  align-items: flex-end;
  gap: 1.5rem;
  padding: 0 2rem 2rem;
  margin-top: -60px;
  flex-wrap: wrap;
}

.profile-avatar-wrap {
  position: relative;
}

.profile-avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  border: 4px solid #ffffff;
  object-fit: cover;
  box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}

.role-badge {
  position: absolute;
  bottom: 5px;
  right: 5px;
  background: var(--color-accent);
  color: #ffffff;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  border: 2px solid #ffffff;
}

.role-badge.admin { background: #dc3545; }
.role-badge.employer { background: #28a745; }

.profile-details {
  flex: 1;
  min-width: 200px;
}

.profile-details h1 {
  font-size: 1.75rem;
  color: var(--color-primary);
  margin-bottom: 0.5rem;
}

.profile-email, .profile-location {
  color: var(--color-muted);
  font-size: 0.9rem;
  margin-bottom: 0.25rem;
}

.profile-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.profile-card {
  background: #ffffff;
  border-radius: var(--radius-md);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.profile-card h3 {
  font-size: 1.1rem;
  color: var(--color-primary);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.profile-card h3 i {
  color: var(--color-accent);
}

.contact-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.contact-item {
  display: flex;
  flex-direction: column;
}

.contact-label {
  font-size: 0.75rem;
  color: var(--color-muted);
  text-transform: uppercase;
}

.contact-value {
  color: var(--color-primary);
  font-weight: 500;
}

.contact-value.link {
  color: var(--color-accent);
  text-decoration: none;
}

.skills-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.skill-tag {
  background: rgba(0, 123, 255, 0.1);
  color: var(--color-accent);
  padding: 0.4rem 0.8rem;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 500;
}

.settings-list {
  display: flex;
  flex-direction: column;
}

.settings-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem;
  color: var(--color-primary);
  text-decoration: none;
  border-radius: var(--radius-sm);
  transition: background 0.2s;
}

.settings-item:hover {
  background: var(--color-soft);
}

.settings-item i:first-child {
  color: var(--color-accent);
}

.settings-item i:last-child {
  margin-left: auto;
  color: var(--color-muted);
}

/* Edit Profile Page */
.edit-profile-page {
  min-height: 100vh;
  background: var(--color-bg);
}

.edit-container {
  max-width: 700px;
  margin: 0 auto;
}

.edit-header {
  margin-bottom: 2rem;
}

.back-link {
  color: var(--color-accent);
  text-decoration: none;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.back-link:hover {
  text-decoration: underline;
}

.edit-header h1 {
  color: var(--color-primary);
  font-size: 1.75rem;
  margin-bottom: 0.5rem;
}

.edit-card {
  background: #ffffff;
  border-radius: var(--radius-md);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.edit-card h3 {
  font-size: 1.1rem;
  color: var(--color-primary);
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid #eee;
}

.edit-card h3 i {
  color: var(--color-accent);
}

.avatar-upload {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.current-avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--color-accent);
}

.file-label {
  cursor: pointer;
}

.file-label input[type="file"] {
  display: none;
}

.hint {
  font-size: 0.8rem;
  color: var(--color-muted);
}

.form-actions {
  display: flex;
  justify-content: flex-end;
  gap: 1rem;
  margin-top: 1.5rem;
}

.current-cv {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem;
  background: rgba(0, 123, 255, 0.05);
  border-radius: var(--radius-sm);
}

.current-cv a {
  color: var(--color-accent);
}

/* Change Password Page */
.change-password-page {
  min-height: 100vh;
  background: var(--color-bg);
  display: flex;
  align-items: center;
}

.password-container {
  width: 100%;
  max-width: 450px;
  margin: 0 auto;
}

.password-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-soft);
}

.card-header-icon {
  text-align: center;
  margin: 1rem 0 2rem;
}

.icon-circle {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}

.icon-circle i {
  font-size: 1.75rem;
  color: #ffffff;
}

.card-header-icon h1 {
  color: var(--color-primary);
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.password-input {
  position: relative;
}

.password-input input {
  padding-right: 2.5rem;
}

.toggle-password {
  position: absolute;
  right: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--color-muted);
  cursor: pointer;
}

.toggle-password:hover {
  color: var(--color-primary);
}

.password-strength {
  height: 4px;
  background: #e0e0e0;
  border-radius: 2px;
  overflow: hidden;
}

.strength-bar {
  height: 100%;
  width: 0;
  transition: all 0.3s;
  border-radius: 2px;
}

.strength-bar.weak { background: #dc3545; }
.strength-bar.fair { background: #ffc107; }
.strength-bar.good { background: #17a2b8; }
.strength-bar.strong { background: #28a745; }

.match-indicator {
  font-size: 0.85rem;
  display: block;
  margin-top: 0.5rem;
}

/* Dashboard Page */
.dashboard-page {
  min-height: 100vh;
  background: var(--color-bg);
}

.dashboard-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.welcome-section {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.user-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--color-accent);
}

.welcome-section h1 {
  color: var(--color-primary);
  font-size: 1.5rem;
  margin-bottom: 0.25rem;
}

.header-actions {
  display: flex;
  gap: 0.75rem;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin-bottom: 2rem;
}

.stat-card {
  background: #ffffff;
  border-radius: var(--radius-md);
  padding: 1.25rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.stat-icon {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  color: #ffffff;
}

.stat-icon.blue { background: linear-gradient(135deg, #007bff, #0056b3); }
.stat-icon.green { background: linear-gradient(135deg, #28a745, #1e7e34); }
.stat-icon.purple { background: linear-gradient(135deg, #6f42c1, #5a32a3); }
.stat-icon.orange { background: linear-gradient(135deg, #fd7e14, #e06c00); }

.stat-info {
  display: flex;
  flex-direction: column;
}

.stat-number {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-primary);
}

.stat-label {
  font-size: 0.85rem;
  color: var(--color-muted);
}

.dashboard-card {
  background: #ffffff;
  border-radius: var(--radius-md);
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  overflow: hidden;
  margin-bottom: 1.5rem;
}

.dashboard-card .card-header {
  padding: 1rem 1.25rem;
  border-bottom: 1px solid #eee;
  background: transparent;
}

.dashboard-card .card-header h3 {
  font-size: 1rem;
  color: var(--color-primary);
  margin: 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.dashboard-card .card-header h3 i {
  color: var(--color-accent);
}

.card-content {
  padding: 1.25rem;
}

.applications-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.application-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
  background: var(--color-soft);
  border-radius: var(--radius-sm);
  flex-wrap: wrap;
  gap: 1rem;
}

.app-info h4 {
  font-size: 0.95rem;
  color: var(--color-primary);
  margin-bottom: 0.25rem;
}

.app-info p {
  font-size: 0.85rem;
  color: var(--color-muted);
  margin-bottom: 0;
}

.app-status {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.status-badge {
  padding: 0.3rem 0.75rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: capitalize;
}

.status-badge.applied { background: #fff3cd; color: #856404; }
.status-badge.shortlisted { background: #cce5ff; color: #004085; }
.status-badge.hired { background: #d4edda; color: #155724; }
.status-badge.rejected { background: #f8d7da; color: #721c24; }

.empty-state {
  text-align: center;
  padding: 2rem;
  color: var(--color-muted);
}

.empty-state i {
  font-size: 3rem;
  margin-bottom: 1rem;
  opacity: 0.5;
}

.checklist {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.check-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--color-muted);
}

.check-item.done {
  color: var(--color-primary);
}

.quick-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.quick-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem;
  background: var(--color-soft);
  border-radius: var(--radius-sm);
  color: var(--color-primary);
  text-decoration: none;
  transition: all 0.2s;
}

.quick-link:hover {
  background: var(--color-accent);
  color: #ffffff;
}

.quick-link i {
  font-size: 1.1rem;
}

@media (max-width: 768px) {
  .profile-info {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  
  .profile-actions {
    justify-content: center;
  }
  
  .dashboard-header {
    flex-direction: column;
    align-items: flex-start;
  }
}
