/* ============================================================
   SEO INTERN MANAGER — style.css
   intern.fahadayubseo.com
   ============================================================ */

/* ── RESET & TOKENS ──────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --ink:    #0D0D0D;
  --paper:  #F5F2EC;
  --cream:  #EDE9E0;
  --green:  #1A6B4A;
  --gl:     #E8F5EE;
  --gm:     #2A8B62;
  --amber:  #C8740A;
  --al:     #FEF3E2;
  --red:    #C0392B;
  --rl:     #FDEEEC;
  --rule:   #D4CFC5;
  --muted:  #6B6560;
  --blue:   #185FA5;
  --bl:     #E6F1FB;
  --serif:  'Playfair Display', Georgia, serif;
  --sans:   'DM Sans', sans-serif;
  --mono:   'DM Mono', monospace;
  --sh:     0 2px 12px rgba(0,0,0,.07);
}

html  { scroll-behavior: smooth; }
body  { background: var(--paper); color: var(--ink); font-family: var(--sans); font-size: 14px; line-height: 1.65; overflow-x: hidden; }
a     { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
::selection { background: #1A6B4A22; }

/* ── LAYOUT ──────────────────────────────────────────────── */
.app        { display: flex; min-height: 100vh; }
.sidebar    { width: 230px; min-width: 230px; background: var(--ink); position: fixed; top: 0; left: 0; height: 100vh; overflow-y: auto; display: flex; flex-direction: column; z-index: 200; }
.main-wrap  { margin-left: 230px; flex: 1; min-height: 100vh; }

