/* AmericaCyberSquad - Employer Dashboard (scoped) */

.acs-ed-shell {
  display: flex;
  min-height: 100vh;
}

.acs-ed-sidebar {
  width: 240px;
  background: #0a1628;
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  z-index: 200;
  transition: transform .28s ease;
  overflow-y: auto;
  overflow-x: hidden;
}

.acs-ed-sb-logo {
  padding: 20px 20px 16px;
  border-bottom: 1px solid rgba(255,255,255,.07);
  display: flex;
  gap: 9px;
  align-items: center;
  cursor: pointer;
}
.acs-ed-sb-logo svg { width: 28px; height: 28px; flex-shrink: 0; }
.acs-ed-sb-logo-txt { font-family: 'Sora', sans-serif; font-size: 14px; font-weight: 900; color: #fff; white-space: nowrap; }
.acs-ed-sb-logo-txt span { color: #1354f9; }

.acs-ed-sb-company {
  padding: 16px 20px;
  border-bottom: 1px solid rgba(255,255,255,.07);
  display: flex;
  align-items: center;
  gap: 11px;
}

.acs-ed-sb-av {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: linear-gradient(135deg,#1354f9,#0e44d4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Sora', sans-serif;
  font-size: 13px;
  font-weight: 900;
  color: #fff;
  flex-shrink: 0;
}
.acs-ed-sb-name { font-family:'Sora',sans-serif; font-size:12px; font-weight: 800; color:#fff; line-height: 1.25; }
.acs-ed-sb-plan { font-size: 10px; color: rgba(255,255,255,.45); font-weight: 600; margin-top:2px; }
.acs-ed-sb-badge {
  margin-left: auto;
  background: rgba(19,84,249,.25);
  border: 1px solid rgba(19,84,249,.4);
  padding: 2px 7px;
  border-radius: 4px;
  font-size: 9px;
  font-weight: 900;
  color: #1354f9;
  letter-spacing: .5px;
  text-transform: uppercase;
}

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

.acs-ed-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-ed-pill.amber { background: #f4a012; color: #0a1628; }

.acs-ed-sb-footer { padding: 14px 20px; border-top:1px solid rgba(255,255,255,.07); }
.acs-ed-plan-card {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 8px;
  padding: 12px 14px;
}
.acs-ed-spc-top { display:flex; align-items:center; justify-content:space-between; margin-bottom: 6px; }
.acs-ed-spc-label { font-size: 11px; font-weight: 700; color: rgba(255,255,255,.55); }
.acs-ed-spc-plan { font-size: 9px; font-weight: 900; background: #f4a012; color: #0a1628; padding:2px 7px; border-radius:4px; letter-spacing:.5px; text-transform: uppercase; }
.acs-ed-spc-bar { background: rgba(255,255,255,.1); border-radius:3px; height:4px; overflow:hidden; }
.acs-ed-spc-fill { height:100%; background: linear-gradient(90deg,#1354f9,#f4a012); border-radius:3px; transition: width .6s ease; }
.acs-ed-spc-tip { font-size:10px; color: rgba(255,255,255,.3); margin-top:7px; line-height: 1.5; }

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

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

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

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

.acs-ed-topbar-right { margin-left:auto; display:flex; align-items:center; gap: 12px; }
.acs-ed-topbar-search {
  background: #f7f8fb;
  border: 1px solid #e2e6f0;
  border-radius: 8px;
  width: 280px;
  padding: 8px 13px;
}
.acs-ed-topbar-search input {
  width:100%;
  border:none;
  outline:none;
  background:transparent;
  font-size: 12px;
}
.acs-ed-topbar-avatar {
  width: 34px; height: 34px;
  border-radius: 10px;
  background: linear-gradient(135deg,#1354f9,#0e44d4);
  display:flex; align-items:center; justify-content:center;
  color:#fff;
  font-family:'Sora',sans-serif;
  font-size: 12px;
  font-weight: 900;
}

.acs-ed-content { flex:1; padding: 28px; overflow-x:hidden; font-family:'Manrope',sans-serif; }

.acs-ed-view { display:none; }
.acs-ed-view.active { display:block; animation: acs-ed-fi .3s ease both; }
@keyframes acs-ed-fi { from{opacity:0;transform:translateY(6px)} to{opacity:1;transform:none} }

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

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

.acs-ed-card { background:#fff; border:1px solid #e2e6f0; border-radius:10px; overflow:hidden; }
.acs-ed-card-body { padding:20px; }

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

.acs-ed-form-row-2 { display:grid; grid-template-columns:1fr 1fr; gap: 14px; }
.acs-ed-flabel { display:block; font-size: 11px; font-weight: 900; color:#0a1628; margin-bottom:6px; letter-spacing:.2px; }
.acs-ed-fi, .acs-ed-fselect {
  width:100%;
  border:1.5px solid #e2e6f0;
  border-radius:8px;
  padding: 10px 13px;
  font-size: 13px;
  outline:none;
  background:#fff;
}
.acs-ed-fi:focus, .acs-ed-fselect:focus { border-color:#1354f9; box-shadow:0 0 0 3px rgba(19,84,249,.08); }
.acs-ed-talent-grid {
  display:grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
.acs-ed-talent-card {
  border:1px solid #e2e6f0;
  border-radius:10px;
  background:#fff;
  overflow:hidden;
}
.acs-ed-talent-card-top {
  padding: 14px 14px 10px;
  display:flex;
  align-items:flex-start;
  gap: 12px;
  border-bottom:1px solid #e2e6f0;
}
.acs-ed-talent-av {
  width: 46px; height: 46px;
  border-radius: 10px;
  background:#1354f9;
  display:flex; align-items:center; justify-content:center;
  color:#fff;
  font-family:'Sora',sans-serif;
  font-size: 15px;
  font-weight: 900;
  position: relative;
  flex-shrink: 0;
}
.acs-ed-talent-ava-dot { width: 10px; height: 10px; border-radius:50%; border:2px solid #fff; position:absolute; bottom:-2px; right:-2px; background: #0dab76; }
.acs-ed-talent-info { flex:1; }
.acs-ed-talent-name { font-family:'Sora',sans-serif; font-weight: 900; font-size: 13px; color:#0a1628; margin-bottom:2px; }
.acs-ed-talent-headline { font-size: 11px; color:#1354f9; font-weight: 800; }
.acs-ed-talent-loc { font-size: 11px; color:#5b6480; margin-top: 3px; }
.acs-ed-talent-tag {
  margin-left:auto;
  background: rgba(13,171,118,.1);
  border: 1px solid rgba(13,171,118,.2);
  color:#0dab76;
  font-size: 10px;
  font-weight: 900;
  padding: 3px 8px;
  border-radius: 4px;
}
.acs-ed-talent-card-body { padding: 14px; }
.acs-ed-talent-bio { 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-ed-chip-wrap { display:flex; flex-wrap:wrap; gap: 6px; }
.acs-ed-chip {
  background:#f7f8fb;
  border:1.5px solid #e2e6f0;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 10px;
  font-weight: 800;
  color:#0a1628;
}
.acs-ed-talent-card-foot {
  padding: 12px 14px;
  display:flex;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  align-items:center;
  border-top:1px solid #e2e6f0;
}
.acs-ed-btn-sm { padding: 7px 12px; font-size: 12px; }
.acs-ed-empty { color:#9aa3b8; font-weight: 800; font-size: 12px; }

/* Modal */
.acs-ed-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-ed-modal-bg.open { display:flex; }
.acs-ed-modal { background:#fff; border-radius:12px; max-width:580px; width:100%; max-height: 90vh; overflow-y:auto; box-shadow:0 20px 60px rgba(10,22,40,.18); }
.acs-ed-modal-header { padding: 18px 22px 14px; border-bottom: 1px solid #e2e6f0; display:flex; align-items:center; justify-content:space-between; }
.acs-ed-modal-title { font-family:'Sora',sans-serif; font-size:15px; font-weight: 900; color:#0a1628; }
.acs-ed-modal-close { width:28px; height:28px; border-radius:6px; border:none; background:#f7f8fb; cursor:pointer; display:flex; align-items:center; justify-content:center; }
.acs-ed-modal-close:hover { background:#eef0f5; }
.acs-ed-modal-close svg { width:13px; height:13px; color:#5b6480; }
.acs-ed-modal-body { padding: 20px 22px; }
.acs-ed-modal-footer { padding: 14px 22px; border-top:1px solid #e2e6f0; display:flex; gap:9px; justify-content:flex-end; }

/* Responsive */
@media (max-width: 960px) {
  .acs-ed-sidebar { transform: translateX(-240px); }
  .acs-ed-sidebar.open { transform: translateX(0); }
  .acs-ed-main { margin-left: 0; }
  .acs-ed-topbar-menu-btn { display:block; }
  .acs-ed-topbar-search { display:none; }
}

@media (max-width: 700px) {
  .acs-ed-content { padding: 14px; }
  .acs-ed-stat-grid { grid-template-columns: repeat(2, 1fr); }
  .acs-ed-form-row-2 { grid-template-columns: 1fr; }
  .acs-ed-talent-grid { grid-template-columns: 1fr; }
}

