/*!*********************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[14].oneOf[12].use[2]!./node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[14].oneOf[12].use[3]!./src/app/login/login.css ***!
  \*********************************************************************************************************************************************************************************************************************************************************************/
@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,300;9..144,500;9..144,600;9..144,700&family=Manrope:wght@400;500;600;700;800&family=JetBrains+Mono:wght@400;500&display=swap');

:root {
  --orange-deep: #c8481a;
  --orange-core: #f05a16;
  --orange-bright: #ff8a3d;

  --cream: #fff6ec;
  --white: #ffffff;

  --ink: #241206;
  --ink-soft: #6b4a36;

  --line: rgba(36, 18, 6, 0.14);

  --display: 'Fraunces', serif;
  --body: 'Manrope', sans-serif;
  --mono: 'JetBrains Mono', monospace;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  width: 100%;
  min-height: 100%;
}

body {
  font-family: var(--body);
  color: var(--ink);
  background: var(--white);
  overflow-x: hidden;
}

.login-page {
  width: 100%;
  min-height: 100vh;

  display: grid;

  grid-template-columns: 1.05fr 1fr;

  background: var(--white);

  overflow: hidden;
}


/* =====================================================
   LEFT
===================================================== */

.login-brand {
  position: relative;

  min-height: 100vh;

  background:
    radial-gradient(
      120% 140% at 18% 12%,
      var(--orange-bright) 0%,
      var(--orange-core) 46%,
      var(--orange-deep) 100%
    );

  color: var(--white);

  padding: 55px 64px;

  display: flex;

  flex-direction: column;

  justify-content: space-between;

  overflow: hidden;
}


/* Decorative rays */

.brand-rays {
  position: absolute;

  inset: 0;

  opacity: 0.22;

  pointer-events: none;

  background:
    linear-gradient(
      45deg,
      transparent 49.8%,
      rgba(255,255,255,0.4) 50%,
      transparent 50.2%
    );

  background-size: 150px 150px;

  -webkit-mask-image:
    linear-gradient(
      to bottom,
      black,
      transparent 80%
    );

          mask-image:
    linear-gradient(
      to bottom,
      black,
      transparent 80%
    );
}


/* Circle decoration */

.sun-circle {
  position: absolute;

  right: -160px;
  bottom: -160px;

  width: 510px;
  height: 510px;

  border: 1px solid rgba(255,255,255,0.28);

  border-radius: 50%;

  z-index: 0;
}

.sun-circle::before,
.sun-circle::after {
  content: '';

  position: absolute;

  inset: 42px;

  border: 1px solid rgba(255,255,255,0.2);

  border-radius: 50%;
}

.sun-circle::after {
  inset: 88px;
}

.sun-circle span {
  position: absolute;

  width: 1px;
  height: 100%;

  left: 50%;
  top: 0;

  background: rgba(255,255,255,0.25);

  transform-origin: center;
}

.sun-circle span:nth-child(1) {
  transform: rotate(0deg);
}

.sun-circle span:nth-child(2) {
  transform: rotate(30deg);
}

.sun-circle span:nth-child(3) {
  transform: rotate(60deg);
}

.sun-circle span:nth-child(4) {
  transform: rotate(90deg);
}

.sun-circle span:nth-child(5) {
  transform: rotate(120deg);
}

.sun-circle span:nth-child(6) {
  transform: rotate(150deg);
}

.sun-circle span:nth-child(7) {
  transform: rotate(180deg);
}

.sun-circle span:nth-child(8) {
  transform: rotate(210deg);
}

.sun-circle span:nth-child(9) {
  transform: rotate(240deg);
}

.sun-circle span:nth-child(10) {
  transform: rotate(270deg);
}

.sun-circle span:nth-child(11) {
  transform: rotate(300deg);
}

.sun-circle span:nth-child(12) {
  transform: rotate(330deg);
}


/* Brand */

.brand-top {
  position: relative;

  z-index: 2;

  display: flex;

  align-items: center;

  gap: 14px;
}

.brand-logo {
  width: 44px;
  height: 44px;

  flex-shrink: 0;

  border-radius: 50%;

  background: white;

  padding: 3px;

  display: flex;

  align-items: center;

  justify-content: center;
}

.brand-logo img {
  width: 100%;
  height: 100%;

  border-radius: 50%;

  object-fit: cover;
}

.brand-name {
  font-family: var(--display);

  font-weight: 600;

  font-size: 19px;

  letter-spacing: 0.01em;
}

.brand-name span {
  display: block;

  margin-top: 2px;

  font-family: var(--body);

  font-weight: 500;

  font-size: 11px;

  letter-spacing: 0.14em;

  text-transform: uppercase;

  opacity: 0.78;
}


/* Left content */

.brand-content {
  position: relative;

  z-index: 2;

  max-width: 470px;
}

