@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,100..1000;1,9..40,100..1000&family=Instrument+Sans:ital,opsz,wght@0,14..32,400..700;1,14..32,400..700&display=swap');

/* Figma hiringdesign/employe-login.html */
.figma-employee-login-root {
  --blue: #1a6ef5;
  --blue-dark: #1255cc;
  --teal: #12a58d;
  --teal-dark: #089997;
  --navy: #0d2a6e;
  --off: #f5f7fb;
  --gray: #6b7280;
  --text: #111827;
  --border: #e4e9f2;
  --gap: 6%;
  flex: 1 1 auto;
  width: 100%;
  display: flex;
  flex-direction: column;
  font-family: "Instrument Sans", system-ui, sans-serif;
  color: var(--text);
  background: var(--off);
  -webkit-font-smoothing: antialiased;
}

.figma-employee-login-root .login-main-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  flex: 1;
  width: 100%;
  min-height: calc(100vh - 64px);
  padding: 48px var(--gap);
  gap: 2rem;
  background: var(--off);
  align-items: stretch;
  box-sizing: border-box;
}

.figma-employee-login-root .register-options-card,
.figma-employee-login-root .login-form-card {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.figma-employee-login-root .register-options-card {
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: 18px;
  padding: 2rem;
}

.figma-employee-login-root .register-options-card h3 {
  font-size: clamp(1.05rem, 2.2vw, 1.3rem);
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 0.4rem;
  margin-top: 0;
  font-family: "DM Sans", sans-serif;
  line-height: 1.35;
}

.figma-employee-login-root .new-perks {
  list-style: none;
  margin: 1.2rem 0 1.8rem;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.figma-employee-login-root .new-perks li {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  font-size: 0.85rem;
  color: var(--gray);
}

.figma-employee-login-root .new-perks li svg {
  width: 16px;
  height: 16px;
  color: var(--teal);
  flex-shrink: 0;
  margin-top: 2px;
}

.figma-employee-login-root .btn-register-block {
  width: 100%;
  padding: 0.75rem;
  border: none;
  border-radius: 10px;
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  font-family: "DM Sans", sans-serif;
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: all 0.2s;
  text-decoration: none;
  box-sizing: border-box;
}

.figma-employee-login-root .btn-register-block.jobseeker {
  background: linear-gradient(90deg, var(--blue), #3b82f6);
  color: #fff;
}

.figma-employee-login-root .btn-register-block.employer {
  background: linear-gradient(90deg, #0d5fd6, var(--blue));
  color: #fff;
}

.figma-employee-login-root .btn-register-block.foh {
  background: linear-gradient(90deg, #0abfbc, var(--teal));
  color: #fff;
}

.figma-employee-login-root .btn-register-block.guest {
  background: #fff;
  color: var(--blue);
  border: 1.5px solid var(--border);
}

.figma-employee-login-root .btn-register-block:hover {
  opacity: 0.92;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(26, 110, 245, 0.2);
  color: #fff;
}

.figma-employee-login-root .btn-register-block.guest:hover {
  color: var(--blue);
}

.figma-employee-login-root .login-form-card {
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: 18px;
  overflow: hidden;
}

.figma-employee-login-root .login-promo-bar {
  background: linear-gradient(90deg, #0abfbc, #1a6ef5);
  padding: 14px 20px;
  font-size: 0.88rem;
  color: #fff;
  font-weight: 500;
  text-align: center;
}

.figma-employee-login-root .login-promo-bar.alert-info {
  background: linear-gradient(90deg, #2193b0, #6dd5ed);
}

.figma-employee-login-root .login-form-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 1.8rem 2rem 2rem;
}

.figma-employee-login-root .login-form-body h3 {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 1.4rem;
  margin-top: 0;
  font-family: "DM Sans", sans-serif;
}

.figma-employee-login-root .form-group {
  margin-bottom: 1.1rem;
}

.figma-employee-login-root .form-group label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.42rem;
  font-family: "DM Sans", sans-serif;
}

.figma-employee-login-root .input-bare {
  width: 100%;
  height: 48px;
  padding: 0 14px;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  font-size: 0.88rem;
  color: var(--text);
  outline: none;
  font-family: "Instrument Sans", sans-serif;
  background: #fff;
  transition: border-color 0.2s, box-shadow 0.2s;
  box-sizing: border-box;
}

.figma-employee-login-root .input-bare:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(18, 165, 141, 0.1);
}

.figma-employee-login-root .input-bare::placeholder {
  color: #b0b9c8;
}

.figma-employee-login-root .pw-wrap {
  position: relative;
}

.figma-employee-login-root .pw-wrap .input-bare {
  padding-right: 44px;
}

.figma-employee-login-root .pw-toggle {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  color: #9ca3af;
  padding: 4px;
}

.figma-employee-login-root .pw-toggle:hover {
  color: var(--gray);
}

.figma-employee-login-root .pw-toggle svg {
  width: 18px;
  height: 18px;
  display: block;
}

.figma-employee-login-root .forgot-link {
  text-align: right;
  font-size: 0.78rem;
  margin-top: -0.5rem;
  margin-bottom: 0.8rem;
}

.figma-employee-login-root .forgot-link a {
  color: var(--gray);
  text-decoration: none;
}

.figma-employee-login-root .forgot-link a:hover {
  color: var(--blue);
}

.figma-employee-login-root .btn-submit {
  width: 100%;
  height: 50px;
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue) 100%);
  color: #fff;
  border: none;
  border-radius: 10px;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  font-family: "DM Sans", sans-serif;
  letter-spacing: 0.01em;
  transition: opacity 0.2s, transform 0.15s, box-shadow 0.2s;
  margin-top: 0.5rem;
  box-shadow: 0 4px 16px rgba(26, 110, 245, 0.3);
}

.figma-employee-login-root .btn-submit:hover {
  opacity: 0.92;
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(26, 110, 245, 0.35);
}

.figma-employee-login-root .back-home {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  font-size: 0.82rem;
  color: var(--gray);
  text-decoration: none;
  margin-top: 1rem;
}

.figma-employee-login-root .back-home:hover {
  color: var(--blue);
}

.figma-employee-login-root .back-home svg {
  width: 14px;
  height: 14px;
}

.figma-employee-login-root .field-error,
.figma-employee-login-root .text-danger {
  color: #dc2626;
  font-size: 0.78rem;
  margin-top: 0.35rem;
  display: block;
}

.figma-employee-login-root .login-error {
  color: #dc2626;
  font-size: 0.85rem;
  text-align: center;
  margin-top: 0.75rem;
  display: none;
}

.figma-employee-login-root .guest-modal {
  display: none;
  position: fixed;
  z-index: 1100;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.figma-employee-login-root .guest-modal.is-open {
  display: flex;
}

.figma-employee-login-root .guest-modal-content {
  background: #fff;
  border-radius: 14px;
  padding: 1.5rem;
  max-width: 420px;
  width: 100%;
  position: relative;
}

.figma-employee-login-root .guest-modal-close {
  position: absolute;
  top: 0.75rem;
  right: 1rem;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--gray);
}

.figma-employee-login-root .guest-modal-content label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
  margin-top: 0.75rem;
}

.figma-employee-login-root .guest-modal-content input[type="text"],
.figma-employee-login-root .guest-modal-content input[type="email"],
.figma-employee-login-root .guest-modal-content input[type="file"] {
  width: 100%;
  box-sizing: border-box;
}

/* Marketing sections below login */
.figma-employee-login-root .login-why-section {
  padding: 64px var(--gap) 48px;
  background: #fff;
  border-top: 1px solid var(--border);
}

.figma-employee-login-root .login-why-section .section-header,
.figma-employee-login-root .login-faq-section .section-label,
.figma-employee-login-root .login-faq-section .section-header {
  text-align: center;
}

.figma-employee-login-root .login-why-section .section-header,
.figma-employee-login-root .login-faq-section .section-header {
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 2rem;
}

.figma-employee-login-root .login-why-section .section-header h2,
.figma-employee-login-root .login-faq-section .section-header h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.5px;
  color: var(--navy);
  margin: 0 0 0.75rem;
  font-family: "DM Sans", sans-serif;
}

