* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Arial, sans-serif;
  background: #f4f6f8;
  color: #1f2933;
}

.container {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.card {
  width: 100%;
  max-width: 440px;
  background: #ffffff;
  border-radius: 12px;
  padding: 56px 32px 32px 32px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.logo-wrap {
  text-align: center;
  margin-top: 0;
  margin-bottom: 16px;
}

h1 {
  margin-top: 0;
  font-size: 24px;
}

.button {
  display: inline-block;
  width: 100%;
  margin-top: 24px;
  padding: 12px;
  background: #1f2933;
  color: white;
  text-align: center;
  border: none;
  border-radius: 8px;
  font-size: 15px;
  text-decoration: none;
  cursor: pointer;
}

.button:hover {
  background: #323f4b;
}

.subtext {
  color: #52606d;
  margin-bottom: 24px;
}

label {
  display: block;
  margin-top: 16px;
  margin-bottom: 6px;
  font-size: 14px;
  font-weight: bold;
}

input {
  width: 100%;
  padding: 12px;
  border: 1px solid #cbd2d9;
  border-radius: 8px;
  font-size: 15px;
}

button {
  display: inline-block;
  width: 100%;
  margin-top: 24px;
  padding: 12px;
  background: #1f2933;
  color: white;
  text-align: center;
  border: none;
  border-radius: 8px;
  font-size: 15px;
  cursor: pointer;
}

button:hover {
  background: #323f4b;
}

.error {
  margin-top: 16px;
  color: #b42318;
  font-size: 14px;
}

.resume-box {
  margin-top: 24px;
  padding: 20px;
  background: #f8fafc;
  border: 1px solid #d9e2ec;
  border-radius: 8px;
}

.resume-box h2 {
  margin-top: 0;
}


.company-logo {
  max-width: 360px;
  max-height: 120px;
  object-fit: contain;
}

.portal-page {
  background: #ffffff;
  color: #1f2933;
  font-family: "Avenir Next", Avenir, Arial, sans-serif;
}

.portal-header {
  width: 100%;
  background: #ffffff;
  border-bottom: 1px solid #e5e7eb;
  position: sticky;
  top: 0;
  z-index: 10;
}

.portal-header-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 18px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.portal-logo img {
  height: 30px;
  width: auto;
  display: block;
}

.portal-nav {
  display: flex;
  gap: 30px;
  align-items: center;
}

.portal-nav a {
  color: #1d4571;
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
}

.portal-nav a:hover {
  color: #ed1a3d;
}

.portal-actions {
  display: flex;
  align-items: center;
  gap: 18px;
}

.contact-link {
  color: #1d4571;
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
}

.apply-link {
  background: #ed1a3d;
  color: #ffffff;
  text-decoration: none;
  padding: 12px 20px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
}

.portal-main {
  min-height: calc(100vh - 160px);
  background:
    radial-gradient(circle at 20% 20%, rgba(237, 26, 61, 0.12), transparent 28%),
    radial-gradient(circle at 80% 25%, rgba(29, 69, 113, 0.16), transparent 30%),
    linear-gradient(180deg, #f4f7fb 0%, #ffffff 100%);
}

.portal-hero {
  max-width: 1180px;
  margin: 0 auto;
  padding: 96px 32px 120px;
  display: flex;
  justify-content: center;
  text-align: center;
}

.hero-card {
  max-width: 680px;
  background: #ffffff;
  border-radius: 22px;
  padding: 56px 64px;
  box-shadow: 0 24px 60px rgba(1, 18, 39, 0.08);
  border: 1px solid #eef2f7;
}

.eyebrow {
  color: #ed1a3d;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin: 0 0 16px;
}

.hero-card h1 {
  color: #1d4571;
  font-size: 46px;
  line-height: 1.1;
  margin: 0 0 20px;
  font-weight: 800;
}

.hero-subtitle {
  color: #363435;
  font-size: 20px;
  line-height: 1.5;
  margin: 0 0 14px;
  font-weight: 600;
}

.hero-copy {
  color: #52606d;
  font-size: 16px;
  line-height: 1.6;
  margin: 0 auto 32px;
  max-width: 520px;
}

.primary-button {
  display: inline-block;
  background: #ed1a3d;
  color: #ffffff;
  text-decoration: none;
  padding: 15px 28px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 800;
  box-shadow: 0 10px 24px rgba(237, 26, 61, 0.22);
}

.primary-button:hover {
  background: #ba032b;
}

.portal-footer {
  padding: 24px 32px;
  text-align: center;
  color: #8a94a6;
  font-size: 13px;
  border-top: 1px solid #eef2f7;
}

@media (max-width: 900px) {
  .portal-header-inner {
    flex-wrap: wrap;
    gap: 18px;
  }

  .portal-nav {
    order: 3;
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
  }

  .hero-card {
    padding: 40px 28px;
  }

  .hero-card h1 {
    font-size: 34px;
  }
}

.login-card {
  max-width: 520px;
  width: 100%;
  background: #ffffff;
  border-radius: 22px;
  padding: 44px 48px;
  box-shadow: 0 24px 60px rgba(1, 18, 39, 0.08);
  border: 1px solid #eef2f7;
  text-align: left;
}

.login-logo-wrap {
  text-align: center;
  margin-bottom: 24px;
}

.login-logo {
  max-width: 190px;
  max-height: 64px;
  object-fit: contain;
}

.login-card .eyebrow {
  text-align: center;
  margin-bottom: 14px;
}

.login-card h1 {
  color: #1d4571;
  font-size: 34px;
  line-height: 1.15;
  margin: 0 0 14px;
  font-weight: 800;
  text-align: center;
}

.login-copy {
  color: #52606d;
  font-size: 15px;
  line-height: 1.6;
  margin: 0 auto 28px;
  text-align: center;
  max-width: 390px;
}

.portal-form {
  margin-top: 8px;
}

.portal-form label {
  display: block;
  margin-top: 18px;
  margin-bottom: 8px;
  color: #1d4571;
  font-size: 14px;
  font-weight: 700;
}

.portal-form input {
  width: 100%;
  padding: 14px 15px;
  border: 1px solid #cbd2d9;
  border-radius: 10px;
  font-size: 15px;
  background: #ffffff;
  color: #1f2933;
  outline: none;
}

.portal-form input:focus {
  border-color: #1d4571;
  box-shadow: 0 0 0 3px rgba(29, 69, 113, 0.12);
}

.portal-error {
  margin-top: 18px;
  padding: 12px 14px;
  border-radius: 10px;
  background: #fff6f6;
  border: 1px solid #ffd6d4;
  color: #ba032b;
  font-size: 14px;
  line-height: 1.4;
}

.form-button {
  width: 100%;
  border: none;
  margin-top: 24px;
  cursor: pointer;
}

.login-footer-text {
  margin-top: 24px;
  color: #8a94a6;
  font-size: 12px;
  line-height: 1.5;
  text-align: center;
}

@media (max-width: 600px) {
  .login-card {
    padding: 34px 24px;
  }

  .login-card h1 {
    font-size: 28px;
  }
}