.eyebrow {
  font-family: var(--mono);

  font-size: 11px;

  letter-spacing: 0.15em;

  text-transform: uppercase;

  opacity: 0.85;

  display: flex;

  align-items: center;

  gap: 10px;

  margin-bottom: 21px;
}

.eyebrow::before {
  content: '';

  width: 22px;
  height: 1px;

  background: rgba(255,255,255,0.6);
}

.brand-content h1 {
  font-family: var(--display);

  font-weight: 600;

  font-size: clamp(34px, 3.6vw, 48px);

  line-height: 1.08;

  letter-spacing: -0.01em;
}

.brand-content h1 em {
  font-style: italic;

  font-weight: 500;

  opacity: 0.92;
}

.brand-content p {
  margin-top: 18px;

  max-width: 410px;

  font-size: 14px;

  line-height: 1.65;

  opacity: 0.88;
}


/* Left footer */

.brand-footer {
  position: relative;

  z-index: 2;

  display: flex;

  gap: 30px;

  font-family: var(--mono);

  font-size: 10px;

  letter-spacing: 0.03em;

  opacity: 0.85;
}

.brand-footer div {
  display: flex;

  align-items: center;

  gap: 7px;
}

.footer-dot {
  width: 6px;
  height: 6px;

  border-radius: 50%;

  background: white;
}


/* =====================================================
   RIGHT
===================================================== */

.login-form-side {
  position: relative;

  min-height: 100vh;

  background: var(--white);

  display: flex;

  align-items: center;

  justify-content: center;

  padding: 45px 64px;
}

.form-wrap {
  width: 100%;

  max-width: 400px;
}


/* Heading */

.form-heading {
  display: flex;

  align-items: center;

  gap: 10px;

  margin-bottom: 19px;

  color: var(--orange-core);

  font-family: var(--mono);

  font-size: 10px;

  letter-spacing: 0.14em;

  text-transform: uppercase;
}

.heading-line {
  width: 22px;
  height: 1px;

  background: var(--orange-core);
}

.form-wrap h2 {
  font-family: var(--display);

  font-weight: 600;

  font-size: 32px;

  color: var(--ink);

  letter-spacing: -0.01em;
}

.form-description {
  margin-top: 8px;

  margin-bottom: 34px;

  color: var(--ink-soft);

  font-size: 13.5px;

  line-height: 1.6;
}


/* =====================================================
   FORM
===================================================== */

.field {
  position: relative;

  margin-bottom: 27px;
}

.field label {
  display: block;

  margin-bottom: 9px;

  color: var(--ink);

  font-size: 12px;

  font-weight: 700;

  letter-spacing: 0.03em;
}

.field input {
  width: 100%;

  border: none;

  border-bottom: 1.5px solid var(--line);

  background: transparent;

  padding: 9px 2px 12px;

  outline: none;

  font-family: var(--body);

  font-size: 14.5px;

  color: var(--ink);

  transition: border-color 0.25s ease;
}

.field input::placeholder {
  color: #b7a99e;
}

.field input:focus {
  border-bottom-color: var(--orange-core);
}

.input-line {
  position: absolute;

  left: 0;
  bottom: 0;

  width: 0;
  height: 1.5px;

  background: var(--orange-core);

  transition: width 0.3s ease;
}

.field input:focus ~ .input-line {
  width: 100%;
}


/* =====================================================
   BUTTON
===================================================== */

.login-submit {
  width: 100%;

  border: none;

  cursor: pointer;

  background: var(--ink);

  color: var(--white);

  font-family: var(--body);

  font-weight: 700;

  font-size: 13.5px;

  letter-spacing: 0.01em;

  padding: 16px 21px;

  border-radius: 999px;

  display: flex;

  align-items: center;

  justify-content: center;

  gap: 10px;

  transition:
    background 0.25s ease,
    transform 0.18s ease;
}

.login-submit:hover {
  background: var(--orange-deep);
}

.login-submit:active {
  transform: scale(0.98);
}

.login-submit:disabled {
  opacity: 0.6;

  cursor: not-allowed;
}

.login-submit svg {
  width: 16px;
  height: 16px;

  transition: transform 0.25s ease;
}

.login-submit:hover svg {
  transform: translateX(3px);
}


/* =====================================================
   MESSAGE
===================================================== */

.login-message {
  margin-top: -7px;

  margin-bottom: 16px;

  padding: 9px 11px;

  border-radius: 7px;

  font-size: 11px;

  line-height: 1.5;
}

.login-message.success {
  background: #effaf3;

  color: #18864b;
}

.login-message.error {
  background: #fff1ed;

  color: #c53d1c;
}


/* =====================================================
   HELP
===================================================== */

.help-text {
  margin-top: 23px;

  color: var(--ink-soft);

  font-size: 11.5px;

  line-height: 1.6;
}


/* =====================================================
   OTP
===================================================== */

