*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

    :root {
      --bg:        #0b0f1a;
      --surface:   #111827;
      --card:      #161d2e;
      --border:    #1f2d45;
      --accent:    #38bdf8;
      --accent2:   #818cf8;
      --success:   #34d399;
      --warn:      #fb923c;
      --danger:    #f87171;
      --text:      #e2e8f0;
      --muted:     #64748b;
      --soft:      #94a3b8;
      --font-head: 'Syne', sans-serif;
      --font-body: 'DM Sans', sans-serif;
      --radius:    14px;
      --shadow:    0 4px 24px rgba(0,0,0,0.45);
    }

    html { scroll-behavior: smooth; }

    body {
      background: var(--bg);
      color: var(--text);
      font-family: var(--font-body);
      font-size: 15px;
      line-height: 1.6;
      min-height: 100vh;
      display: flex;
      flex-direction: column;
    }

    /* ── SCROLLBAR ── */
    ::-webkit-scrollbar { width: 6px; }
    ::-webkit-scrollbar-track { background: var(--bg); }
    ::-webkit-scrollbar-thumb { background: var(--border); border-radius: 3px; }

    /* ════════════════════════════════
       HEADER
    ════════════════════════════════ */
    header {
      position: sticky;
      top: 0;
      z-index: 100;
      background: rgba(11,15,26,0.88);
      backdrop-filter: blur(18px);
      border-bottom: 1px solid var(--border);
      padding: 0 2.5rem;
      height: 68px;
      display: flex;
      align-items: center;
      gap: 2rem;
      animation: slideDown 0.6s ease both;
    }

    @keyframes slideDown {
      from { transform: translateY(-100%); opacity: 0; }
      to   { transform: translateY(0);    opacity: 1; }
    }

    .logo {
      display: flex;
      align-items: center;
      gap: 10px;
      text-decoration: none;
      flex-shrink: 0;
    }

    .logo-icon {
      width: 36px; height: 36px;
      background: linear-gradient(135deg, var(--accent), var(--accent2));
      border-radius: 10px;
      display: flex; align-items: center; justify-content: center;
      font-size: 18px;
    }

    .logo-name {
      font-family: var(--font-head);
      font-weight: 800;
      font-size: 1.25rem;
      color: var(--text);
      letter-spacing: -0.02em;
    }
    .logo-name span { color: var(--accent); }

    .header-search {
      flex: 1;
      max-width: 420px;
      position: relative;
    }

    .header-search input {
      width: 100%;
      background: var(--card);
      border: 1px solid var(--border);
      border-radius: 10px;
      padding: 9px 16px 9px 42px;
      color: var(--text);
      font-family: var(--font-body);
      font-size: 14px;
      outline: none;
      transition: border-color .2s, box-shadow .2s;
    }
    .header-search input::placeholder { color: var(--muted); }
    .header-search input:focus {
      border-color: var(--accent);
      box-shadow: 0 0 0 3px rgba(56,189,248,0.12);
    }
    .header-search .search-ico {
      position: absolute; left: 14px; top: 50%;
      transform: translateY(-50%);
      color: var(--muted); font-size: 16px;
      pointer-events: none;
    }

    nav { margin-left: auto; display: flex; align-items: center; gap: 0.25rem; }

    nav a {
      color: var(--soft);
      text-decoration: none;
      font-size: 14px;
      font-weight: 500;
      padding: 7px 14px;
      border-radius: 8px;
      transition: color .2s, background .2s;
      white-space: nowrap;
    }
    nav a:hover { color: var(--text); background: var(--card); }
    nav a.active { color: var(--accent); background: rgba(56,189,248,0.1); }

    .header-actions { display: flex; align-items: center; gap: 10px; margin-left: 1rem; }

    .btn-notify {
      width: 38px; height: 38px;
      background: var(--card);
      border: 1px solid var(--border);
      border-radius: 10px;
      display: flex; align-items: center; justify-content: center;
      cursor: pointer;
      position: relative;
      transition: border-color .2s;
      font-size: 17px;
      color: var(--soft);
    }
    .btn-notify:hover { border-color: var(--accent); color: var(--accent); }
    .notif-dot {
      position: absolute; top: 7px; right: 7px;
      width: 7px; height: 7px;
      background: var(--danger);
      border-radius: 50%;
      border: 2px solid var(--bg);
    }

    .avatar {
      width: 38px; height: 38px;
      background: linear-gradient(135deg, var(--accent), var(--accent2));
      border-radius: 50%;
      display: flex; align-items: center; justify-content: center;
      font-family: var(--font-head);
      font-weight: 700;
      font-size: 13px;
      color: #fff;
      cursor: pointer;
      border: 2px solid transparent;
      transition: border-color .2s;
    }
    .avatar:hover { border-color: var(--accent); }

    /* ════════════════════════════════
       LAYOUT
    ════════════════════════════════ */
    .layout {
      display: flex;
      flex: 1;
      overflow: hidden;
    }

    /* SIDEBAR */
    .sidebar {
      width: 230px;
      flex-shrink: 0;
      background: var(--surface);
      border-right: 1px solid var(--border);
      padding: 1.75rem 1rem;
      display: flex;
      flex-direction: column;
      gap: 0.35rem;
      animation: fadeIn 0.7s ease 0.2s both;
    }

    @keyframes fadeIn {
      from { opacity: 0; transform: translateX(-18px); }
      to   { opacity: 1; transform: translateX(0); }
    }

    .sidebar-label {
      font-size: 10px;
      font-weight: 700;
      letter-spacing: 0.12em;
      text-transform: uppercase;
      color: var(--muted);
      padding: 0 10px;
      margin: 1rem 0 0.4rem;
    }
    .sidebar-label:first-child { margin-top: 0; }

    .sidebar-item {
      display: flex;
      align-items: center;
      gap: 10px;
      padding: 9px 12px;
      border-radius: 10px;
      color: var(--soft);
      text-decoration: none;
      font-size: 14px;
      font-weight: 500;
      transition: all .2s;
      cursor: pointer;
    }
    .sidebar-item:hover { background: var(--card); color: var(--text); }
    .sidebar-item.active { background: rgba(56,189,248,0.1); color: var(--accent); }

    .sidebar-item .ico { font-size: 17px; width: 22px; text-align: center; flex-shrink: 0; }

    .sidebar-badge {
      margin-left: auto;
      background: var(--accent);
      color: var(--bg);
      font-size: 10px;
      font-weight: 700;
      border-radius: 20px;
      padding: 1px 7px;
      line-height: 1.6;
    }
    .sidebar-badge.orange { background: var(--warn); }
    .sidebar-badge.purple { background: var(--accent2); }

    /* MAIN */
    main {
      flex: 1;
      overflow-y: auto;
      padding: 2rem 2.5rem;
      display: flex;
      flex-direction: column;
      gap: 2rem;
    }

    /* ── PAGE HEADER ── */
    .page-header {
      display: flex;
      align-items: flex-start;
      justify-content: space-between;
      animation: fadeUp 0.5s ease 0.1s both;
    }

    @keyframes fadeUp {
      from { opacity: 0; transform: translateY(16px); }
      to   { opacity: 1; transform: translateY(0); }
    }

    .page-header h1 {
      font-family: var(--font-head);
      font-size: 1.75rem;
      font-weight: 800;
      letter-spacing: -0.03em;
      line-height: 1.2;
    }
    .page-header p { color: var(--soft); margin-top: 4px; font-size: 14px; }

    .btn {
      display: inline-flex;
      align-items: center;
      gap: 7px;
      padding: 10px 20px;
      border-radius: 10px;
      font-family: var(--font-body);
      font-size: 14px;
      font-weight: 500;
      cursor: pointer;
      border: none;
      transition: all .2s;
      text-decoration: none;
    }
    .btn-primary {
      background: linear-gradient(135deg, var(--accent), #0ea5e9);
      color: #fff;
      box-shadow: 0 4px 14px rgba(56,189,248,0.3);
    }
    .btn-primary:hover { transform: translateY(-1px); box-shadow: 0 6px 20px rgba(56,189,248,0.4); }
    .btn-outline {
      background: transparent;
      color: var(--soft);
      border: 1px solid var(--border);
    }
    .btn-outline:hover { color: var(--text); border-color: var(--soft); background: var(--card); }

    /* ── STAT CARDS ── */
    .stats-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 1.25rem;
      animation: fadeUp 0.5s ease 0.2s both;
    }

    .stat-card {
      background: var(--card);
      border: 1px solid var(--border);
      border-radius: var(--radius);
      padding: 1.4rem 1.5rem;
      position: relative;
      overflow: hidden;
      transition: transform .25s, box-shadow .25s;
    }
    .stat-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
    .stat-card::before {
      content: '';
      position: absolute;
      top: 0; left: 0; right: 0;
      height: 3px;
      border-radius: var(--radius) var(--radius) 0 0;
    }
    .stat-card.blue::before   { background: linear-gradient(90deg, var(--accent), #0ea5e9); }
    .stat-card.purple::before { background: linear-gradient(90deg, var(--accent2), #c084fc); }
    .stat-card.green::before  { background: linear-gradient(90deg, var(--success), #6ee7b7); }
    .stat-card.orange::before { background: linear-gradient(90deg, var(--warn), #fbbf24); }

    .stat-top { display: flex; align-items: center; justify-content: space-between; }
    .stat-icon {
      width: 42px; height: 42px;
      border-radius: 11px;
      display: flex; align-items: center; justify-content: center;
      font-size: 20px;
    }
    .stat-card.blue   .stat-icon { background: rgba(56,189,248,0.15); }
    .stat-card.purple .stat-icon { background: rgba(129,140,248,0.15); }
    .stat-card.green  .stat-icon { background: rgba(52,211,153,0.15); }
    .stat-card.orange .stat-icon { background: rgba(251,146,60,0.15); }

    .stat-change {
      font-size: 12px;
      font-weight: 600;
      padding: 3px 8px;
      border-radius: 6px;
    }
    .stat-change.up   { color: var(--success); background: rgba(52,211,153,0.12); }
    .stat-change.down { color: var(--danger);  background: rgba(248,113,113,0.12); }

    .stat-val {
      font-family: var(--font-head);
      font-size: 2rem;
      font-weight: 800;
      letter-spacing: -0.03em;
      margin-top: 1rem;
      line-height: 1;
    }
    .stat-label { color: var(--soft); font-size: 13px; margin-top: 5px; }

    /* ── TWO COLUMN ── */
    .two-col {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 1.25rem;
      animation: fadeUp 0.5s ease 0.3s both;
    }
    .three-col {
      display: grid;
      grid-template-columns: 1.6fr 1fr;
      gap: 1.25rem;
      animation: fadeUp 0.5s ease 0.4s both;
    }

    /* ── CARD ── */
    .card {
      background: var(--card);
      border: 1px solid var(--border);
      border-radius: var(--radius);
      padding: 1.5rem;
    }

    .card-header {
      display: flex;
      align-items: center;
      justify-content: space-between;
      margin-bottom: 1.25rem;
    }
    .card-title {
      font-family: var(--font-head);
      font-size: 1rem;
      font-weight: 700;
      letter-spacing: -0.01em;
    }
    .card-link { font-size: 13px; color: var(--accent); text-decoration: none; }
    .card-link:hover { text-decoration: underline; }

    /* ── JOB LIST ── */
    .job-item {
      display: flex;
      align-items: center;
      gap: 14px;
      padding: 12px 0;
      border-bottom: 1px solid var(--border);
      transition: background .2s;
    }
    .job-item:last-child { border-bottom: none; padding-bottom: 0; }
    .job-item:first-child { padding-top: 0; }

    .job-logo {
      width: 44px; height: 44px;
      border-radius: 11px;
      display: flex; align-items: center; justify-content: center;
      font-size: 22px;
      flex-shrink: 0;
      border: 1px solid var(--border);
      background: var(--surface);
    }

    .job-info { flex: 1; min-width: 0; }
    .job-title {
      font-weight: 600;
      font-size: 14px;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }
    .job-meta { font-size: 12px; color: var(--muted); margin-top: 2px; }

    .job-tag {
      font-size: 11px;
      font-weight: 600;
      padding: 3px 9px;
      border-radius: 20px;
      white-space: nowrap;
      flex-shrink: 0;
    }
    .tag-full  { background: rgba(52,211,153,0.12); color: var(--success); }
    .tag-part  { background: rgba(129,140,248,0.12); color: var(--accent2); }
    .tag-remote{ background: rgba(56,189,248,0.12); color: var(--accent); }
    .tag-cont  { background: rgba(251,146,60,0.12); color: var(--warn); }

    /* ── APP TABLE ── */
    .app-table { width: 100%; border-collapse: collapse; }
    .app-table th {
      font-size: 11px;
      font-weight: 700;
      letter-spacing: 0.07em;
      text-transform: uppercase;
      color: var(--muted);
      text-align: left;
      padding: 0 12px 12px;
    }
    .app-table td {
      padding: 11px 12px;
      font-size: 13.5px;
      border-top: 1px solid var(--border);
    }
    .app-table tr:hover td { background: rgba(255,255,255,0.025); }

    .applicant-cell { display: flex; align-items: center; gap: 10px; }
    .mini-avatar {
      width: 32px; height: 32px;
      border-radius: 50%;
      display: flex; align-items: center; justify-content: center;
      font-size: 11px;
      font-weight: 700;
      flex-shrink: 0;
    }

    .status-pill {
      display: inline-flex;
      align-items: center;
      gap: 5px;
      font-size: 11.5px;
      font-weight: 600;
      padding: 3px 10px;
      border-radius: 20px;
    }
    .status-pill::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: currentColor; }
    .pill-new      { background: rgba(56,189,248,0.12);  color: var(--accent); }
    .pill-review   { background: rgba(129,140,248,0.12); color: var(--accent2); }
    .pill-interview{ background: rgba(251,146,60,0.12);  color: var(--warn); }
    .pill-hired    { background: rgba(52,211,153,0.12);  color: var(--success); }
    .pill-rejected { background: rgba(248,113,113,0.12); color: var(--danger); }

    /* ── SKILLS CHART ── */
    .skill-row { margin-bottom: 1rem; }
    .skill-row:last-child { margin-bottom: 0; }
    .skill-top { display: flex; justify-content: space-between; font-size: 13px; margin-bottom: 6px; }
    .skill-top span:last-child { color: var(--muted); }
    .skill-bar {
      height: 6px;
      background: var(--border);
      border-radius: 3px;
      overflow: hidden;
    }
    .skill-fill {
      height: 100%;
      border-radius: 3px;
      position: relative;
      animation: growBar 1s ease 0.6s both;
    }
    @keyframes growBar {
      from { width: 0 !important; }
    }

    /* ── QUICK LINKS ── */
    .quick-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 10px;
    }
    .quick-card {
      background: var(--surface);
      border: 1px solid var(--border);
      border-radius: 11px;
      padding: 14px;
      cursor: pointer;
      transition: all .2s;
      display: flex;
      align-items: center;
      gap: 10px;
    }
    .quick-card:hover { border-color: var(--accent); background: rgba(56,189,248,0.05); }
    .quick-ico {
      width: 38px; height: 38px;
      border-radius: 10px;
      display: flex; align-items: center; justify-content: center;
      font-size: 18px;
      flex-shrink: 0;
    }
    .quick-card .q-title { font-size: 13px; font-weight: 600; }
    .quick-card .q-sub   { font-size: 11px; color: var(--muted); margin-top: 1px; }

    /* ── ACTIVITY FEED ── */
    .activity-item {
      display: flex;
      gap: 12px;
      padding: 10px 0;
      border-bottom: 1px solid var(--border);
    }
    .activity-item:last-child { border-bottom: none; padding-bottom: 0; }
    .activity-item:first-child { padding-top: 0; }

    .activity-dot {
      width: 10px; height: 10px;
      border-radius: 50%;
      margin-top: 5px;
      flex-shrink: 0;
    }
    .activity-text { font-size: 13px; color: var(--soft); line-height: 1.5; }
    .activity-text strong { color: var(--text); font-weight: 600; }
    .activity-time { font-size: 11px; color: var(--muted); margin-top: 2px; }

    /* ════════════════════════════════
       FOOTER
    ════════════════════════════════ */
    footer {
      background: var(--surface);
      border-top: 1px solid var(--border);
    }

    .footer-main {
      display: grid;
      grid-template-columns: 1.8fr 1fr 1fr 1fr;
      gap: 2rem;
      padding: 3rem 3.5rem;
    }

    .footer-brand .logo { margin-bottom: 1rem; }
    .footer-brand p {
      font-size: 13px;
      color: var(--muted);
      line-height: 1.7;
      max-width: 260px;
    }
    .footer-social { display: flex; gap: 8px; margin-top: 1.25rem; }
    .social-btn {
      width: 34px; height: 34px;
      background: var(--card);
      border: 1px solid var(--border);
      border-radius: 8px;
      display: flex; align-items: center; justify-content: center;
      font-size: 15px;
      cursor: pointer;
      transition: all .2s;
      color: var(--soft);
      text-decoration: none;
    }
    .social-btn:hover { border-color: var(--accent); color: var(--accent); }

    .footer-col h4 {
      font-family: var(--font-head);
      font-size: 13px;
      font-weight: 700;
      letter-spacing: 0.05em;
      text-transform: uppercase;
      color: var(--text);
      margin-bottom: 1rem;
    }
    .footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
    .footer-col a {
      font-size: 13px;
      color: var(--muted);
      text-decoration: none;
      transition: color .2s;
    }
    .footer-col a:hover { color: var(--accent); }

    .footer-bottom {
      border-top: 1px solid var(--border);
      padding: 1.25rem 3.5rem;
      display: flex;
      align-items: center;
      justify-content: space-between;
      flex-wrap: wrap;
      gap: 1rem;
    }
    .footer-bottom p { font-size: 12.5px; color: var(--muted); }
    .footer-bottom span { color: var(--accent); }

    .footer-tags { display: flex; gap: 8px; flex-wrap: wrap; }
    .footer-tag {
      font-size: 11px;
      padding: 4px 12px;
      border-radius: 20px;
      border: 1px solid var(--border);
      color: var(--muted);
      cursor: pointer;
      transition: all .2s;
    }
    .footer-tag:hover { border-color: var(--accent); color: var(--accent); }