﻿* { box-sizing: border-box; margin: 0; padding: 0; font-family: 'Segoe UI', Arial, sans-serif; }
body { background: #eef1f7; color: #1a1a1a; }
a { text-decoration: none; color: inherit; }

.topbar { height: 48px; background: #1f3864; display: flex; align-items: center; justify-content: space-between; padding: 0 18px; }
.topbar .brand { color: #fff; font-size: 15px; font-weight: 700; letter-spacing: 0.3px; }
.topbar .user { color: #dfe6f3; font-size: 13px; display: flex; align-items: center; gap: 8px; }
.topbar .user a { color: #dfe6f3; text-decoration: underline; }
.avatar { width: 26px; height: 26px; border-radius: 50%; background: #5b7fc7; display: inline-block; }

.content { padding: 24px; max-width: 900px; margin: 0 auto; }
.h1 { font-size: 20px; font-weight: 700; color: #1f3864; margin-bottom: 16px; }

.login-wrap { min-height: 100vh; background: linear-gradient(160deg, #1f3864, #35547f); display: flex; align-items: center; justify-content: center; }
.login-card { width: 360px; background: #fff; border-radius: 10px; padding: 32px; box-shadow: 0 10px 24px rgba(0,0,0,0.3); }
.login-title { font-size: 18px; font-weight: 700; color: #1f3864; text-align: center; margin-bottom: 22px; }
.field { margin-bottom: 16px; }
.field-label { font-size: 12px; color: #667; margin-bottom: 5px; display: block; }
.field-box, input[type=text], input[type=email], input[type=password], input[type=file], textarea, select {
  width: 100%; height: 38px; border: 1px solid #cdd4e0; border-radius: 6px; background: #f7f9fc;
  padding: 0 10px; font-size: 13px;
}
textarea { height: 90px; padding: 8px 10px; resize: vertical; }
.btn, button.btn { display: block; width: 100%; text-align: center; background: #1f3864; color: #fff; font-size: 14px;
  font-weight: 700; padding: 11px 0; border-radius: 7px; margin-top: 16px; border: none; cursor: pointer; }
.btn:hover { background: #163055; }
.btn-link { text-align: center; margin-top: 14px; font-size: 13px; color: #35547f; }

.card { background: #fff; border-radius: 8px; padding: 18px 20px; margin-bottom: 14px; box-shadow: 0 2px 6px rgba(0,0,0,0.06); }

.vac-card { border: 1px solid #e2e6ef; border-radius: 8px; padding: 16px 18px; margin-bottom: 14px; background: #fff;
  display: flex; justify-content: space-between; align-items: center; }
.vac-title { font-size: 15px; font-weight: 700; color: #1f3864; }
.vac-dept { font-size: 12px; color: #8894a8; margin-top: 4px; }
.btn-sm { background: #1f3864; color: #fff; font-size: 12px; font-weight: 700; padding: 9px 18px; border-radius: 6px;
  white-space: nowrap; border: none; cursor: pointer; }
.btn-sm.danger { background: #fff; color: #c0392b; border: 1px solid #c0392b; }
.btn-sm.neutral { background: #fff; color: #1f3864; border: 1px solid #1f3864; }

.form-label { font-size: 13px; color: #667; margin: 14px 0 6px 0; font-weight: 600; display: block; }
.dropzone { border: 2px dashed #9fb3d1; border-radius: 8px; padding: 18px; text-align: center; color: #5b7fc7;
  font-size: 13px; font-weight: 600; background: #f4f7fc; margin-top: 6px; }

.badge { font-size: 11px; font-weight: 700; padding: 5px 12px; border-radius: 12px; color: #fff; display: inline-block; }
.b-applied { background: #4a7fd6; } .b-screening { background: #c98a1f; }
.b-interviewscheduled, .b-interviewcompleted { background: #7b52c9; }
.b-decisionpending { background: #8894a8; }
.b-offered { background: #2e9e5b; } .b-rejected { background: #c0392b; } .b-withdrawn { background: #8894a8; }

.app-row { display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid #eef0f5;
  padding: 14px 2px; font-size: 14px; color: #333; }
.timeline { display: flex; align-items: center; gap: 6px; margin-top: 10px; }
.tdot { width: 11px; height: 11px; border-radius: 50%; background: #1f3864; }
.tdot.pending { background: #cdd4e0; }
.tline { width: 30px; height: 2px; background: #cdd4e0; }

.hr-wrap { display: flex; min-height: 100vh; }
.hr-sidebar { width: 170px; background: #1a2744; color: #cdd6ea; padding: 14px 0; }
.hr-nav-item { font-size: 13px; padding: 12px 18px; display: block; }
.hr-nav-item.active { background: #2c3f66; color: #fff; font-weight: 700; border-left: 4px solid #5b9bff; }
.hr-main { flex: 1; padding: 24px; background: #f6f8fc; }
.stat-row { display: flex; gap: 12px; margin-bottom: 20px; flex-wrap: wrap; }
.stat-card { flex: 1; min-width: 130px; background: #fff; border-radius: 8px; padding: 14px 16px; box-shadow: 0 2px 8px rgba(0,0,0,0.08); }
.stat-num { font-size: 24px; font-weight: 800; color: #1f3864; }
.stat-label { font-size: 10.5px; color: #8894a8; margin-top: 4px; }
.hr-table { background: #fff; border-radius: 8px; padding: 14px 16px; overflow-x: auto; }
.hr-row { display: flex; justify-content: space-between; align-items: center; font-size: 13px; padding: 11px 2px;
  border-bottom: 1px solid #eef0f5; gap: 10px; }
.hr-row > div { flex: 1; }
.hr-actions { display: flex; gap: 6px; align-items: center; }
.act-btn { font-size: 11.5px; font-weight: 700; padding: 6px 12px; border-radius: 6px; border: none; cursor: pointer; }
.act-advance { background: #1f3864; color: #fff; } .act-reject { background: #fff; color: #c0392b; border: 1px solid #c0392b; }

.alert { padding: 12px 16px; border-radius: 6px; margin-bottom: 16px; font-size: 13px; }
.alert-error { background: #fdecea; color: #c0392b; border: 1px solid #f3c5c0; }
.alert-success { background: #eafaf0; color: #2e9e5b; border: 1px solid #bfe9d0; }

