/* AmericaCyberSquad - Talent Dashboard (scoped) */

#acs-talent-dashboard-root,
.acs-td-shell,
.acs-td-sidebar,
.acs-td-main,
.acs-td-topbar {
  font-family: 'Manrope', sans-serif;
}

/* Shell */
.acs-td-shell {
  display: flex;
  min-height: 100vh;
}

.acs-td-sidebar {
  width: 240px;
  background: #0a1628;
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  z-index: 200;
  overflow-y: auto;
}

.acs-td-sidebar-logo {
  padding: 20px 20px 16px;
  display: flex;
  gap: 9px;
  align-items: center;
  border-bottom: 1px solid rgba(255,255,255,.07);
  color: #fff;
}
.acs-td-sidebar-logo-text {
  font-family: 'Sora', sans-serif;
  font-size: 14px;
  font-weight: 800;
  white-space: nowrap;
}
.acs-td-sidebar-logo-text span { color: #1354f9; }

.acs-td-sidebar-talent {
  padding: 18px 20px;
  border-bottom: 1px solid rgba(255,255,255,.07);
  display: flex;
  gap: 12px;
  align-items: center;
  color: #fff;
}
.acs-td-st-av {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: #1354f9;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Sora', sans-serif;
  font-size: 14px;
  font-weight: 800;
  position: relative;
  flex-shrink: 0;
}
.acs-td-st-av-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #0dab76;
  border: 2px solid #0a1628;
  position: absolute;
  bottom: -2px;
  right: -2px;
}
.acs-td-st-name {
  font-family: 'Sora', sans-serif;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.2;
}
.acs-td-st-role {
  font-size: 10px;
  color: rgba(255,255,255,.45);
  font-weight: 600;
  margin-top: 2px;
}
.acs-td-st-badge {
  margin-left: auto;
  background: rgba(13,171,118,.2);
  border: 1px solid rgba(13,171,118,.3);
  padding: 2px 7px;
  border-radius: 4px;
  font-size: 9px;
  font-weight: 900;
  color: #0dab76;
  letter-spacing: .5px;
  text-transform: uppercase;
}

.acs-td-sidebar-nav {
  padding: 10px 0;
}
.acs-td-nav-section-label {
  font-size: 9px;
  font-weight: 800;
  color: rgba(255,255,255,.25);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 10px 20px 5px;
}
.acs-td-nav-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  color: rgba(255,255,255,.55);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all .18s;
  border-left: 3px solid transparent;
}
.acs-td-nav-item svg { width: 16px; height: 16px; flex-shrink: 0; }
.acs-td-nav-item:hover { color: rgba(255,255,255,.85); background: rgba(255,255,255,.04); }
.acs-td-nav-item.active {
  color: #fff;
  background: rgba(19,84,249,.15);
  border-left-color: #1354f9;
}

.acs-td-badge-pill {
  margin-left: auto;
  background: #1354f9;
  color: #fff;
  font-size: 9px;
  font-weight: 900;
  padding: 2px 7px;
  border-radius: 10px;
  min-width: 18px;
  text-align: center;
}
.acs-td-badge-pill.amber { background: #f4a012; color: #fff; }

.acs-td-sidebar-footer {
  padding: 14px 20px;
  border-top: 1px solid rgba(255,255,255,.07);
}
.acs-td-profile-completion {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 8px;
  padding: 12px 14px;
}
.acs-td-pc-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}
.acs-td-pc-label {
  font-size: 11px;
  font-weight: 700;
  color: rgba(255,255,255,.6);
}
.acs-td-pc-pct {
  font-family: 'Sora', sans-serif;
  font-size: 13px;
  font-weight: 900;
  color: #0dab76;
}
.acs-td-pc-bar {
  background: rgba(255,255,255,.1);
  border-radius: 3px;
  height: 4px;
  overflow: hidden;
}
.acs-td-pc-fill {
  height: 100%;
  background: linear-gradient(90deg, #1354f9, #0dab76);
  border-radius: 3px;
  transition: width .6s ease;
}
.acs-td-pc-tip {
  font-size: 10px;
  color: rgba(255,255,255,.3);
  margin-top: 7px;
  line-height: 1.5;
}

.acs-td-sidebar-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(10,22,40,.4);
  z-index: 199;
}
.acs-td-sidebar-overlay.visible { display: block; }

