@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&display=swap');

:root {
  --bg: #070A12;
  --surface: #0E1424;
  --surface2: #101A2E;

  --text: #E9EEFF;
  --muted: rgba(233, 238, 255, 0.62);

  --border: rgba(255, 255, 255, 0.09);
  --border2: rgba(255, 255, 255, 0.14);

  --accent: #6366F1;
  --danger: #EF4444;

  --radius: 12px;
  --font: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  min-height: 100vh;
  font-family: var(--font);
  color: var(--text);
  background:
    radial-gradient(circle at 18% 0%, rgba(99, 102, 241, 0.16), transparent 55%),
    radial-gradient(circle at 90% 35%, rgba(255, 255, 255, 0.04), transparent 55%),
    var(--bg);
  font-size: 14px;
  line-height: 1.5;
}

.hidden {
  display: none !important;
}

::-webkit-scrollbar {
  width: 7px;
  height: 7px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.16);
  border-radius: 999px;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.24);
}

.container {
  width: min(1050px, 94%);
  margin: 0 auto 40px;
}

.nav {
  width: min(1050px, 94%);
  margin: 18px auto 26px;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(14, 20, 36, 0.78);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  position: sticky;
  top: 14px;
  z-index: 50;
}

.nav_brand {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-left: 6px;
}

.logo {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: #fff;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.95), rgba(99, 102, 241, 0.55));
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.35);
}

.nav_title {
  font-size: 14px;
  font-weight: 650;
  letter-spacing: -0.01em;
}

.nav_subtitle {
  display: none;
}

.nav_links {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.nav_link {
  text-decoration: none;
  color: var(--muted);
  font-size: 13px;
  font-weight: 550;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: 0.16s ease;
}

.nav_link:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.08);
}

.nav_link.active {
  color: #fff;
  background: rgba(99, 102, 241, 0.92);
  border-color: rgba(99, 102, 241, 0.92);
}

.card {
  background: rgba(14, 20, 36, 0.92);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 18px;
}

.card_header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.muted {
  color: var(--muted);
  font-size: 13px;
}

.grid {
  display: grid;
  gap: 14px;
}

.grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

.grid-2 {
  grid-template-columns: repeat(2, 1fr);
}

.mt-16 {
  margin-top: 16px;
}

.stat_value {
  font-size: 26px;
  font-weight: 750;
  margin-top: 6px;
  letter-spacing: -0.02em;
}

.btn {
  appearance: none;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  padding: 10px 14px;
  border-radius: 12px;
  cursor: pointer;
  transition: 0.16s ease;
  font-size: 13px;
  font-weight: 600;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  white-space: nowrap;
}

.btn:hover {
  border-color: var(--border2);
  background: rgba(255, 255, 255, 0.06);
}

.btn:active {
  transform: translateY(1px);
}

.btn--primary {
  background: rgba(99, 102, 241, 0.94);
  border-color: rgba(99, 102, 241, 0.94);
  color: #fff;
}

.btn--primary:hover {
  background: rgba(99, 102, 241, 0.84);
  border-color: rgba(99, 102, 241, 0.84);
}

.btn--ghost {
  background: transparent;
}

.btn--danger {
  background: rgba(239, 68, 68, 0.12);
  border-color: rgba(239, 68, 68, 0.28);
  color: #ffd1d1;
}

.btn--danger:hover {
  background: rgba(239, 68, 68, 0.18);
  border-color: rgba(239, 68, 68, 0.42);
}

.list {
  display: grid;
  gap: 10px;
}

.item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
  border-radius: 14px;
  padding: 12px 14px;
}

.item_left {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.item_title {
  font-weight: 650;
  font-size: 13px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.item_meta {
  color: var(--muted);
  font-size: 12px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.badge {
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
}

.badge--applied {
  background: rgba(99, 102, 241, 0.14);
  border-color: rgba(99, 102, 241, 0.28);
}

.badge--interview {
  background: rgba(245, 158, 11, 0.14);
  border-color: rgba(245, 158, 11, 0.28);
}

.badge--offer {
  background: rgba(34, 197, 94, 0.14);
  border-color: rgba(34, 197, 94, 0.26);
}

.badge--rejected {
  background: rgba(239, 68, 68, 0.12);
  border-color: rgba(239, 68, 68, 0.26);
  text-decoration: line-through;
  color: rgba(233, 238, 255, 0.65);
}

.badge--success {
  background: rgba(34, 197, 94, 0.14);
  border-color: rgba(34, 197, 94, 0.26);
}

.badge--danger {
  background: rgba(239, 68, 68, 0.14);
  border-color: rgba(239, 68, 68, 0.26);
}

.controls {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 10px;
  margin-top: 12px;
  align-items: center;
}

.input,
.textarea {
  width: 100%;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  outline: none;
  font-size: 13px;
  font-family: var(--font);
}

.input::placeholder {
  color: rgba(233, 238, 255, 0.32);
}

.input:focus,
.textarea:focus {
  border-color: rgba(99, 102, 241, 0.55);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.18);
}

.textarea {
  resize: vertical;
  min-height: 78px;
}

.tableWrap {
  width: 100%;
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.02);
}

.table {
  width: 100%;
  border-collapse: collapse;
  min-width: 700px;
}

.table th,
.table td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--border);
  text-align: left;
  font-size: 13px;
}

