/*!*************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[14].oneOf[10].use[2]!./node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[14].oneOf[10].use[3]!./app/globals.css ***!
  \*************************************************************************************************************************************************************************************************************************************************************/
:root {
  --bg: #f4f6fb;
  --card: #ffffff;
  --border: #e2e6ef;
  --text: #1f2733;
  --muted: #6b7585;
  --primary: #2563eb;
  --primary-hover: #1d4ed8;
  --danger: #dc2626;
  --danger-hover: #b91c1c;
  --shadow: 0 1px 3px rgba(16, 24, 40, 0.08), 0 1px 2px rgba(16, 24, 40, 0.04);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 15px;
  line-height: 1.5;
}

a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }

.container { max-width: 1040px; margin: 0 auto; padding: 24px 20px 64px; }
.narrow { max-width: 460px; }

/* Header */
.header {
  display: flex;
  align-items: center;
  gap: 24px;
  background: var(--card);
  border-bottom: 1px solid var(--border);
  padding: 12px 24px;
}
.header .brand { font-weight: 700; font-size: 16px; }
.header nav { display: flex; gap: 16px; flex: 1 1; }
.header .user { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: 14px; }

/* Cards */
.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 10px;
  box-shadow: var(--shadow);
  padding: 20px 22px;
  margin-bottom: 20px;
}
.card h2 { margin: 0 0 14px; font-size: 17px; }
.card h3 { margin: 0 0 12px; font-size: 15px; }

.page-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}
.page-head h1 { font-size: 22px; margin: 0; }

/* Forms */
label { display: block; font-weight: 600; font-size: 13px; margin: 12px 0 4px; }
input, select, textarea {
  width: 100%;
  padding: 9px 11px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font: inherit;
  background: #fff;
  color: var(--text);
}
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}
textarea { resize: vertical; min-height: 90px; }
input[type="file"] { padding: 7px; background: #fafbfe; }
.hint { color: var(--muted); font-size: 12px; margin-top: 4px; }
.readonly { background: #f1f3f8; color: var(--muted); }

/* Buttons */
button, .btn {
  display: inline-block;
  border: none;
  border-radius: 8px;
  padding: 9px 16px;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  background: var(--primary);
  color: #fff;
}
button:hover, .btn:hover { background: var(--primary-hover); text-decoration: none; }
.btn-secondary { background: #eef1f7; color: var(--text); }
.btn-secondary:hover { background: #e2e6ef; }
.btn-danger { background: var(--danger); }
.btn-danger:hover { background: var(--danger-hover); }
.btn-sm { padding: 5px 10px; font-size: 13px; }
.actions { display: flex; gap: 10px; align-items: center; margin-top: 18px; flex-wrap: wrap; }

/* Inline checkbox + label (e.g. Auto Dice auto-submit toggle) */
.checkbox-row { display: flex; align-items: center; gap: 8px; margin: 12px 0 4px; font-weight: 500; }
.checkbox-row input[type="checkbox"] { width: auto; margin: 0; }
.checkbox-row span { font-weight: 500; font-size: 14px; }

/* Tables */
table { width: 100%; border-collapse: collapse; }
th, td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--border); vertical-align: top; }
th { font-size: 12px; text-transform: uppercase; letter-spacing: .03em; color: var(--muted); }
tr:last-child td { border-bottom: none; }

/* Status badges */
.badge {
  display: inline-block;
  padding: 2px 9px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  background: #eef1f7;
  color: var(--muted);
}
.badge.Draft { background: #eceff3; color: #51606f; }
.badge.Applied { background: #e0edff; color: #1d4ed8; }
.badge.Interviewing { background: #fff4d6; color: #92660a; }
.badge.Offer { background: #dcfce7; color: #15803d; }
.badge.Rejected { background: #fde2e1; color: #b91c1c; }
.badge.On.Hold { background: #ede9fe; color: #6d28d9; }
.badge.Withdrawn { background: #eceff3; color: #51606f; }

.alert {
  background: #fde2e1;
  border: 1px solid #f6b9b6;
  color: #9b1c17;
  padding: 10px 12px;
  border-radius: 8px;
  margin-bottom: 14px;
  font-size: 14px;
}
.ats-report { margin-top: 14px; border-top: 1px solid #e4e8ef; padding-top: 10px; }
.ats-report h4 { margin: 10px 0 4px; font-size: 13px; }
.ats-report p { font-size: 13px; margin: 0 0 6px; }
.ats-report ul { margin: 0 0 8px 18px; font-size: 13px; padding: 0; }
.ats-report li { margin-bottom: 3px; }
.alert-success {
  background: #dcfce7;
  border-color: #a7e3bd;
  color: #15803d;
}
/* Resume upload + generate button row */
.resume-row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.resume-row input[type="file"] { flex: 1 1; min-width: 220px; }
.resume-row .progress { flex-basis: 100%; }

/* Progress bar (indeterminate) */
.progress { margin-top: 12px; }
.progress-bar {
  height: 8px;
  background: #eef1f7;
  border-radius: 999px;
  overflow: hidden;
  position: relative;
}
.progress-bar span {
  position: absolute;
  top: 0; bottom: 0;
  width: 40%;
  background: var(--primary);
  border-radius: 999px;
  animation: progress-indeterminate 1.2s ease-in-out infinite;
}
@keyframes progress-indeterminate {
  0% { left: -40%; }
  100% { left: 100%; }
}
.progress-text { font-size: 13px; font-weight: 600; margin: 8px 0 2px; }

/* Tabs */
.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--border); margin-bottom: 18px; }
.tab {
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  border-radius: 0;
  color: var(--muted);
  font-weight: 600;
  padding: 8px 14px;
  margin-bottom: -1px;
}
.tab:hover { background: none; color: var(--text); }
.tab.active { color: var(--primary); border-bottom-color: var(--primary); }

.muted { color: var(--muted); }
.empty { color: var(--muted); padding: 18px 0; text-align: center; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; grid-gap: 14px; gap: 14px; }
@media (max-width: 560px) { .grid-2 { grid-template-columns: 1fr; } }

