/* =========================================
   RESET
========================================= */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

body {
  font-family: "Manrope", sans-serif;
  background:
    radial-gradient(circle at top left,
    rgba(236,182,197,0.35),
    transparent 32%),

    radial-gradient(circle at bottom right,
    rgba(236,182,197,0.28),
    transparent 32%),

    linear-gradient(
      135deg,
      #fff7f8 0%,
      #fdecef 100%
    );

  color: #171717;
}

/* =========================================
   LOGIN PAGE
========================================= */

.login-page {
  position: relative;

  width: 100%;
  min-height: 100dvh;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  padding: 42px 20px 20px;

  overflow: hidden;
}

/* =========================================
   BACK BUTTON
========================================= */

.back-btn {
  position: fixed;

  top: 22px;
  left: 24px;

  width: 46px;
  height: 46px;

  border-radius: 50%;

  background: rgba(255,255,255,0.72);

  border: 1px solid rgba(222,131,157,0.22);

  color: #c97484;

  display: flex;
  align-items: center;
  justify-content: center;

  text-decoration: none;

  backdrop-filter: blur(16px);

  box-shadow:
    0 10px 30px rgba(220,115,141,0.12);

  z-index: 100;

  transition: 0.3s ease;
}

.back-btn:hover {
  transform: translateX(-3px);
  background: #fff;
}

/* =========================================
   BACKGROUND SHAPES
========================================= */

.soft-shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(55px);
  opacity: 0.42;
  z-index: 1;
}

.soft-shape-left {
  width: 340px;
  height: 340px;

  background: #f4ccd7;

  left: -120px;
  bottom: -120px;
}

.soft-shape-right {
  width: 320px;
  height: 320px;

  background: #f8d9e2;

  right: -120px;
  top: -120px;
}

.gold-curve {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(213,162,93,0.28);

  z-index: 1;
}

.gold-curve-left {
  width: 620px;
  height: 620px;

  left: -430px;
  bottom: -390px;
}

.gold-curve-right {
  width: 620px;
  height: 620px;

  right: -430px;
  top: -390px;
}

.bg-leaf {
  position: absolute;

  display: flex;
  flex-direction: column;
  gap: 10px;

  opacity: 0.5;

  z-index: 1;
}

.bg-leaf span {
  width: 42px;
  height: 18px;

  border-radius: 100px 0;

  border: 1px solid rgba(213,162,93,0.35);

  transform: rotate(-28deg);
}

.bg-leaf-left {
  top: 70px;
  left: 48px;
}

.bg-leaf-right {
  right: 48px;
  bottom: 70px;
}

/* =========================================
   LOGIN CARD
========================================= */

.login-card {
  position: relative;
  z-index: 10;

  width: 100%;
  max-width: 560px;

  background: rgba(255,255,255,0.82);

  border: 1px solid rgba(255,255,255,0.8);

  backdrop-filter: blur(20px);

  border-radius: 30px;

  padding: 36px 48px 34px;

  box-shadow:
    0 24px 70px rgba(226,173,188,0.16),
    0 10px 30px rgba(0,0,0,0.04);

  animation: cardEntrance 0.8s cubic-bezier(.18,.89,.32,1.15);
}

@keyframes cardEntrance {
  0% {
    opacity: 0;
    transform: translateY(45px) scale(0.97);
    filter: blur(8px);
  }

  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
}

/* =========================================
   BRANDING
========================================= */

.brand-icon {
  display: flex;
  justify-content: center;

  margin-bottom: 10px;
}

.brand-icon i {
  color: #d5a25d;
  font-size: 17px;
}

.auth-brand {
  display: block;
  text-align: center;
  text-decoration: none;
}

.auth-brand > span {
  font-family: "Cormorant Garamond", serif;

  font-size: clamp(34px, 4vw, 46px);

  text-transform: uppercase;

  letter-spacing: 9px;

  color: #171717;

  line-height: 1;
}

.brand-subtitle {
  margin-top: 11px;

  display: flex;
  align-items: center;
  justify-content: center;

  gap: 10px;
}

.brand-subtitle span {
  width: 56px;
  height: 1px;

  background:
    linear-gradient(
      90deg,
      transparent,
      #d5a25d,
      transparent
    );
}

.brand-subtitle small {
  font-size: 9px;

  letter-spacing: 5px;

  text-transform: uppercase;

  color: #de839d;

  font-weight: 700;
}

.small-divider {
  display: flex;
  align-items: center;
  justify-content: center;

  gap: 11px;

  margin: 18px 0 22px;
}

.small-divider span {
  width: 34px;
  height: 1px;

  background: rgba(213,162,93,0.4);
}

.small-divider i {
  font-size: 7px;
  color: #d5a25d;
}

/* =========================================
   HEADING
========================================= */

.login-heading {
  text-align: center;
  margin-bottom: 24px;
}

.login-heading h1 {
  font-family: "Cormorant Garamond", serif;

  font-size: 38px;
  font-weight: 600;

  margin-bottom: 6px;

  color: #171717;
}

.login-heading p {
  font-size: 13px;
  color: #696969;
}

/* =========================================
   FORM
========================================= */

