/* =========================================================
   Resumerize - Sign Up Page
   White + Blue Split Layout
   ========================================================= */

/* ---------------------------------------------------------
   Base
   --------------------------------------------------------- */

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;

  width: 100%;
  min-height: 100%;
}

body {
  font-family:
    Inter,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    Helvetica,
    Arial,
    sans-serif;

  background: #f8fbff;

  color: #172033;

  -webkit-font-smoothing: antialiased;
}

/* ---------------------------------------------------------
   Page
   --------------------------------------------------------- */

.signup-page {
  min-height: 100vh;
  width: 100%;

  display: flex;
  align-items: center;
  justify-content: center;

  padding: 36px 24px;
}

.signup-container {
  width: 100%;
  max-width: 1160px;

  display: flex;
  flex-direction: column;
  align-items: center;
}

/* ---------------------------------------------------------
   Main Split Card
   --------------------------------------------------------- */

.signup-card {
  position: relative;

  width: 100%;
  max-width: 1160px;

  min-height: 600px;

  display: grid;

  grid-template-columns:
    44%
    56%;

  overflow: hidden;

  background: #ffffff;

  border: 1px solid #dbe7fb;

  border-radius: 28px;

  box-shadow:
    0 24px 60px rgba(31, 78, 216, 0.12),
    0 8px 24px rgba(20, 35, 70, 0.06);
}

/* ---------------------------------------------------------
   Left Welcome Panel
   --------------------------------------------------------- */

.signup-welcome-panel {
  position: relative;

  display: flex;
  align-items: center;
  justify-content: center;

  min-width: 0;

  padding: 60px 55px;

  background: linear-gradient(135deg, #edf4ff 0%, #e5efff 50%, #dceaff 100%);

  overflow: hidden;
}

/*
   Subtle decorative glow
*/

.signup-welcome-panel::before {
  content: "";

  position: absolute;

  width: 320px;
  height: 320px;

  top: -150px;
  left: -140px;

  border-radius: 50%;

  background: rgba(37, 99, 235, 0.06);

  pointer-events: none;
}

/*
   Decorative lower glow
*/

.signup-welcome-panel::after {
  content: "";

  position: absolute;

  width: 300px;
  height: 300px;

  right: -180px;
  bottom: -180px;

  border-radius: 50%;

  background: rgba(37, 99, 235, 0.05);

  pointer-events: none;
}

/* ---------------------------------------------------------
   Angled Divider
   --------------------------------------------------------- */

.signup-welcome-panel {
  clip-path: polygon(0 0, 94% 0, 82% 50%, 94% 100%, 0 100%);
}

/* ---------------------------------------------------------
   Welcome Content
   --------------------------------------------------------- */

.welcome-content {
  position: relative;

  z-index: 2;

  width: 100%;

  text-align: center;
}

/* ---------------------------------------------------------
   Welcome Brand
   --------------------------------------------------------- */

.welcome-brand {
  display: flex;

  align-items: center;
  justify-content: center;

  gap: 10px;

  margin-bottom: 82px;

  color: #2563eb;

  font-size: 13px;

  font-weight: 800;

  letter-spacing: 4px;
}

.welcome-dot {
  width: 10px;
  height: 10px;

  flex: 0 0 auto;

  border-radius: 50%;

  background: #2563eb;

  box-shadow: 0 0 0 5px rgba(37, 99, 235, 0.08);
}

/* ---------------------------------------------------------
   Welcome Message
   --------------------------------------------------------- */

.welcome-message {
  display: flex;

  flex-direction: column;

  align-items: center;
}

.welcome-small-title {
  margin-bottom: 22px;

  color: #57739f;

  font-size: 13px;

  font-weight: 700;

  letter-spacing: 5px;
}

.welcome-message h2 {
  margin: 0;

  color: #2563eb;

  font-size: clamp(38px, 4.5vw, 58px);

  line-height: 0.98;

  font-weight: 800;

  letter-spacing: -2px;
}

.welcome-message p {
  margin: 38px 0 0;

  color: #637898;

  font-size: 17px;

  line-height: 1.55;

  font-weight: 500;
}

/* ---------------------------------------------------------
   Right Form Panel
   --------------------------------------------------------- */

.signup-form-panel {
  position: relative;

  display: flex;

  align-items: center;

  justify-content: center;

  min-width: 0;

  background: #ffffff;

  padding: 45px 72px;
}

/* ---------------------------------------------------------
   Form Content
   --------------------------------------------------------- */

.signup-form-content {
  width: 100%;

  max-width: 520px;
}

/* ---------------------------------------------------------
   Brand
   --------------------------------------------------------- */

.signup-header {
  margin-bottom: 28px;
}

.brand h1 {
  margin: 0;

  color: #2563eb;

  font-size: 28px;

  line-height: 1.2;

  font-weight: 750;

  letter-spacing: -0.8px;
}

.brand-tagline {
  margin: 7px 0 0;

  color: #71809a;

  font-size: 13px;

  line-height: 1.5;
}

/* ---------------------------------------------------------
   Sign Up Header
   --------------------------------------------------------- */

.signup-card-header {
  margin-bottom: 26px;
}

.signup-card-header h2 {
  margin: 0;

  color: #172033;

  font-size: 30px;

  line-height: 1.2;

  font-weight: 750;

  letter-spacing: -0.8px;
}

.signup-card-header p {
  margin: 8px 0 0;

  color: #71809a;

  font-size: 14px;

  line-height: 1.5;
}

/* ---------------------------------------------------------
   Form
   --------------------------------------------------------- */

.signup-form {
  width: 100%;
}

.form-group {
  width: 100%;

  margin-bottom: 16px;
}

.form-group label {
  display: block;

  margin-bottom: 7px;

  color: #273248;

  font-size: 13px;

  line-height: 1.4;

  font-weight: 650;
}

/* ---------------------------------------------------------
   Inputs
   --------------------------------------------------------- */

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="password"] {
  display: block;

  width: 100%;

  height: 48px;

  padding: 0 16px;

  border: 1px solid #d6e1f1;

  border-radius: 11px;

  background: #fbfdff;

  color: #172033;

  font-family: inherit;

  font-size: 14px;

  outline: none;

  transition:
    border-color 0.18s ease,
    box-shadow 0.18s ease,
    background 0.18s ease;
}

