@import url("https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;0,9..40,800&display=swap");

/* Figma hiringdesign/employer/dashboard/EmpHome.html */
.emp-dashboard-root {
  --ed-brand: #1b5fc4;
  --ed-brand-dark: #164f9f;
  --ed-green: #12a58d;
  --ed-ink: #0f2b52;
  --ed-muted: #6b7280;
  --ed-off: #f4f6fa;
  --ed-mint: #e7f1ec;
  --ed-card-shadow: 0 10px 30px rgba(15, 43, 82, 0.08);
  font-family: "DM Sans", sans-serif;
  color: var(--ed-ink);
  background: #fff;
  margin: 0 auto;
  width: 100%;
  -webkit-font-smoothing: antialiased;
}

.emp-dashboard-root a {
  text-decoration: none;
}

.ed-main {
  margin: 0 auto;
  width: 100%;
}

.ed-wrap {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

.ed-page-head {
  background: var(--ed-off);
  padding: 40px 0;
  text-align: center;
}

.ed-page-head h1 {
  margin: 0;
  font-size: 34px;
  font-weight: 700;
  color: #33415c;
}

/* ===== TOP NAV ===== */
.ed-topbar {
  background: var(--ed-brand);
  color: #fff;
  width: 100%;
}

.ed-topbar .ed-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: nowrap;
  height: 68px;
  gap: 16px;
  max-width: none;
  width: 100%;
  margin: 0;
  padding: 0 24px;
  box-sizing: border-box;
}

.ed-nav-left {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  min-width: 0;
  flex: 0 1 auto;
  gap: 34px;
}

.ed-brand {
  font-size: 26px;
  font-weight: 700;
  letter-spacing: 0.3px;
  color: #fff;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  line-height: 0;
}

.ed-brand img {
  height: 44px;
  width: auto;
  display: block;
}

.ed-nav {
  display: flex;
  gap: 30px;
  margin: 0;
  min-width: 0;
}

.ed-nav a {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.92);
  transition: color 0.2s;
  white-space: nowrap;
}

.ed-nav a:hover,
.ed-nav a.active {
  color: #fff;
  font-weight: 600;
}

.ed-nav-dropdown {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.ed-nav-dropdown-trigger {
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.ed-nav-caret {
  font-size: 11px;
  line-height: 1;
}

.ed-nav-dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  min-width: 210px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 12px 32px rgba(15, 43, 82, 0.14);
  padding: 6px 0;
  margin-top: 8px;
  z-index: 300;
  overflow: visible;
}

/* Invisible bridge so the pointer can move from trigger → menu without closing */
.ed-nav-dropdown-menu::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -12px;
  height: 12px;
}

.ed-nav-dropdown:hover .ed-nav-dropdown-menu,
.ed-nav-dropdown.open .ed-nav-dropdown-menu {
  display: block;
}

.ed-nav-dropdown-menu a {
  display: block;
  padding: 11px 18px;
  color: var(--ed-ink) !important;
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
  transition: background 0.15s, color 0.15s;
}

.ed-nav-dropdown-menu a:hover {
  background: var(--ed-off);
  color: var(--ed-brand) !important;
  font-weight: 600;
}

.ed-nav-right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
  flex-shrink: 0;
  margin-left: auto;
}

.ed-bell {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #fff;
  color: var(--ed-brand);
  display: grid;
  place-items: center;
  font-size: 16px;
  border: none;
  cursor: pointer;
  position: relative;
}

.ed-bell .ed-notify-count {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  border-radius: 999px;
  background: #ef4444;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  display: grid;
  place-items: center;
  line-height: 1;
}

.ed-bell .ed-notify-count.d-none {
  display: none;
}

.ed-welcome {
  font-weight: 700;
  font-size: 15px;
  white-space: nowrap;
}

.ed-avatar {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  border: 1.5px solid rgba(255, 255, 255, 0.7);
  display: grid;
  place-items: center;
  font-size: 15px;
  color: #fff;
  background: transparent;
  cursor: pointer;
  padding: 0;
}

.ed-account-menu {
  position: relative;
}

.ed-account-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  min-width: 180px;
  background: #fff;
  border: 1px solid #e2e8f2;
  border-radius: 10px;
  box-shadow: 0 12px 32px rgba(15, 43, 82, 0.14);
  overflow: hidden;
  z-index: 300;
}