.login-form {
  display: flex;
  flex-direction: column;
}

.input-group {
  position: relative;
  margin-bottom: 14px;
}

.input-group input {
  width: 100%;
  height: 56px;

  border-radius: 18px;

  border: 1px solid rgba(230,178,193,0.58);

  background: rgba(255,255,255,0.75);

  padding: 0 56px;

  outline: none;

  font-size: 14px;
  font-family: inherit;

  transition: 0.3s ease;
}

.input-group input:focus {
  border-color: #de839d;

  box-shadow:
    0 0 0 5px rgba(222,131,157,0.11);
}

.input-group input::placeholder {
  color: #9a9a9a;
}

.input-icon {
  position: absolute;

  left: 20px;
  top: 50%;

  transform: translateY(-50%);

  color: #de839d;

  font-size: 15px;
}

.password-toggle {
  position: absolute;

  right: 18px;
  top: 50%;

  transform: translateY(-50%);

  border: none;
  background: transparent;

  cursor: pointer;

  color: #818181;

  font-size: 16px;
}

/* =========================================
   OPTIONS
========================================= */

.form-options {
  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 12px;

  margin: 4px 0 22px;
}

.remember-box {
  display: flex;
  align-items: center;

  gap: 9px;

  font-size: 13px;
  color: #555;

  cursor: pointer;
}

.remember-box input {
  display: none;
}

.remember-box span {
  width: 18px;
  height: 18px;

  border-radius: 6px;

  border: 1px solid rgba(0,0,0,0.16);

  background: rgba(255,255,255,0.8);

  transition: 0.3s ease;
}

.remember-box input:checked + span {
  background: #de839d;
  border-color: #de839d;
}

.form-options a {
  font-size: 13px;

  text-decoration: none;

  color: #de839d;

  font-weight: 600;
}

/* =========================================
   BUTTON
========================================= */

.login-btn {
  width: 100%;
  height: 58px;

  border: none;
  border-radius: 18px;

  background:
    linear-gradient(
      135deg,
      #f19db5,
      #dc738d
    );

  color: #fff;

  text-transform: uppercase;

  letter-spacing: 4px;

  font-size: 13px;
  font-weight: 700;

  cursor: pointer;

  transition: 0.35s ease;

  box-shadow:
    0 18px 40px rgba(220,115,141,0.24);
}

.login-btn:hover {
  transform: translateY(-3px);

  box-shadow:
    0 24px 48px rgba(220,115,141,0.32);
}

/* =========================================
   DIVIDER
========================================= */

.or-divider {
  display: flex;
  align-items: center;

  gap: 14px;

  margin: 24px 0;
}

.or-divider span {
  flex: 1;
  height: 1px;

  background: rgba(0,0,0,0.08);
}

.or-divider p {
  font-size: 11px;

  text-transform: uppercase;

  letter-spacing: 3px;

  color: #8d8d8d;
}

/* =========================================
   CREATE ACCOUNT
========================================= */

.create-account {
  text-align: center;

  font-size: 14px;

  color: #555;
}

.create-account a {
  text-decoration: none;

  color: #de839d;

  font-weight: 700;
}

/* =========================================
   FOOTER
========================================= */

.login-footer {
  position: relative;
  z-index: 10;

  margin-top: 14px;

  text-align: center;

  color: #8c8c8c;

  font-size: 12px;
}

/* =========================================
   TABLET
========================================= */

@media (max-width: 900px) {

  .login-card {
    max-width: 520px;
    padding: 34px 38px;
  }

  .auth-brand > span {
    font-size: 40px;
    letter-spacing: 8px;
  }

}

/* =========================================
   MOBILE
========================================= */

@media (max-width: 600px) {

  .login-page {
    justify-content: flex-start;

    padding:
      78px
      14px
      18px;
  }

  .back-btn {
    top: 16px;
    left: 16px;

    width: 42px;
    height: 42px;
  }

  .login-card {
    max-width: 390px;

    padding:
      30px
      20px
      24px;

    border-radius: 26px;
  }

  .auth-brand > span {
    font-size: 29px;
    letter-spacing: 5px;
  }

  .brand-subtitle span {
    width: 34px;
  }

  .brand-subtitle small {
    font-size: 8px;
    letter-spacing: 3.5px;
  }

  .login-heading h1 {
    font-size: 33px;
  }

  .login-heading p {
    font-size: 12px;
  }

  .input-group input {
    height: 54px;
    padding: 0 50px;
  }

  .input-icon {
    left: 18px;
  }

  .password-toggle {
    right: 17px;
  }

  .form-options {
    flex-wrap: wrap;
    gap: 10px;
  }

  .remember-box {
    font-size: 12px;
  }

  .form-options a {
    font-size: 12px;
  }

  .login-btn {
    height: 56px;
    font-size: 12px;
    letter-spacing: 3.5px;
  }

  .create-account {
    font-size: 13px;
  }

  .login-footer {
    font-size: 11px;
    line-height: 1.5;
  }

  .bg-leaf-left {
    top: 80px;
    left: -8px;
  }

  .bg-leaf-right {
    right: -8px;
    bottom: 40px;
  }

}