.form-group input::placeholder {
  color: #9aa8bd;
}

.form-group input:hover {
  border-color: #b9cbe7;

  background: #ffffff;
}

.form-group input:focus {
  border-color: #2563eb;

  background: #ffffff;

  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

/* ---------------------------------------------------------
   Terms
   --------------------------------------------------------- */

.terms-group {
  width: 100%;

  margin-top: 3px;

  margin-bottom: 18px;
}

.terms-label {
  display: flex;

  align-items: flex-start;

  gap: 9px;

  color: #71809a;

  font-size: 12px;

  line-height: 1.5;

  cursor: pointer;
}

.terms-label input[type="checkbox"] {
  width: 16px;
  height: 16px;

  flex: 0 0 auto;

  margin: 2px 0 0;

  cursor: pointer;

  accent-color: #2563eb;
}

.terms-label a {
  color: #2563eb;

  text-decoration: none;

  font-weight: 600;
}

.terms-label a:hover {
  text-decoration: underline;
}

/* ---------------------------------------------------------
   Create Account Button
   --------------------------------------------------------- */

#signupButton {
  display: flex;

  align-items: center;

  justify-content: center;

  width: 100%;

  height: 52px;

  padding: 0 20px;

  border: 0;

  border-radius: 26px;

  background: #2563eb;

  color: #ffffff;

  font-family: inherit;

  font-size: 15px;

  font-weight: 700;

  cursor: pointer;

  box-shadow: 0 10px 24px rgba(37, 99, 235, 0.2);

  transition:
    background 0.18s ease,
    transform 0.12s ease,
    box-shadow 0.18s ease;
}