.ed-account-dropdown.is-open {
  display: block;
}

.ed-account-dropdown a,
.ed-account-dropdown button {
  display: block;
  width: 100%;
  padding: 12px 16px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ed-ink);
  background: #fff;
  border: none;
  text-align: left;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.15s;
}

.ed-account-dropdown a:hover,
.ed-account-dropdown button:hover {
  background: var(--ed-off);
  color: var(--ed-brand);
}

.ed-account-dropdown a + form button {
  border-top: 1px solid #eef2f7;
}

.ed-account-dropdown form {
  margin: 0;
}

.ed-nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border: 1.5px solid rgba(255, 255, 255, 0.5);
  border-radius: 8px;
  background: transparent;
  color: #fff;
  font-size: 18px;
  cursor: pointer;
}

/* ===== SEARCH ===== */
.ed-searchbar {
  background: var(--ed-off);
  padding: 44px 0;
}

.ed-search-form {
  max-width: 640px;
  margin: 0 auto;
  display: flex;
  gap: 10px;
}

.ed-search-form input {
  flex: 1;
  border: 1px solid #e2e8f2;
  background: #fff;
  border-radius: 8px;
  padding: 0 18px;
  height: 50px;
  font-size: 15px;
  font-family: inherit;
  color: var(--ed-ink);
}

.ed-search-form input::placeholder {
  color: #9aa4b2;
}

.ed-search-form button {
  width: 54px;
  border: none;
  border-radius: 8px;
  background: var(--ed-brand);
  color: #fff;
  font-size: 17px;
  cursor: pointer;
}

/* ===== SECTION HELPERS ===== */
.ed-band-blue {
  background: var(--ed-brand);
  color: #fff;
}

.ed-band-gray {
  background: var(--ed-off);
}

.ed-section {
  padding: 70px 0;
}

.ed-sec-head {
  text-align: center;
  margin-bottom: 44px;
}

.ed-sec-head h2 {
  font-size: 30px;
  font-weight: 700;
}

.ed-sec-head p {
  margin-top: 8px;
  font-size: 15px;
  opacity: 0.9;
}

.ed-arrow-btn {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1.5px solid var(--ed-green);
  color: var(--ed-green) !important;
  display: grid;
  place-items: center;
  font-size: 13px;
  background: #fff;
  transition: 0.2s;
}

.ed-arrow-btn i {
  color: var(--ed-green);
}

.ed-arrow-btn:hover {
  background: var(--ed-green);
  color: #fff !important;
}

.ed-arrow-btn:hover i {
  color: #fff;
}

/* ===== CV ACCESS ===== */
.ed-cv-access .ed-wrap {
  display: grid;
  grid-template-columns: 0.9fr 2.6fr;
  gap: 40px;
  align-items: center;
}

.ed-cv-access h2 {
  font-size: 34px;
  font-weight: 700;
  margin-bottom: 16px;
}

.ed-cv-access .ed-intro p {
  font-size: 15px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.85);
  max-width: 280px;
}

.ed-cv-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.ed-cv-card {
  background: #fff;
  border-radius: 12px;
  padding: 26px 24px 22px;
  box-shadow: var(--ed-card-shadow);
  min-height: 200px;
  display: flex;
  flex-direction: column;
}

.ed-cv-card .ed-ico {
  width: 46px;
  height: 46px;
  border-radius: 10px;
  background: #eaf1fb;
  color: var(--ed-brand);
  display: grid;
  place-items: center;
  font-size: 18px;
  margin-bottom: 18px;
}

.ed-cv-card h4 {
  color: var(--ed-ink);
  font-size: 17px;
  margin-bottom: 10px;
}

.ed-cv-card p {
  color: var(--ed-muted);
  font-size: 14px;
  line-height: 1.55;
  margin-bottom: 18px;
}

.ed-cv-card .ed-arrow-btn {
  margin-top: auto;
}

/* ===== PARTNERS ===== */
.ed-partners .ed-sec-head h2 {
  color: var(--ed-ink);
}

.ed-partner-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 22px;
}

.ed-partner-card {
  background: #fff;
  border-radius: 10px;
  box-shadow: var(--ed-card-shadow);
  height: 96px;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 10px 14px;
  overflow: hidden;
}

.ed-partner-card img {
  max-width: 100%;
  max-height: 72px;
  width: auto;
  height: auto;
  object-fit: contain;
}