.table th {
  color: rgba(233, 238, 255, 0.55);
  font-weight: 650;
  background: rgba(255, 255, 255, 0.03);
}

.table tr:hover td {
  background: rgba(255, 255, 255, 0.02);
}

.right {
  display: flex;
  justify-content: flex-end;
}

.actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
  display: grid;
  place-items: center;
  padding: 14px;
  z-index: 100;
}

.modal_box {
  width: min(650px, 96%);
  border-radius: 18px;
  border: 1px solid var(--border);
  background: rgba(14, 20, 36, 0.96);
  padding: 22px;
  max-height: 90vh;
  overflow: auto;
}

.modal_header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.form_grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.label {
  display: block;
  margin-bottom: 6px;
  font-size: 12px;
  color: var(--muted);
  font-weight: 600;
}

.form_actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}

.toast {
  position: fixed;
  bottom: 18px;
  right: 18px;
  min-width: 220px;
  max-width: 360px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: rgba(14, 20, 36, 0.92);
  color: var(--text);
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.45);
  z-index: 200;
}

.customSelect {
  width: 100%;
}

.customSelect_btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  color: var(--text);
  cursor: pointer;
  transition: 0.15s ease;
  height: 40px;
  font-size: 13px;
  font-weight: 600;
}

.customSelect_btn:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--border2);
}

.customSelect_btn:focus {
  outline: none;
  border-color: rgba(99, 102, 241, 0.55);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.18);
}

.customSelect_menu {
  position: fixed;
  background: rgba(14, 20, 36, 0.98);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.55);
  z-index: 999999;
  max-height: 240px;
  overflow-y: auto;
  min-width: 180px;
}

.customSelect_item {
  width: 100%;
  text-align: left;
  padding: 12px 12px;
  font-size: 13px;
  font-weight: 600;
  border: none;
  background: transparent;
  color: var(--text);
  cursor: pointer;
  transition: 0.12s ease;
  font-family: var(--font);
}

.customSelect_item:hover {
  background: rgba(99, 102, 241, 0.14);
}

.customSelect_arrow {
  font-size: 12px;
  color: rgba(233, 238, 255, 0.55);
}

.kanban {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.kanban_col {
  border: 1px solid var(--border);
  
  border-radius: 16px;
  background: rgba(14, 20, 36, 0.92);
  padding: 14px;
  height: 420px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.kanban_colHeader {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
}

.kanban_list {
 display: grid;
  gap: 10px;
  overflow-y: auto;
  padding-bottom: 6px;
  scrollbar-gutter: stable;
}

.kanban_list::-webkit-scrollbar {
  width: 6px;
}


.kcard {
  border: 1px solid var(--border);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
  padding: 10px 12px;
  cursor: grab;
  transition: 0.15s ease;
  user-select: none;
  -webkit-user-select: none;
}

.kcard * {
  user-select: none;
  -webkit-user-select: none;
  pointer-events: none;
}

.kcard:active {
  cursor: grabbing;
}

.kcard:hover {
  border-color: var(--border2);
  transform: translateY(-1px);
}

.kcard_title {
  font-weight: 700;
  font-size: 13px;
  line-height: 1.2;
  margin-bottom: 4px;
}

.kcard_meta {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.2;
}

.kcard.dragging {
  opacity: 0.6;
  transform: scale(0.98);
  border-color: rgba(99, 102, 241, 0.50);
}

.dropActive {
  outline: 2px dashed rgba(99, 102, 241, 0.55);
  outline-offset: 6px;
}

@media (max-width:980px) {
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .kanban {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width:768px) {
  .nav {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    padding: 14px;
    border-radius: 16px;
    position: static;
  }

  
  

  .nav_brand {
    justify-content: flex-start;
    padding-left: 0;
    width: 100%;
  }

  .nav_links {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }

  .nav_link {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 12px 10px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border);
    font-size: 13px;
  }

  .nav_link:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--border2);
  }

  .nav_link.active {
    background: rgba(99, 102, 241, 0.92);
    border-color: rgba(99, 102, 241, 0.92);
  }

  
  .grid-2 {
    grid-template-columns: 1fr;
  }

  .controls {
    grid-template-columns: 1fr;
  }

  .form_grid {
    grid-template-columns: 1fr;
  }

  .kanban {
    grid-template-columns: 1fr;
  }

  .btn {
    width: 100%;
  }

  .card_header {
    
    align-items: flex-start;
  }
}