#signupButton:hover {
  background: #1d4ed8;

  box-shadow: 0 12px 28px rgba(37, 99, 235, 0.26);
}

#signupButton:active {
  transform: translateY(1px);
}

#signupButton:focus-visible {
  outline: 3px solid rgba(37, 99, 235, 0.2);

  outline-offset: 3px;
}

#signupButton:disabled {
  opacity: 0.65;

  cursor: not-allowed;

  box-shadow: none;
}

/* ---------------------------------------------------------
   Message
   --------------------------------------------------------- */

.signup-message {
  min-height: 18px;

  margin-top: 10px;

  color: #2563eb;

  font-size: 12px;

  line-height: 1.45;

  text-align: center;
}

/* ---------------------------------------------------------
   Login Section
   --------------------------------------------------------- */

.login-section {
  display: flex;

  align-items: center;

  justify-content: center;

  gap: 5px;

  margin-top: 18px;

  padding-top: 18px;

  border-top: 1px solid #edf2f8;

  color: #71809a;

  font-size: 13px;

  line-height: 1.5;
}

.login-section a {
  color: #2563eb;

  font-weight: 700;

  text-decoration: none;
}

.login-section a:hover {
  text-decoration: underline;
}

/* ---------------------------------------------------------
   Footer
   --------------------------------------------------------- */

.signup-footer {
  margin-top: 24px;

  text-align: center;
}

.signup-footer p {
  margin: 0;

  color: #8c9bb1;

  font-size: 12px;

  line-height: 1.5;
}

/* ---------------------------------------------------------
   Tablet
   --------------------------------------------------------- */

@media (max-width: 900px) {
  .signup-page {
    padding: 28px 18px;
  }

  .signup-card {
    min-height: 0;

    grid-template-columns:
      40%
      60%;
  }

  .signup-welcome-panel {
    padding: 45px 30px;
  }

  .signup-form-panel {
    padding: 40px 38px;
  }

  .welcome-brand {
    margin-bottom: 55px;
  }

  .welcome-message h2 {
    font-size: 40px;
  }
}

/* ---------------------------------------------------------
   Mobile
   --------------------------------------------------------- */

@media (max-width: 700px) {
  .signup-page {
    min-height: 100vh;

    align-items: flex-start;

    padding: 24px 16px;
  }

  .signup-card {
    display: flex;

    flex-direction: column;

    min-height: 0;

    border-radius: 22px;
  }

  /*
       Remove desktop angled divider on mobile
    */

  .signup-welcome-panel {
    clip-path: none;

    min-height: 230px;

    padding: 35px 25px;
  }

  .signup-welcome-panel::before,
  .signup-welcome-panel::after {
    display: none;
  }

  .welcome-brand {
    margin-bottom: 30px;

    font-size: 11px;

    letter-spacing: 3px;
  }

  .welcome-small-title {
    margin-bottom: 12px;

    font-size: 11px;

    letter-spacing: 4px;
  }

  .welcome-message h2 {
    font-size: 38px;

    letter-spacing: -1px;
  }

  .welcome-message p {
    margin-top: 18px;

    font-size: 14px;
  }

  .signup-form-panel {
    padding: 34px 24px;
  }

  .signup-form-content {
    max-width: none;
  }

  .signup-header {
    margin-bottom: 22px;
  }

  .signup-card-header h2 {
    font-size: 26px;
  }

  .signup-footer {
    margin-top: 18px;
  }
}

/* ---------------------------------------------------------
   Small Mobile
   --------------------------------------------------------- */

@media (max-width: 380px) {
  .signup-page {
    padding: 16px 10px;
  }

  .signup-card {
    border-radius: 18px;
  }

  .signup-welcome-panel {
    min-height: 210px;

    padding: 28px 18px;
  }

  .welcome-message h2 {
    font-size: 32px;
  }

  .signup-form-panel {
    padding: 28px 18px;
  }

  .signup-card-header h2 {
    font-size: 23px;
  }

  .login-section {
    flex-direction: column;

    gap: 3px;
  }
}