/* ===== SERVICES ===== */
.ed-services-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.ed-service-card {
  background: #fff;
  border-radius: 12px;
  padding: 30px 24px;
  text-align: center;
  box-shadow: var(--ed-card-shadow);
}

.ed-service-card .ed-arrow-btn {
  margin: 0 auto 18px;
}

.ed-service-card h4 {
  color: var(--ed-ink);
  font-size: 18px;
  margin-bottom: 12px;
}

.ed-service-card p {
  color: var(--ed-muted);
  font-size: 14px;
  line-height: 1.6;
}

/* ===== PRICING ===== */
.ed-pricing {
  background: var(--ed-mint);
}

.ed-pricing .ed-sec-head h2 {
  color: var(--ed-ink);
}

.ed-price-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 320px));
  gap: 30px;
  justify-content: center;
}

.ed-price-card {
  background: #fff;
  border-radius: 14px;
  padding: 34px 30px;
  text-align: center;
  box-shadow: var(--ed-card-shadow);
  border: 1.5px solid transparent;
}

.ed-price-card.featured {
  border-color: var(--ed-brand);
  background: #f6f9ff;
}

.ed-price-card h3 {
  font-size: 20px;
  margin-bottom: 26px;
  color: var(--ed-ink);
}

.ed-price-row-item {
  margin-bottom: 22px;
}

.ed-price-row-item .k {
  font-size: 13px;
  color: var(--ed-muted);
  margin-bottom: 4px;
}

.ed-price-row-item .v {
  font-size: 17px;
  font-weight: 700;
  color: var(--ed-ink);
}

.ed-price-btn {
  display: block;
  width: 100%;
  border: none;
  margin-top: 8px;
  background: var(--ed-brand);
  color: #fff !important;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.5px;
  padding: 13px;
  border-radius: 8px;
  cursor: pointer;
  transition: 0.2s;
  text-align: center;
}

.ed-price-btn:hover,
.ed-price-btn:focus {
  background: var(--ed-brand-dark);
  color: #fff !important;
}

/* ===== FOOTER ===== */
.ed-footer {
  background: var(--ed-brand);
  color: #fff;
  padding: 56px 0 0;
}

.ed-foot-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
}

.ed-foot-brand .ed-brand {
  margin-bottom: 8px;
  display: inline-flex;
}

.ed-foot-brand .ed-brand img {
  height: 48px;
}

.ed-foot-brand p {
  font-size: 14px;
  opacity: 0.85;
}

.ed-foot-brand .ed-we-accept-label {
  margin: 16px 0 0;
  font-size: 13px;
  font-weight: 700;
  opacity: 1;
}

.ed-payment-accept {
  display: flex;
  gap: 10px;
  list-style: none;
  margin: 8px 0 0;
  padding: 0;
  flex-wrap: wrap;
}

.ed-payment-accept li {
  list-style: none;
  background-color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 8px;
  border-radius: 5px;
}

.ed-payment-accept li img {
  width: 50px;
  height: 50px;
  border-radius: 5px;
  object-fit: contain;
  display: block;
}

.ed-foot-col h5 {
  color: #7ee0b8;
  font-size: 13px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.ed-foot-col a {
  display: block;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 11px;
  transition: 0.2s;
}

.ed-foot-col a:hover {
  color: #fff;
  padding-left: 3px;
}

.ed-foot-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  opacity: 0.9;
  gap: 16px;
  flex-wrap: wrap;
}

.ed-foot-bottom a,
.ed-foot-bottom button {
  display: inline-flex;
  gap: 6px;
  align-items: center;
  background: none;
  border: none;
  color: inherit;
  font: inherit;
  cursor: pointer;
  padding: 0;
}

.ed-foot-bottom a:hover,
.ed-foot-bottom button:hover {
  color: #fff;
}

/* notification dropdown (employer layout compatibility) */
.ed-nav-right .notification-wrapper {
  position: relative;
  margin-right: 0;
}

.ed-nav-right .notification-bell.ed-bell {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #fff;
  color: var(--ed-brand);
  font-size: 16px;
}

.ed-nav-right .notification-bell.ed-bell:hover,
.ed-nav-right .notification-bell.ed-bell:focus {
  background: #eef3fb;
  color: var(--ed-brand-dark);
}

.ed-nav-right .notification-dropdown {
  right: 0;
  left: auto;
}
