/* =========================================================
   REGISTER LAYOUT
========================================================= */

.register-layout {
  max-width: 1450px;
  margin: auto;
  padding: 28px 25px 80px;
  display: grid;
  grid-template-columns:
    220px minmax(510px, 1038px);
  justify-content: center;
  align-items: start;
  gap: 26px;
}



/* =========================================================
   PAGE
========================================================= */

.register-page {
  position: relative;
  width: fit-content;
  margin: auto;
  min-width: 0;
}



/* =========================================================
   CARD
========================================================= */

.register-card {
  width: 100%;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: #ffffff;
  box-shadow:
    0 8px 30px rgba(30, 25, 55, .025);
}



/* =========================================================
   PANEL
========================================================= */

.register-panel {
  width: 100%;
  padding: 42px 35px 46px;
  display: flex;
  justify-content: center;
}



/* =========================================================
   CONTENT
========================================================= */

.register-panel-content {
  width: 100%;
  max-width: 720px;
  min-width: 450px;
}



/* =========================================================
   HEADER
========================================================= */

.register-header {
  margin-bottom: 30px;
}



.register-header>span {
  color: var(--purple);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1.6px;
}



.register-header h1 {
  margin-top: 5px;
  color: var(--text);
  font-size: 27px;
  font-weight: 500;
  letter-spacing: -1.1px;
}



.register-header p {
  max-width: 460px;
  margin-top: 7px;
  color: var(--secondary);
  font-size: 11px;
  line-height: 1.65;
}



/* =========================================================
   FORM
========================================================= */

.register-form {
  width: 100%;
}



/* =========================================================
   AVATAR
========================================================= */

.register-avatar-section {
  min-height: 88px;
  display: flex;
  align-items: center;
  gap: 15px;
}



.register-avatar {
  position: relative;
  width: 74px;
  height: 74px;
  flex: 0 0 auto;
  cursor: pointer;
}



.register-avatar>input {
  display: none;
}



.register-avatar-placeholder {
  width: 74px;
  height: 74px;
  border: 1px solid #e1e0e6;
  border-radius: 50%;
  background:
    linear-gradient(135deg,
      #f0edff,
      #f7e7ed);
  color: #887abf;
  display: flex;
  align-items: center;
  justify-content: center;
}



.register-avatar-placeholder svg {
  width: 30px;
  height: 30px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.35;
  stroke-linecap: round;
  stroke-linejoin: round;
}



.register-avatar-edit {
  position: absolute;
  right: -2px;
  bottom: -1px;
  width: 27px;
  height: 27px;
  border: 3px solid #ffffff;
  border-radius: 50%;
  background: #18171d;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
}



.register-avatar-edit svg {
  width: 12px;
  height: 12px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}



.register-avatar-info {
  min-width: 0;
  display: flex;
  flex-direction: column;
}



.register-avatar-info strong {
  color: #4e4c54;
  font-size: 11px;
  font-weight: 600;
}



.register-avatar-info span {
  margin-top: 2px;
  color: #77757d;
  font-size: 10px;
}



.register-avatar-info small {
  margin-top: 2px;
  color: #aaa8af;
  font-size: 9px;
}



/* =========================================================
   SEPARATOR
========================================================= */

.register-separator {
  height: 1px;
  margin: 24px 0;
  background: var(--border);
}



/* =========================================================
   SECTION HEADER
========================================================= */

.register-section-header {
  margin-bottom: 17px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
}



.register-section-header>div {
  display: flex;
  flex-direction: column;
}



.register-section-header span {
  color: var(--purple);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1.4px;
}



.register-section-header h2 {
  margin-top: 3px;
  color: #343239;
  font-size: 15px;
  font-weight: 500;
}



.register-section-header>p {
  max-width: 240px;
  color: #85838b;
  font-size: 9px;
  line-height: 1.45;
  text-align: right;
}



/* =========================================================
   GRID
========================================================= */

.register-grid {
  display: grid;
  grid-template-columns:
    repeat(2, minmax(0, 1fr));
  gap: 11px;
}



/* =========================================================
   FIELD
========================================================= */

.register-field {
  margin-bottom: 15px;
}



.register-field>label,
.register-label-row label {
  position: relative;
  display: block;
  margin-bottom: 4px;
  left: 8px;
  color: #56545b;
  font-size: 11px;
  font-weight: 600;
}



/* =========================================================
   LABEL ROW
========================================================= */

.register-label-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}



.register-label-row span {
  margin-right: 8px;
  color: var(--muted);
  font-size: 9px;
}



/* =========================================================
   INPUT
========================================================= */

.register-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;
}



.register-input:focus-within {
  background: white;
  border-color: #d88b94;
  box-shadow: 0 0 0 3px rgba(223, 137, 144, 15%);
}



