/* =========================================================
   LOGIN LAYOUT
========================================================= */

.login-layout {
  max-width: 1450px;
  margin: auto;
  padding: 28px 25px 80px;
  display: grid;
  /*
        FEED ORIGINAL:

        220px + 26px + 720px + 26px + 292px

        Aqui juntamos feed + coluna direita:
        720 + 26 + 292 = 1038px
    */

  grid-template-columns:
    220px minmax(510px, 1038px);
  justify-content: center;
  align-items: start;
  gap: 26px;
}



/* =========================================================
   PAGE
========================================================= */

.login-page {
  position: relative;
  margin: auto;
  max-width: max-content;
  min-width: 0;
}



/* =========================================================
   CARD
========================================================= */

.login-card {
  position: relative;
  margin: auto;
  width: fit-content;
  min-height: 610px;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: #ffffff;
  box-shadow: 0 8px 30px rgba(30, 25, 55, .025);
}



/* =========================================================
   SHOWCASE
========================================================= */

.login-showcase {
  position: relative;
  min-width: 0;
  min-height: 610px;
  overflow: hidden;
  padding: 37px 35px 30px;
  background:
    radial-gradient(circle at 90% 8%,
      rgba(255, 255, 255, .17),
      transparent 28%),
    linear-gradient(150deg,
      #19181d 0%,
      #272431 55%,
      #453c69 100%);
  color: #ffffff;
  display: flex;
  flex-direction: column;
}



/* =========================================================
   SHOWCASE CONTENT
========================================================= */

.login-showcase-content {
  position: relative;
  z-index: 5;
}



.login-showcase-label {
  color: #c8c4d0;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 2px;
}



.login-showcase h1 {
  margin-top: 43px;
  font-size: clamp(37px, 4vw, 48px);
  font-weight: 400;
  line-height: 1.04;
  letter-spacing: -2.2px;
}



.login-showcase h1 strong {
  font-weight: 500;
  background:
    linear-gradient(135deg,
      #f08e98,
      #94b7dc);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}



.login-showcase-content p {
  max-width: 280px;
  margin-top: 22px;
  color: #aaa7b1;
  font-size: 11px;
  line-height: 1.75;
}



/* =========================================================
   DECORATIVE ART
========================================================= */

.login-art {
  position: absolute;
  inset: 0;
  pointer-events: none;
}



.login-art-circle {
  position: absolute;
  width: 210px;
  height: 210px;
  right: -73px;
  bottom: 74px;
  border-radius: 50%;
  background:
    linear-gradient(135deg,
      #e98689,
      #c8759b);
  opacity: .94;
}



.login-art-square {
  position: absolute;
  width: 150px;
  height: 150px;
  right: 78px;
  bottom: -65px;
  border-radius: 43px;
  background:
    linear-gradient(135deg,
      #84a3c7,
      #7068b5);
  transform:
    rotate(22deg);
}



.login-art-outline {
  position: absolute;
  width: 108px;
  height: 108px;
  right: 27px;
  bottom: 178px;
  border:
    1px solid rgba(255, 255, 255, .18);
  border-radius: 50%;
}



.login-art-small {
  position: absolute;
  width: 27px;
  height: 27px;
  left: 55px;
  bottom: 135px;
  border-radius: 50%;
  background: #ffffff;
  opacity: .88;
}



.login-art-dot {
  position: absolute;
  border-radius: 50%;
  background:
    rgba(255, 255, 255, .35);
}



.login-art-dot-1 {
  width: 6px;
  height: 6px;
  left: 58px;
  bottom: 200px;
}



.login-art-dot-2 {
  width: 4px;
  height: 4px;
  left: 98px;
  bottom: 175px;
}



.login-art-dot-3 {
  width: 8px;
  height: 8px;
  left: 118px;
  bottom: 225px;
}



/* =========================================================
   SHOWCASE FOOTER
========================================================= */

.login-showcase-footer {
  position: relative;
  z-index: 5;
  margin-top: auto;
  padding-top: 20px;
  border-top:
    1px solid rgba(255, 255, 255, .11);
  display: grid;
  grid-template-columns:
    repeat(3, 1fr);
  gap: 12px;
}



.login-showcase-footer div {
  min-width: 0;
  display: flex;
  flex-direction: column;
}



.login-showcase-footer strong {
  color: #ffffff;
  font-size: 10px;
  font-weight: 500;
}



.login-showcase-footer span {
  margin-top: 3px;
  color: #8e8a97;
  font-size: 8px;
  line-height: 1.4;
}



/* =========================================================
   LOGIN PANEL
========================================================= */

.login-panel {
  min-width: 0;
  padding: 60px 35px;
}



.login-panel-content {
  width: 100%;
  max-width: 440px;
}



/* =========================================================
   HEADER
========================================================= */

.login-header {
  margin-bottom: 31px;
}



.login-header>span {
  color: var(--purple);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1.6px;
}



.login-header h2 {
  margin-top: 5px;
  color: var(--text);
  font-size: 27px;
  font-weight: 500;
  letter-spacing: -1.1px;
}



.login-header p {
  max-width: 410px;
  margin-top: 7px;
  color: var(--secondary);
  font-size: 11px;
  line-height: 1.65;
}



/* =========================================================
   FORM
========================================================= */

.login-form {
  width: 100%;
}



.login-field {
  margin-bottom: 16px;
}



.login-field>label,
.login-label-row label {
  display: block;
  margin-bottom: 6px;
  color: #55535b;
  font-size: 11px;
  font-weight: 600;
}



/* =========================================================
   LABEL ROW
========================================================= */

.login-label-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
}



.login-label-row a {
  margin-bottom: 6px;
  color: var(--purple);
  font-size: 10px;
}



.login-label-row a:hover {
  text-decoration: underline;
}



/* =========================================================
   INPUT
========================================================= */

.login-input {
  position: relative;
  min-height: 44px;
  padding: 0 13px;
  border:
    1px solid #dfdfe5;
  border-radius: 11px;
  background: #f8f8fa;
  display: flex;
  align-items: center;
  transition:
    background .18s ease,
    border-color .18s ease,
    box-shadow .18s ease;
}

.login-input:focus-within {
  background: white;
  border-color: #d88b94;
  box-shadow: 0 0 0 3px rgba(223, 137, 144, 15%);
}

.login-input svg {
  width: 17px;
  height: 17px;
  margin-right: 10px;
  flex: 0 0 auto;
  fill: none;
  stroke: #aaa9b1;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.login-input input {
  width: 100%;
  min-width: 0;
  height: 42px;
  padding: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--text);
  font-size: 11px;
}

.login-input input::placeholder {
  color: #aaa9b0;
}



/* =========================================================
   OPTIONS
========================================================= */

.login-options {
  min-height: 30px;
  margin-top: -3px;
  margin-bottom: 13px;
  display: flex;
  align-items: center;
}



/* =========================================================
   REMEMBER
========================================================= */

.login-remember {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  cursor: pointer;
  user-select: none;
}

.login-remember input {
  position: relative;
  top: -2px;
  pointer-events: none;
}

.login-checkbox {
  position: relative;
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
  border:
    1px solid #d8d7dd;
  border-radius: 5px;
  background: #ffffff;
  transition: .15s ease;
}

.login-remember input:checked+.login-checkbox {
  border-color: var(--purple);
  background: var(--purple);
}

.login-remember input:checked+.login-checkbox::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 2px;
  width: 4px;
  height: 7px;
  border-right:
    1.5px solid #ffffff;
  border-bottom:
    1.5px solid #ffffff;
  transform:
    rotate(45deg);
}

.login-remember small {
  color: #77757d;
  font-size: 10px;
}

/* =========================================================
   SUBMIT
========================================================= */

.login-submit {
  position: relative;
  min-height: 31px;
  width: stretch;
  margin-left: auto;
  padding: 13px 13px;
  border-radius: 9px;
  background: #f4f4f4;
  color: #4d4d4d;
  align-items: center;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  transition: .18s ease;

}


.login-submit:hover {
  background: linear-gradient(145deg, #f4bfc8, #c6d9f4, #f4bfc8);
  background-size: 250% 250%;
  animation: gradient-move 8s ease infinite;
}

.login-submit:active {
  transform: translateY(0);
}

.login-submit svg {
  position: relative;
  margin-right: 8px;
  width: 20px;
  height: 20px;
  stroke: #4d4d4d;
  display: inline-block;
}


/* =========================================================
   REGISTER
========================================================= */

.login-register {
  margin-top: 28px;
  padding-top: 23px;
  border-top:
    1px solid var(--border);
  display: grid;
  grid-template-columns:
    38px minmax(0, 1fr) auto;
  align-items: center;
  gap: 11px;
}



.login-register-icon {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: #f0edff;
  color: var(--purple);
  display: flex;
  align-items: center;
  justify-content: center;
}



.login-register-icon svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}



.login-register-text {
  min-width: 0;
  display: flex;
  flex-direction: column;
}



.login-register-text strong {
  color: #4e4c54;
  font-size: 10px;
  font-weight: 600;
}



.login-register-text span {
  margin-top: 2px;
  color: #99979f;
  font-size: 9px;
  line-height: 1.45;
}



/* =========================================================
   REGISTER BUTTON
========================================================= */

.login-register-button {
  min-height: 35px;
  padding: 0 12px;
  flex: 0 0 auto;
  border:
    1px solid var(--border);
  border-radius: 10px;
  background: #ffffff;
  color: #5e5b65;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 10px;
  font-weight: 600;
  white-space: nowrap;
  transition:
    background .18s ease,
    border-color .18s ease,
    color .18s ease;
}



.login-register-button:hover {
  border-color: #cbc5e7;
  background: #f8f7fc;
  color: var(--purple);
}



.login-register-button svg {
  width: 13px;
  height: 13px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}



/* =========================================================
   PAGE FOOTER
========================================================= */

.login-page-footer {
  min-height: 48px;
  padding: 0 5px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}



.login-page-footer>span,
.login-page-footer a {
  color: #aaa9af;
  font-size: 11px;
}



.login-page-footer>div {
  display: flex;
  align-items: center;
  gap: 18px;
}



.login-page-footer a:hover {
  color: #6f6d75;
}



/* =========================================================
   RESPONSIVE
========================================================= */

@media(max-width: 1250px) {

  .login-layout {
    grid-template-columns:
      205px minmax(500px, 1fr);
  }


  .login-card {
    grid-template-columns:
      minmax(250px, 310px) minmax(0, 1fr);
  }


  .login-panel {
    padding:
      42px 38px;
  }


  .login-showcase {
    padding:
      34px 28px 28px;
  }


  .login-showcase-footer {
    grid-template-columns: 1fr;
    gap: 7px;
  }


  .login-showcase-footer span {
    display: none;
  }

}



@media(max-width: 930px) {

  .login-layout {
    grid-template-columns:
      minmax(0, 800px);
  }


  .login-layout>.left-column {
    display: none;
  }

}



@media(max-width: 700px) {

  .login-layout {
    padding:
      18px 10px 50px;
  }


  .login-card {
    min-height: auto;
    grid-template-columns:
      minmax(0, 1fr);
  }


  .login-showcase {
    display: none;
  }


  .login-panel {
    padding:
      35px 25px;
  }


  .login-panel-content {
    max-width: 100%;
  }

}



@media(max-width: 480px) {

  .login-panel {
    padding:
      30px 18px;
  }


  .login-header h2 {
    font-size: 23px;
  }


  .login-register {
    grid-template-columns:
      38px minmax(0, 1fr);
  }


  .login-register-button {
    grid-column:
      1 / -1;
    width: 100%;
    margin-top: 3px;
  }


  .login-page-footer {
    flex-direction: column;
    justify-content: center;
    padding:
      13px 5px;
    gap: 7px;
  }

}