/* ── SIDEBAR ─────────────────────────────────────────────── */
.sb-head    { padding: 22px 18px 16px; border-bottom: 1px solid #1a1a1a; }
.sb-logo    { font-family: var(--mono); font-size: 11px; letter-spacing: .1em; color: #5DC899; text-transform: uppercase; font-weight: 500; }
.sb-tagline { font-size: 11px; color: #444; margin-top: 4px; }
.sb-sec     { padding: 14px 14px 4px; font-family: var(--mono); font-size: 9px; letter-spacing: .16em; text-transform: uppercase; color: #333; }
.sb-link    { display: flex; align-items: center; gap: 10px; padding: 9px 16px; cursor: pointer; border-radius: 3px; margin: 1px 8px; font-size: 12.5px; color: #8A9490; transition: all .15s; text-decoration: none; }
.sb-link:hover { background: #111; color: #ccc; text-decoration: none; }
.sb-link.act   { background: #152d1f; color: #5DC899; }
.sb-link svg   { width: 15px; height: 15px; flex-shrink: 0; opacity: .7; }
.sb-link.act svg { opacity: 1; }
.sb-pill    { margin-left: auto; font-family: var(--mono); font-size: 9px; padding: 2px 7px; border-radius: 10px; background: #1a3d2b; color: #5DC899; }
.sb-pill.r  { background: #3d1a1a; color: #e57373; }
.sb-pill.a  { background: #3d2a0a; color: #f5a623; }
.sb-div     { height: 1px; background: #1a1a1a; margin: 6px 14px; }
.sb-foot    { margin-top: auto; padding: 14px 16px; border-top: 1px solid #1a1a1a; }
.sb-you     { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.sb-av      { width: 32px; height: 32px; border-radius: 50%; background: #152d1f; display: flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 600; color: #5DC899; flex-shrink: 0; }
.sb-name    { font-size: 12px; color: #8a9490; font-weight: 500; }
.sb-role    { font-size: 10px; color: #444; }
.sb-logout  { display: block; text-align: center; padding: 7px; border: 1px solid #1a1a1a; border-radius: 3px; font-size: 12px; color: #555; transition: all .15s; text-decoration: none; }
.sb-logout:hover { border-color: var(--red); color: #e57373; text-decoration: none; }

/* ── PAGE HEADER ─────────────────────────────────────────── */
.ph         { padding: 24px 32px 0; border-bottom: 1px solid var(--rule); background: var(--paper); position: sticky; top: 0; z-index: 100; }
.ph-row     { display: flex; align-items: start; justify-content: space-between; margin-bottom: 14px; gap: 12px; flex-wrap: wrap; }
.ph-title   { font-family: var(--serif); font-size: 24px; font-weight: 900; letter-spacing: -.01em; line-height: 1.1; }
.ph-title em { font-style: italic; color: var(--green); }
.ph-sub     { font-size: 12px; color: var(--muted); margin-top: 3px; }
.ph-tabs    { display: flex; gap: 0; overflow-x: auto; }
.tab        { padding: 10px 16px; font-size: 12.5px; font-weight: 500; color: var(--muted); cursor: pointer; border-bottom: 2px solid transparent; white-space: nowrap; transition: all .15s; background: none; border-top: none; border-left: none; border-right: none; text-decoration: none; display: inline-block; }
.tab:hover  { color: var(--ink); text-decoration: none; }
.tab.act    { color: var(--green); border-bottom-color: var(--green); }
.content    { padding: 24px 32px; }

/* ── BUTTONS ─────────────────────────────────────────────── */
.btn        { display: inline-flex; align-items: center; gap: 6px; padding: 9px 18px; border-radius: 3px; font-size: 12.5px; font-weight: 600; cursor: pointer; transition: all .15s; border: none; white-space: nowrap; font-family: var(--sans); text-decoration: none; }
.btn:hover  { text-decoration: none; }
.btn-g      { background: var(--green); color: #fff; }
.btn-g:hover { background: var(--gm); color: #fff; }
.btn-o      { background: var(--cream); border: 1px solid var(--rule); color: var(--ink); }
.btn-o:hover { background: #e0dcd4; }
.btn-r      { background: var(--rl); border: 1px solid #f5c6c0; color: var(--red); }
.btn-r:hover { background: #faddda; }
.btn-a      { background: var(--al); border: 1px solid #f5d5a0; color: var(--amber); }
.btn-sm     { padding: 6px 13px; font-size: 12px; }
.btn-xs     { padding: 4px 10px; font-size: 11px; }

/* ── STAT CARDS ──────────────────────────────────────────── */
.stats      { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px,1fr)); gap: 12px; margin-bottom: 24px; }
.sc         { background: var(--cream); border: 1px solid var(--rule); border-radius: 6px; padding: 14px 16px; }
.sc-n       { font-family: var(--mono); font-size: 26px; font-weight: 500; line-height: 1; margin-bottom: 4px; }
.sc-l       { font-size: 10.5px; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }
.sc-d       { font-size: 11px; margin-top: 5px; }
.sc.g .sc-n { color: var(--green); }
.sc.a .sc-n { color: var(--amber); }
.sc.r .sc-n { color: var(--red);   }
.sc.b .sc-n { color: var(--blue);  }

/* ── SECTION HEAD ────────────────────────────────────────── */
.sec-head   { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.sec-title  { font-family: var(--serif); font-size: 16px; font-weight: 700; }
.sec-title em { font-style: italic; color: var(--green); }

/* ── STATUS PILLS ────────────────────────────────────────── */
.pill       { font-family: var(--mono); font-size: 10px; padding: 3px 9px; border-radius: 2px; letter-spacing: .06em; text-transform: uppercase; font-weight: 500; white-space: nowrap; }
.p-active   { background: var(--gl);  color: var(--green); }
.p-review   { background: var(--al);  color: var(--amber); }
.p-selected { background: #d4edda;    color: #155724; }
.p-rejected { background: var(--rl);  color: var(--red);   }
.p-kicked   { background: var(--rl);  color: var(--red);   }
.p-paused   { background: #f0ede8;    color: #9e9790; }
.p-pending  { background: var(--bl);  color: var(--blue);  }
.p-complete { background: #d4edda;    color: #155724; }
.p-live     { background: var(--gl);  color: var(--green); }
.p-progress { background: var(--bl);  color: var(--blue);  }

/* ── CANDIDATE CARDS ─────────────────────────────────────── */
.clist      { display: flex; flex-direction: column; gap: 9px; }
.ccard      { background: var(--cream); border: 1px solid var(--rule); border-radius: 6px; padding: 14px 16px; display: grid; grid-template-columns: 38px 1fr auto auto auto; gap: 12px; align-items: center; cursor: pointer; transition: all .15s; }
.ccard:hover { border-color: #b0a9a0; box-shadow: var(--sh); transform: translateX(2px); }
.av         { border-radius: 50%; display: flex; align-items: center; justify-content: center; font-family: var(--mono); font-size: 12px; font-weight: 500; flex-shrink: 0; }
.av-38      { width: 38px; height: 38px; }
.av-52      { width: 52px; height: 52px; font-size: 17px; }
.cname      { font-size: 14px; font-weight: 600; }
.cmeta      { font-size: 11.5px; color: var(--muted); margin-top: 1px; }
.cprog      { width: 130px; }
.pb-lbl     { font-size: 10px; color: var(--muted); margin-bottom: 3px; display: flex; justify-content: space-between; }
.pb-track   { height: 3px; background: var(--rule); border-radius: 2px; overflow: hidden; }
.pb-fill    { height: 100%; background: var(--green); border-radius: 2px; transition: width .4s; }
.cacts      { display: flex; gap: 5px; }

/* ── PROFILE HEADER ──────────────────────────────────────── */
.prof-head  { background: var(--ink); padding: 26px 32px; display: grid; grid-template-columns: 56px 1fr auto; gap: 20px; align-items: start; }
.prof-name  { font-family: var(--serif); font-size: 22px; font-weight: 700; color: #fff; }
.prof-email { font-size: 12.5px; color: #8a9490; margin-top: 3px; }
.prof-tags  { display: flex; gap: 6px; margin-top: 10px; flex-wrap: wrap; }
.ptag       { font-family: var(--mono); font-size: 9.5px; padding: 3px 8px; border-radius: 2px; background: #152d1f; color: #5DC899; letter-spacing: .05em; }
.ptag.a     { background: #3d2a0a; color: #f5a623; }
.ptag.r     { background: #3d1a1a; color: #e57373; }
.prof-btns  { display: flex; gap: 8px; flex-wrap: wrap; }
.pba        { padding: 7px 15px; border-radius: 3px; font-size: 12px; font-weight: 600; cursor: pointer; transition: all .15s; font-family: var(--sans); }

/* ── CARDS ───────────────────────────────────────────────── */
.card       { background: var(--cream); border: 1px solid var(--rule); border-radius: 6px; padding: 18px 20px; margin-bottom: 14px; }
.ct         { font-family: var(--mono); font-size: 9.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; padding-bottom: 10px; border-bottom: 1px solid var(--rule); }
.fr         { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px solid var(--rule); font-size: 13px; align-items: center; }
.fr:last-child { border-bottom: none; }
.fl         { color: var(--muted); }
.fv         { font-weight: 500; text-align: right; max-width: 60%; }

/* ── FORM ────────────────────────────────────────────────── */
.fg         { margin-bottom: 13px; }
.fl2        { display: block; font-size: 11px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); margin-bottom: 5px; }
.fi, .fs, .fta { width: 100%; padding: 8px 12px; background: var(--paper); border: 1px solid var(--rule); border-radius: 3px; font-size: 13px; color: var(--ink); outline: none; transition: border-color .2s; font-family: var(--sans); appearance: none; }
.fi:focus, .fs:focus, .fta:focus { border-color: var(--green); box-shadow: 0 0 0 3px rgba(26,107,74,.08); }
.fta        { height: 75px; resize: vertical; }
.frow       { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

/* ── TASKS ───────────────────────────────────────────────── */
.task-item  { display: flex; align-items: start; gap: 11px; padding: 11px 0; border-bottom: 1px solid var(--rule); }
.task-item:last-child { border-bottom: none; }
.tbox       { width: 17px; height: 17px; border-radius: 2px; border: 1.5px solid var(--rule); flex-shrink: 0; margin-top: 2px; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: all .15s; }
.tbox.done  { background: var(--green); border-color: var(--green); }
.tbox.done::after { content: '✓'; color: #fff; font-size: 10px; font-weight: 700; }
.ttitle     { font-size: 13px; font-weight: 500; }
.ttitle.done { text-decoration: line-through; color: var(--muted); }
.tsub       { font-size: 11.5px; color: var(--muted); margin-top: 2px; }
.tdue       { font-family: var(--mono); font-size: 10px; color: var(--amber); margin-top: 2px; }
.tdue.over  { color: var(--red); }

/* ── TIMELINE ────────────────────────────────────────────── */
.tl         { display: flex; flex-direction: column; }
.tli        { display: flex; gap: 12px; padding: 9px 0; position: relative; }
.tli:not(:last-child)::before { content: ''; position: absolute; left: 3.5px; top: 18px; width: 1px; height: calc(100% - 10px); background: var(--rule); }
.tldot      { width: 8px; height: 8px; border-radius: 50%; background: var(--green); flex-shrink: 0; margin-top: 5px; }
.tldot.a    { background: var(--amber); }
.tldot.r    { background: var(--red);   }
.tldot.b    { background: var(--blue);  }
.tld        { font-family: var(--mono); font-size: 10px; color: var(--muted); margin-bottom: 1px; }
.tlt        { font-size: 12.5px; }

/* ── PERFORMANCE CARDS ───────────────────────────────────── */
.perf-grid  { display: grid; grid-template-columns: repeat(4, 1fr); gap: 9px; margin-bottom: 12px; }
.pc         { background: var(--paper); border: 1px solid var(--rule); border-radius: 4px; padding: 11px 13px; text-align: center; }
.pn         { font-family: var(--mono); font-size: 19px; font-weight: 500; color: var(--green); }
.pl         { font-size: 10.5px; color: var(--muted); margin-top: 2px; }
.pd         { font-size: 10px; color: var(--green); margin-top: 2px; }

/* ── PROJECT CARDS ───────────────────────────────────────── */
.pjcard     { background: var(--cream); border: 1px solid var(--rule); border-radius: 6px; padding: 15px 18px; margin-bottom: 11px; }
.pjhead     { display: flex; justify-content: space-between; align-items: start; margin-bottom: 9px; gap: 12px; }
.pjt        { font-size: 13.5px; font-weight: 600; }
.pjsub      { font-size: 11.5px; color: var(--muted); margin-top: 2px; }
.pjbar-track { height: 4px; background: var(--rule); border-radius: 2px; overflow: hidden; margin-bottom: 7px; }
.pjbar-fill { height: 100%; background: var(--green); border-radius: 2px; }
.pjmeta     { display: flex; gap: 14px; font-size: 11.5px; color: var(--muted); flex-wrap: wrap; }

/* ── TWO COLUMN ──────────────────────────────────────────── */
.two-col    { display: grid; grid-template-columns: 1fr 310px; gap: 18px; align-items: start; }

/* ── ALERTS ──────────────────────────────────────────────── */
.alert      { border-radius: 5px; padding: 12px 16px; margin-bottom: 16px; font-size: 13px; line-height: 1.6; }
.alert-r    { background: var(--rl); border-left: 3px solid var(--red);   color: var(--red);   }
.alert-a    { background: var(--al); border-left: 3px solid var(--amber); color: var(--amber); }
.alert-g    { background: var(--gl); border-left: 3px solid var(--green); color: var(--green); }
.alert-b    { background: var(--bl); border-left: 3px solid var(--blue);  color: var(--blue);  }
.alert strong { font-weight: 600; }

/* ── FLASH MESSAGES ──────────────────────────────────────── */
.flash      { padding: 13px 32px; font-size: 13px; font-weight: 500; border-bottom: 1px solid transparent; }
.flash-ok   { background: var(--gl); color: var(--green); border-bottom-color: #b0d9c0; }
.flash-err  { background: var(--rl); color: var(--red);   border-bottom-color: #f5c6c0; }

/* ── CONTACT ROW ─────────────────────────────────────────── */
.cr         { display: flex; align-items: center; gap: 9px; padding: 8px 0; border-bottom: 1px solid var(--rule); font-size: 13px; }
.cr:last-child { border-bottom: none; }

/* ── TERMINAL / REPORT ───────────────────────────────────── */
.terminal   { background: var(--ink); border-radius: 6px; padding: 20px 24px; font-family: var(--mono); font-size: 12px; color: #5DC899; line-height: 1.9; }
.td         { color: #3A5A47; }
.th         { color: #A8E6C8; }
.tn         { color: #F5C518; }
.tu         { color: #7BB3FF; }

/* ── SEARCH ──────────────────────────────────────────────── */
.search-wrap { display: flex; align-items: center; gap: 8px; background: var(--cream); border: 1px solid var(--rule); border-radius: 4px; padding: 7px 13px; margin-bottom: 14px; }
.search-wrap input { background: none; border: none; outline: none; font-size: 13px; color: var(--ink); flex: 1; font-family: var(--sans); }

/* ── AUTH PAGES ──────────────────────────────────────────── */
.auth-body  { background: var(--ink); min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 24px; }
.auth-wrap  { width: 100%; max-width: 480px; }
.auth-brand { text-align: center; margin-bottom: 24px; }
.auth-logo  { font-family: var(--mono); font-size: 13px; letter-spacing: .12em; color: #5DC899; text-transform: uppercase; font-weight: 500; }
.auth-tagline { font-size: 12px; color: #444; margin-top: 5px; }
.auth-card  { background: var(--paper); border-radius: 8px; padding: 32px; box-shadow: 0 20px 60px rgba(0,0,0,.4); }
.auth-title { font-family: var(--serif); font-size: 22px; font-weight: 700; margin-bottom: 22px; }
.auth-title em { font-style: italic; color: var(--green); }
.auth-footer { text-align: center; font-size: 12.5px; color: var(--muted); margin-top: 18px; }
.auth-footer a { color: var(--green); }

/* ── UPLOAD ZONE ─────────────────────────────────────────── */
.upload-zone { border: 2px dashed var(--rule); border-radius: 6px; padding: 36px 24px; text-align: center; cursor: pointer; transition: all .2s; background: var(--paper); }
.upload-zone:hover, .upload-zone.drag { border-color: var(--green); background: var(--gl); }
.upload-zone svg { width: 32px; height: 32px; color: var(--muted); margin: 0 auto 12px; display: block; }
.upload-zone p  { font-size: 13px; color: var(--muted); }
.upload-zone strong { color: var(--green); }

/* ── NOTIFICATION ITEM ───────────────────────────────────── */
.notif-item { display: flex; gap: 12px; padding: 13px 0; border-bottom: 1px solid var(--rule); align-items: start; }
.notif-item:last-child { border-bottom: none; }
.notif-dot  { width: 8px; height: 8px; border-radius: 50%; background: var(--green); flex-shrink: 0; margin-top: 5px; }
.notif-dot.read { background: var(--rule); }
.notif-msg  { font-size: 13px; line-height: 1.6; flex: 1; }
.notif-time { font-family: var(--mono); font-size: 10.5px; color: var(--muted); white-space: nowrap; }

/* ── RESPONSIVE ──────────────────────────────────────────── */
@media (max-width: 960px) {
  .two-col  { grid-template-columns: 1fr; }
  .perf-grid { grid-template-columns: repeat(2,1fr); }
  .frow     { grid-template-columns: 1fr; }
}
@media (max-width: 800px) {
  .sidebar  { width: 200px; min-width: 200px; }
  .main-wrap { margin-left: 200px; }
  .ccard    { grid-template-columns: 38px 1fr auto; }
  .cprog, .cacts { display: none; }
  .ph, .content { padding-left: 20px; padding-right: 20px; }
}
@media (max-width: 600px) {
  .sidebar  { display: none; }
  .main-wrap { margin-left: 0; }
  .prof-head { grid-template-columns: 1fr; }
  .stats    { grid-template-columns: repeat(2,1fr); }
}