/* Main */
.acs-td-main {
  margin-left: 240px;
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.acs-td-topbar {
  height: 60px;
  background: #fff;
  border-bottom: 1px solid #e2e6f0;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 0 28px;
  position: sticky;
  top: 0;
  z-index: 100;
}
.acs-td-topbar-menu-btn {
  display: none;
  background: none;
  border: none;
  color: #0a1628;
  padding: 6px;
}
.acs-td-topbar-menu-btn svg { width: 20px; height: 20px; }

.acs-td-topbar-breadcrumb {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: #5b6480;
}
.acs-td-topbar-breadcrumb svg { width: 12px; height: 12px; }
.acs-td-topbar-breadcrumb .current {
  color: #0a1628;
  font-weight: 800;
  font-family: 'Sora', sans-serif;
}

.acs-td-topbar-right {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 12px;
}
.acs-td-topbar-search {
  display: flex;
  gap: 8px;
  align-items: center;
  border: 1px solid #e2e6f0;
  background: #f7f8fb;
  border-radius: 8px;
  padding: 8px 14px;
  width: 220px;
}
.acs-td-topbar-search svg { width: 14px; height: 14px; color: #9aa3b8; }
.acs-td-topbar-search input {
  border: none;
  outline: none;
  width: 100%;
  background: transparent;
  font-size: 12px;
}
.acs-td-icon-btn {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  border: 1px solid #e2e6f0;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  position: relative;
}
.acs-td-icon-btn svg { width: 16px; height: 16px; color: #5b6480; }
.acs-td-notif-dot {
  position: absolute;
  top: 7px;
  right: 7px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #e53935;
  border: 1.5px solid #fff;
}
.acs-td-avatar {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: #1354f9;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-family: 'Sora', sans-serif;
  font-size: 12px;
  font-weight: 900;
}

.acs-td-content {
  flex: 1;
  padding: 28px;
  overflow-x: hidden;
}

.acs-td-view { display: none; }
.acs-td-view.active { display: block; }

.acs-td-page-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 24px;
  gap: 14px;
  flex-wrap: wrap;
}
.acs-td-ph-label {
  font-size: 11px;
  font-weight: 800;
  color: #1354f9;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 4px;
}
.acs-td-ph-title {
  font-family: 'Sora', sans-serif;
  font-size: clamp(20px, 2.5vw, 26px);
  font-weight: 900;
  color: #0a1628;
  line-height: 1.1;
}
.acs-td-ph-sub {
  font-size: 13px;
  color: #5b6480;
  margin-top: 5px;
}

.acs-td-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border-radius: 8px;
  padding: 10px 18px;
  border: none;
  font-weight: 800;
  cursor: pointer;
  transition: all .2s;
  white-space: nowrap;
}
.acs-td-btn-sm { padding: 7px 14px; font-size: 12px; }
.acs-td-btn-primary { background: #1354f9; color: #fff; }
.acs-td-btn-primary:hover { background: #0e44d4; transform: translateY(-1px); box-shadow: 0 4px 14px rgba(19,84,249,.25); }
.acs-td-btn-ghost { background: #f7f8fb; color: #5b6480; border: 1.5px solid #e2e6f0; }
.acs-td-btn-ghost:hover { border-color: #d6dae6; color: #0a1628; }

.acs-td-card {
  background: #fff;
  border: 1px solid #e2e6f0;
  border-radius: 10px;
  overflow: hidden;
}
.acs-td-card-header {
  padding: 16px 20px;
  border-bottom: 1px solid #e2e6f0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.acs-td-card-title {
  font-family: 'Sora', sans-serif;
  font-size: 14px;
  font-weight: 900;
  color: #0a1628;
}
.acs-td-card-body { padding: 20px; }
.acs-td-muted { color: #5b6480; font-size: 12px; }
.acs-td-divider { height: 1px; background: #e2e6f0; margin: 16px 0; }

.acs-td-stat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.acs-td-stat-card {
  background: #fff;
  border: 1px solid #e2e6f0;
  border-radius: 10px;
  padding: 18px 20px;
  display: flex;
  gap: 14px;
}
.acs-td-stat-card:hover { box-shadow: 0 4px 24px rgba(10,22,40,.08); }
.acs-td-stat-icon { width: 40px; height: 40px; border-radius: 10px; display:flex; align-items:center; justify-content:center; }
.acs-td-stat-num { font-family: 'Sora', sans-serif; font-weight: 900; color: #0a1628; font-size: 26px; }
.acs-td-stat-label { font-size: 11px; color: #5b6480; font-weight: 700; margin-top: 4px; }

.acs-td-overview-grid { display: grid; grid-template-columns: 1fr; gap: 18px; }

.acs-td-overview-grid .acs-td-card-body { padding: 16px; }
.acs-td-overview-grid { }

.acs-td-form-row,
.acs-td-form-row-3 {
  display: grid;
  gap: 14px;
}
.acs-td-form-row { grid-template-columns: 1fr 1fr; }
.acs-td-form-row-3 { grid-template-columns: 1fr 1fr 1fr; }

.acs-td-flabel {
  font-size: 11px;
  font-weight: 800;
  color: #0a1628;
  display: block;
  margin-bottom: 6px;
  letter-spacing: .2px;
}
.acs-td-fi {
  width: 100%;
  border: 1.5px solid #e2e6f0;
  border-radius: 8px;
  padding: 10px 13px;
  font-size: 13px;
  outline: none;
  background: #fff;
}
.acs-td-fi:focus { border-color: #1354f9; box-shadow: 0 0 0 3px rgba(19,84,249,.08); }
.acs-td-fselect {
  width: 100%;
  border: 1.5px solid #e2e6f0;
  border-radius: 8px;
  padding: 10px 13px;
  font-size: 13px;
  outline: none;
  background: #fff;
}
.acs-td-fselect:focus { border-color: #1354f9; box-shadow: 0 0 0 3px rgba(19,84,249,.08); }
.acs-td-port-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.acs-td-port-item {
  border: 1px solid #e2e6f0;
  border-radius: 10px;
  background: #fff;
  overflow: hidden;
  min-height: 200px;
}
.acs-td-port-thumb {
  height: 140px;
  background: #f7f8fb;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #d6dae6;
  border-bottom: 1px solid #e2e6f0;
}
.acs-td-port-info { padding: 14px; }
.acs-td-port-title { font-family: 'Sora', sans-serif; font-weight: 900; color: #0a1628; margin-bottom: 4px; }
.acs-td-port-desc { font-size: 12px; color: #5b6480; line-height: 1.6; margin-bottom: 10px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.acs-td-empty { color: #9aa3b8; font-weight: 700; font-size: 12px; }

/* Modals */
.acs-td-modal-bg {
  position: fixed;
  inset: 0;
  background: rgba(10,22,40,.45);
  backdrop-filter: blur(6px);
  z-index: 400;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.acs-td-modal-bg.open { display: flex; }
.acs-td-modal {
  background: #fff;
  border-radius: 12px;
  max-width: 540px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 20px 60px rgba(10,22,40,.18);
}
.acs-td-modal-header {
  padding: 20px 22px 16px;
  border-bottom: 1px solid #e2e6f0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.acs-td-modal-title { font-family: 'Sora', sans-serif; font-size: 16px; font-weight: 900; color: #0a1628; }
.acs-td-modal-close {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  border: none;
  background: #f7f8fb;
  cursor: pointer;
  display:flex;
  align-items:center;
  justify-content:center;
}
.acs-td-modal-close svg { width: 14px; height: 14px; color: #5b6480; }
.acs-td-modal-body { padding: 22px; }
.acs-td-modal-footer {
  padding: 16px 22px;
  border-top: 1px solid #e2e6f0;
  display:flex;
  justify-content:flex-end;
  gap: 10px;
}
.acs-td-modal .acs-td-form-grid-2 { display:grid; grid-template-columns:1fr 1fr; gap: 14px; }

.acs-td-form-grid-2,
.acs-td-form-grid-2 { display:grid; grid-template-columns:1fr 1fr; gap: 14px; }
.acs-td-form-grid-2 { }
.acs-td-form-grid-2 { }

.acs-td-form-grid-2, .acs-td-form-grid-2 { }
.acs-td-form-grid-2 { }

.acs-td-form-grid-2 { }
.acs-td-form-grid-2 { }

.acs-td-form-grid-2 { }
.acs-td-form-grid-2 { }

.acs-td-form-grid-2 { }

@media (max-width: 1100px) {
  .acs-td-stat-grid { grid-template-columns: repeat(2,1fr); }
  .acs-td-port-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 960px) {
  .acs-td-sidebar { transform: translateX(-240px); }
  .acs-td-sidebar.open { transform: translateX(0); width: 240px; }
  .acs-td-main { margin-left: 0; }
}

@media (max-width: 700px) {
  .acs-td-content { padding: 16px; }
  .acs-td-stat-grid { grid-template-columns: 1fr; }
  .acs-td-form-row, .acs-td-form-row-3 { grid-template-columns: 1fr; }
  .acs-td-port-grid { grid-template-columns: 1fr; }
}