.register-input svg {
  width: 16px;
  height: 16px;
  margin-right: 10px;
  flex: 0 0 auto;
  fill: none;
  stroke: #aaa9b1;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}



.register-input input {
  width: 100%;
  min-width: 0;
  height: 42px;
  padding: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: #37353c;
  font-size: 11px;
}



.register-input input::placeholder {
  color: #aaa9b1;
}



/* =========================================================
   @
========================================================= */

.register-at {
  margin-right: 4px;
  color: #9d9ba4;
  font-size: 15px;
}



/* =========================================================
   TEXTAREA
========================================================= */

.register-textarea {
  border: 1px solid #dfdfe5;
  border-radius: 11px;
  background: #f8f8fa;
  transition:
    border-color .18s ease,
    background .18s ease,
    box-shadow .18s ease;
}



.register-textarea:focus-within {
  border-color: #c5bdf0;
  background: #ffffff;
  box-shadow:
    0 0 0 3px rgba(112, 89, 238, .06);
}



.register-textarea textarea {
  width: 100%;
  min-height: 88px;
  padding: 13px;
  border: 0;
  outline: 0;
  background: transparent;
  resize: vertical;
  color: #37353c;
  font-family: inherit;
  font-size: 11px;
  line-height: 1.55;
}



.register-textarea textarea::placeholder {
  color: #aaa9b1;
}



/* =========================================================
   HELPER
========================================================= */

.register-helper {
  display: block;
  margin-top: 5px;
  margin-left: 3px;
  color: #77757d;
  font-size: 9px;
}



/* =========================================================
   TERMS
========================================================= */

.register-terms {
  position: relative;
  margin-top: 3px;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  cursor: pointer;
  user-select: none;
}



.register-terms>input {
  position: relative;
  pointer-events: none;
}



.register-checkbox {
  position: relative;
  width: 16px;
  height: 16px;
  margin-top: 1px;
  flex: 0 0 auto;
  border: 1px solid #d8d7dd;
  border-radius: 5px;
  background: #ffffff;
  transition: .15s ease;
}



.register-terms>input:checked+.register-checkbox {
  border-color: var(--purple);
  background: var(--purple);
}



.register-terms>input:checked+.register-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);
}



.register-terms-text {
  color: #77757d;
  font-size: 9px;
  line-height: 1.6;
}



.register-terms-text a {
  color: var(--purple);
}



.register-terms-text a:hover {
  text-decoration: underline;
}



/* =========================================================
   SUBMIT
========================================================= */

.register-submit {
  position: relative;
  min-height: 31px;
  width: stretch;
  margin-left: auto;
  margin-top: 12px;
  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;

}


.register-submit:hover {
  background: linear-gradient(145deg, #f4bfc8, #c6d9f4, #f4bfc8);
  background-size: 250% 250%;
  animation: gradient-move 8s ease infinite;
}

.register-submit:active {
  transform: translateY(0);
}

.register-submit svg {
  position: relative;
  margin-right: 8px;
  width: 20px;
  height: 20px;
  stroke: #4d4d4d;
  display: inline-block;
}


/* =========================================================
   LOGIN
========================================================= */

.register-login {
  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;
}



.register-login-icon {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: #f0edff;
  color: var(--purple);
  display: flex;
  align-items: center;
  justify-content: center;
}



.register-login-icon svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}



.register-login-text {
  min-width: 0;
  display: flex;
  flex-direction: column;
}



.register-login-text strong {
  color: #4e4c54;
  font-size: 10px;
  font-weight: 600;
}



.register-login-text span {
  margin-top: 2px;
  color: #99979f;
  font-size: 9px;
  line-height: 1.45;
}



/* =========================================================
   LOGIN BUTTON
========================================================= */

.register-login-button {
  min-height: 35px;
  padding: 0 12px;
  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;
}



.register-login-button:hover {
  border-color: #cbc5e7;
  background: #f8f7fc;
  color: var(--purple);
}



.register-login-button svg {
  width: 13px;
  height: 13px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}



/* =========================================================
   FOOTER
========================================================= */

.register-page-footer {
  min-height: 48px;
  padding: 0 5px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}



.register-page-footer>span,
.register-page-footer a {
  color: #aaa9af;
  font-size: 11px;
}



.register-page-footer>div {
  display: flex;
  align-items: center;
  gap: 18px;
}



.register-page-footer a:hover {
  color: #6f6d75;
}



/* =========================================================
   RESPONSIVE 1250
========================================================= */

@media(max-width: 1250px) {

  .register-layout {
    grid-template-columns:
      205px minmax(500px, 1fr);
  }

}



/* =========================================================
   RESPONSIVE 930
========================================================= */

@media(max-width: 930px) {

  .register-layout {
    grid-template-columns:
      minmax(0, 800px);
  }


  .register-layout>.left-column {
    display: none;
  }

}



/* =========================================================
   RESPONSIVE 700
========================================================= */

@media(max-width: 700px) {

  .register-layout {
    padding:
      18px 10px 50px;
  }


  .register-panel {
    padding:
      30px 25px 35px;
  }


  .register-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }


  .register-section-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }


  .register-section-header>p {
    max-width: 100%;
    text-align: left;
  }

}



/* =========================================================
   RESPONSIVE 480
========================================================= */

@media(max-width: 480px) {

  .register-panel {
    padding:
      27px 17px 30px;
  }


  .register-header h1 {
    font-size: 23px;
  }


  .register-avatar-section {
    align-items: center;
  }


  .register-login {
    grid-template-columns:
      38px minmax(0, 1fr);
  }


  .register-login-button {
    grid-column: 1 / -1;
    width: 100%;
    margin-top: 3px;
  }


  .register-page-footer {
    flex-direction: column;
    justify-content: center;
    padding: 13px 5px;
    gap: 7px;
  }

}