body {
  background: #f8fafc;
  color: #1e293b;
  font-family: 'Inter', 'Segoe UI', system-ui, sans-serif;
  border-top: 3px solid #c8922a;
}

.card-base {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  box-shadow: 0 2px 8px rgba(30,58,95,0.06);
}

.hover-lift {
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.hover-lift:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(30,58,95,0.12);
}

.accent-gold {
  border-left: 3px solid #c8922a;
}

.btn-primary {
  background: #1e3a5f;
  color: #ffffff;
  border-radius: 12px;
  transition: background .15s ease, transform .15s ease;
}

.btn-primary:hover {
  background: #2d5490;
}

.btn-primary:active {
  transform: scale(.98);
}

input:focus, select:focus, textarea:focus {
  border-color: #1e3a5f !important;
  box-shadow: 0 0 0 3px rgba(30,58,95,0.10) !important;
  outline: none !important;
}

.tbl {
  border-collapse: separate;
  border-spacing: 0;
}

.tbl thead th {
  background: #f8fafc;
  color: #64748b;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-bottom: 2px solid #e2e8f0;
  padding: 13px 16px;
  text-align: left;
  white-space: nowrap;
}

.tbl tbody td {
  padding: 5px 3px;
  border-bottom: 1px solid #f1f5f9;
  vertical-align: middle;
}

.tbl tbody tr:hover {
  background: #f8fafc;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 11px;
  line-height: 1;
  font-weight: 800;
  white-space: nowrap;
}

.card-shadow {
  box-shadow: 0 2px 8px rgba(30,58,95,0.06);
}

.glass {
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(16px);
}

.sidebar-link {
  display: flex;
  align-items: center;
  gap: 10px;
  border-radius: 14px;
  padding: 10px 12px;
  color: #64748b;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
  transition: background .15s ease, color .15s ease;
}

.sidebar-link:hover {
  background: #f8fafc;
  color: #1e3a5f;
}

.sidebar-link.active {
  background: #f0f4ff;
  color: #1e3a5f;
  box-shadow: inset 3px 0 0 #c8922a;
}

.line-clamp-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.public-nav {
  background: #ffffff;
  border-bottom: 1px solid #e2e8f0;
  box-shadow: 0 1px 8px rgba(30,58,95,0.08);
}

.public-logo-mark {
  background: #1e3a5f;
  color: #ffffff;
}

.public-logo-text {
  color: #1e3a5f;
}

.public-nav-link {
  color: #64748b;
}

.public-nav-link:hover {
  color: #1e3a5f;
}

.public-avatar {
  background: #1e3a5f;
  color: #ffffff;
}

.public-logout {
  border: 1px solid #e2e8f0;
  color: #64748b;
  background: #ffffff;
}

.public-logout:hover {
  color: #be123c;
  background: #fff1f2;
  border-color: #fecdd3;
}

.profile-shell {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  align-items: stretch;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 24px;
  box-shadow: 0 2px 8px rgba(30,58,95,0.06);
  overflow: hidden;
}

.profile-sidebar {
  background: #ffffff;
  border-right: 1px solid #e2e8f0;
  width: 220px;
  padding: 16px 12px;
}

.profile-mini {
  border-bottom: 1px solid #e2e8f0;
  padding: 4px 6px 16px;
  margin-bottom: 8px;
}

.profile-avatar {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: #1e3a5f;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
}

.profile-name {
  color: #1e3a5f;
  font-size: 13px;
  font-weight: 900;
  line-height: 1.2;
}

.profile-progress-track {
  background: #e2e8f0;
  height: 6px;
  border-radius: 3px;
  overflow: hidden;
}

.profile-progress-fill {
  background: #c8922a;
  height: 6px;
  border-radius: 3px;
}

.profile-group-label {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: #94a3b8;
  text-transform: uppercase;
  padding: 12px 8px 4px;
}

.profile-tab {
  display: block;
  color: #64748b;
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
  margin-bottom: 2px;
}

.profile-tab:hover {
  background: #f8fafc;
  color: #1e3a5f;
}

.profile-tab.active {
  background: #f0f4ff;
  color: #1e3a5f;
  border-left: 3px solid #c8922a;
  font-weight: 900;
}

.profile-content {
  background: #ffffff;
  padding: 24px;
  min-width: 0;
}

.profile-section-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  padding: 24px;
  box-shadow: 0 2px 8px rgba(30,58,95,0.04);
}

.profile-section-title {
  color: #1e3a5f;
  border-left: 3px solid #c8922a;
  padding-left: 10px;
  font-size: 14px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: 20px;
}

.profile-input {
  width: 100%;
  border-radius: 14px;
  border: 1px solid #e2e8f0;
  background: #ffffff;
  padding: 10px 12px;
  font-size: 14px;
  color: #1e293b;
  outline: none;
}

.profile-save {
  background: #1e3a5f;
  color: #ffffff;
  border-radius: 14px;
  padding: 11px 22px;
  font-size: 14px;
  font-weight: 900;
  transition: background .15s ease;
}

.profile-save:hover {
  background: #c8922a;
}

.profile-add {
  background: #059669;
  color: #ffffff;
  border-radius: 14px;
  padding: 10px 18px;
  font-size: 13px;
  font-weight: 900;
}

.profile-add:hover {
  background: #047857;
}

.dashboard-header {
  background: linear-gradient(135deg, #f0f4ff 0%, #ffffff 100%);
  border: 1px solid #e2e8f0;
  border-top: 4px solid #c8922a;
  border-radius: 20px;
  padding: 32px;
  box-shadow: 0 2px 8px rgba(30,58,95,0.06);
}

.dashboard-avatar {
  width: 72px;
  height: 72px;
  border-radius: 22px;
  background: #1e3a5f;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  font-weight: 900;
}

.dashboard-stat-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  padding: 18px;
  box-shadow: 0 2px 8px rgba(30,58,95,0.05);
}

.application-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  padding: 18px;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.application-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(30,58,95,0.12);
  border-left: 3px solid #c8922a;
}

.vac-flash {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  position: relative;
  width: 100%;
  padding: 14px 48px 14px 16px;
  border: 1px solid;
  border-radius: 14px;
  background: #ffffff;
}

.vac-flash-success {
  color: #166534;
  background: #f0fdf4;
  border-color: #bbf7d0;
}

.vac-flash-error {
  color: #991b1b;
  background: #fef2f2;
  border-color: #fecaca;
}

.vac-flash-icon {
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.75);
}

.vac-flash-icon svg {
  width: 18px;
  height: 18px;
  display: block;
}

.vac-flash-content {
  min-width: 0;
  flex: 1;
}

.vac-flash-title {
  margin-bottom: 3px;
  font-size: 14px;
  line-height: 1.3;
  font-weight: 800;
}

.vac-flash-message {
  font-size: 13px;
  line-height: 1.5;
  color: #475569;
}

.vac-flash-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #64748b;
  cursor: pointer;
}

.vac-flash-close:hover {
  background: rgba(15, 23, 42, 0.08);
}

.vac-flash-close svg {
  width: 16px;
  height: 16px;
  display: block;
}

@media (max-width: 860px) {
  .profile-shell {
    grid-template-columns: 1fr;
  }

  .profile-sidebar {
    width: auto;
    border-right: none;
    border-bottom: 1px solid #e2e8f0;
  }
}