.back-button {
  display: inline-flex;

  align-items: center;

  gap: 6px;

  margin-bottom: 23px;

  border: none;

  background: transparent;

  cursor: pointer;

  color: var(--ink-soft);

  font-family: var(--mono);

  font-size: 10px;

  letter-spacing: 0.05em;
}

.back-button:hover {
  color: var(--orange-deep);
}

.email-preview {
  margin-bottom: 25px;

  padding: 11px 13px;

  border-left: 2px solid var(--orange-core);

  background: var(--cream);

  color: var(--orange-deep);

  font-family: var(--mono);

  font-size: 11px;
}

.otp-container {
  margin-bottom: 24px;
}

.otp-container label {
  display: block;

  margin-bottom: 9px;

  color: var(--ink);

  font-size: 12px;

  font-weight: 700;
}

.otp-container input {
  width: 100%;

  padding: 14px 10px;

  border: 1.5px solid var(--line);

  border-radius: 11px;

  background: var(--cream);

  outline: none;

  text-align: center;

  font-family: var(--mono);

  font-size: 22px;

  letter-spacing: 8px;

  color: var(--ink);

  transition:
    border-color 0.2s ease,
    background 0.2s ease;
}

.otp-container input:focus {
  border-color: var(--orange-core);

  background: white;
}

.otp-note {
  margin-top: 20px;

  text-align: center;

  color: var(--ink-soft);

  font-size: 11px;
}


/* =====================================================
   FOOTER
===================================================== */

.form-footer {
  position: absolute;

  left: 64px;
  right: 64px;

  bottom: 18px;

  display: flex;

  justify-content: space-between;

  color: #b5a9a0;

  font-family: var(--mono);

  font-size: 9px;
}


/* =====================================================
   TABLET
===================================================== */

@media (max-width: 950px) {

  .login-page {
    grid-template-columns: 1fr;
  }

  .login-brand {
    min-height: 330px;

    padding: 38px 34px;
  }

  .brand-content h1 {
    font-size: 32px;
  }

  .brand-content p {
    font-size: 13px;
  }

  .brand-footer {
    display: none;
  }

  .sun-circle {
    width: 330px;
    height: 330px;

    right: -110px;
    bottom: -110px;
  }

  .login-form-side {
    min-height: 520px;

    padding: 40px 30px 65px;
  }

  .form-footer {
    left: 30px;
    right: 30px;
  }
}


/* =====================================================
   MOBILE
===================================================== */

@media (max-width: 600px) {

  .login-page {
    min-height: 100dvh;

    display: block;

    overflow: visible;
  }

  .login-brand {
    min-height: 285px;

    padding: 27px 20px 30px;

    justify-content: space-between;
  }

  .brand-logo {
    width: 38px;
    height: 38px;
  }

  .brand-name {
    font-size: 16px;
  }

  .brand-name span {
    font-size: 9px;
  }

  .brand-content {
    max-width: 100%;
  }

  .eyebrow {
    margin-bottom: 13px;

    font-size: 8.5px;
  }

  .brand-content h1 {
    font-size: 27px;

    line-height: 1.08;
  }

  .brand-content p {
    margin-top: 10px;

    font-size: 11px;

    line-height: 1.55;

    max-width: 340px;
  }

  .sun-circle {
    width: 250px;
    height: 250px;

    right: -95px;
    bottom: -95px;
  }

  .login-form-side {
    min-height: calc(100dvh - 285px);

    padding: 35px 20px 60px;

    display: flex;

    align-items: flex-start;
  }

  .form-wrap {
    max-width: 100%;
  }

  .form-heading {
    margin-bottom: 16px;

    font-size: 9px;
  }

  .form-wrap h2 {
    font-size: 29px;
  }

  .form-description {
    margin-bottom: 28px;

    font-size: 12px;
  }

  .field {
    margin-bottom: 23px;
  }

  .field label {
    font-size: 11px;
  }

  .field input {
    padding: 8px 2px 11px;

    font-size: 13px;
  }

  .login-submit {
    padding: 14px 18px;

    font-size: 12px;
  }

  .help-text {
    font-size: 10.5px;

    margin-top: 18px;
  }

  .form-footer {
    left: 20px;
    right: 20px;

    bottom: 17px;

    font-size: 8px;
  }

  .otp-container input {
    font-size: 20px;

    letter-spacing: 6px;
  }
}


/* =====================================================
   VERY SMALL MOBILE
===================================================== */

@media (max-width: 380px) {

  .login-brand {
    min-height: 260px;

    padding: 23px 17px 25px;
  }

  .brand-content h1 {
    font-size: 24px;
  }

  .brand-content p {
    font-size: 10px;
  }

  .login-form-side {
    min-height: calc(100dvh - 260px);

    padding:
      29px 17px 55px;
  }

  .form-wrap h2 {
    font-size: 26px;
  }

  .form-description {
    font-size: 11px;
  }
}