@media (max-width:480px) {
  .nav_links{
    grid-template-columns:1fr;
  }
  
  .container {
    width: calc(100% - 24px);
  }

  

  .nav {
    width: calc(100% - 24px);
    margin: 14px auto 18px;
    padding: 12px;
  }

  .card {
    padding: 14px;
  }

  .modal_box {
    padding: 16px;
  }
}

.settingsGrid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 14px;
}

.settingsBox {
  border: 1px solid var(--border);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.03);
  padding: 14px;
}

.dangerBox {
  border-color: rgba(239, 68, 68, 0.25);
}

@media (max-width: 980px) {
  .settingsGrid {
    grid-template-columns: 1fr;
  }
}

.nav_top{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  width:100%;
}

.nav_toggle{
  display:none;
  width:42px;
  height:42px;
  border-radius:12px;
  border:1px solid var(--border);
  background:rgba(255,255,255,0.04);
  color:var(--text);
  font-size:18px;
  cursor:pointer;
  transition:0.15s ease;
}

.nav_toggle:hover{
  background:rgba(255,255,255,0.06);
  border-color:var(--border2);
}

.mobileSidebar{
  position:fixed;
  top:0;
  right:0;
  height:100vh;
  width:min(320px, 86vw);
  background:rgba(14,20,36,0.98);
  border-right:1px solid var(--border);
  z-index:999;
  padding:16px;
  transform:translateX(110%);
  transition:0.25s ease;
  display:flex;
  flex-direction:column;
  gap:14px;
}

.mobileSidebar.show{
  transform:translateX(0);
}

.mobileSidebar_head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
}

.mobileSidebar_links{
  display:flex;
  flex-direction:column;
  gap:10px;
  margin-top:8px;
}

.mobileSidebar_links .nav_link{
  padding:12px 12px;
  border-radius:12px;
  background:rgba(255,255,255,0.03);
  border:1px solid var(--border);
  color:var(--text);
  text-align:left;
}

.mobileSidebar_links .nav_link.active{
  background:rgba(99,102,241,0.92);
  border-color:rgba(99,102,241,0.92);
  color:#fff;
}

.sidebarOverlay{
  position:fixed;
  inset:0;
  background:rgba(0,0,0,0.55);
  z-index:998;
}

@media (max-width:768px){
  .nav{
    flex-direction:column;
    align-items:stretch;
    border-radius:16px;
    position:static;
    padding:14px;
  }

  .nav_toggle{
    display:inline-flex;
    align-items:center;
    justify-content:center;
  }

  .nav_links{
    display:none;
    flex-direction:column;
    gap:8px;
    width:100%;
    margin-top:10px;
  }

  .nav_links.show{
    display:flex;
  }

  .nav_link{
    width:100%;
    text-align:center;
    padding:12px 10px;
    border-radius:12px;
    background:rgba(255,255,255,0.03);
    border:1px solid var(--border);
  }
}

.desktopOnly {
  display: block;
}

.mobileOnly {
  display: none;
}


@media (max-width: 768px) {
  .desktopOnly {
    display: none;
  }

  .mobileOnly {
    display: grid;
    gap: 12px;
  }
  
}


.jobsCards {
  margin-top: 4px;
}

.jobCard {
  border: 1px solid var(--border);
  border-radius: 14px;
  background: rgba(255,255,255,0.03);
  padding: 12px;
}

.jobCard_top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
}

.jobCard_company {
  font-weight: 700;
  font-size: 14px;
}

.jobCard_role {
  font-size: 13px;
  color: var(--muted);
  margin-top: 2px;
}

.jobCard_meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
  font-size: 12px;
  color: var(--muted);
}

.jobCard_actions {
  display: flex;
  gap: 8px;
  margin-top: 10px;
}