.figma-employee-login-root .login-why-section .section-header p,
.figma-employee-login-root .login-why-block p,
.figma-employee-login-root .login-benefits-block > p {
  color: var(--gray);
  font-size: 0.92rem;
  line-height: 1.75;
  margin: 0;
}

.figma-employee-login-root .login-why-block,
.figma-employee-login-root .login-benefits-block {
  max-width: 900px;
  margin: 0 auto 2.5rem;
}

.figma-employee-login-root .login-why-block h3,
.figma-employee-login-root .login-benefits-block h3 {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--navy);
  margin: 0 0 0.65rem;
  font-family: "DM Sans", sans-serif;
}

.figma-employee-login-root .login-benefits-block > p {
  margin-bottom: 1.5rem;
}

.figma-employee-login-root .login-benefits-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.2rem;
}

.figma-employee-login-root .login-benefits-col {
  background: var(--off);
  border: 1.5px solid var(--border);
  border-radius: 16px;
  padding: 1.5rem;
}

.figma-employee-login-root .login-benefits-col h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--navy);
  margin: 0 0 1rem;
  font-family: "DM Sans", sans-serif;
}

.figma-employee-login-root .login-benefits-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.figma-employee-login-root .login-benefits-col li {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  font-size: 0.85rem;
  color: var(--text);
  line-height: 1.5;
}

.figma-employee-login-root .login-benefits-col li svg {
  width: 16px;
  height: 16px;
  color: var(--teal);
  flex-shrink: 0;
  margin-top: 2px;
}

.figma-employee-login-root .login-faq-section {
  padding: 64px var(--gap);
  background: var(--off);
  border-top: 1px solid var(--border);
}

.figma-employee-login-root .section-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--blue);
  text-transform: uppercase;
  margin-bottom: 0.5rem;
  font-family: "DM Sans", sans-serif;
}

.figma-employee-login-root .login-faq-section .faq-list {
  max-width: 860px;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin: 0 auto;
}

.figma-employee-login-root .login-faq-section .faq-item {
  border: 1.5px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
}

.figma-employee-login-root .login-faq-section .faq-q {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.2rem;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--navy);
  font-family: "DM Sans", sans-serif;
  text-align: left;
  gap: 1rem;
  transition: background 0.2s;
}

.figma-employee-login-root .login-faq-section .faq-q:hover {
  background: var(--off);
}

.figma-employee-login-root .login-faq-section .faq-q svg {
  width: 18px;
  height: 18px;
  color: var(--gray);
  flex-shrink: 0;
  transition: transform 0.2s;
}

.figma-employee-login-root .login-faq-section .faq-item.open .faq-q svg {
  transform: rotate(180deg);
}

.figma-employee-login-root .login-faq-section .faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.figma-employee-login-root .login-faq-section .faq-a-inner {
  padding: 0 1.2rem 1rem;
  font-size: 0.85rem;
  color: var(--gray);
  line-height: 1.7;
}

.figma-employee-login-root .login-faq-section .faq-item.open .faq-a {
  max-height: 280px;
}
