:root {
  --blue:#1769f6;
  --navy:#06143d;
  --muted:#667085;
--line:#dfe5ee}

* {
box-sizing:border-box}

@font-face {
    font-family: "Alexandria";
    src: url("../fonts/Alexandria-Regular.ttf") format("truetype");
    font-weight: 400;
    font-style: normal;
}
body {
  margin:0;
  font-family:"Alexandria";
  background:#f5f8fc;
color:var(--navy)}

.signup-page {
  min-height:100vh;
  display:grid;
  place-items:center;
padding:28px}

.signup-shell {
  width:min(1040px,100%);
  min-height:680px;
  background:#fff;
  border-radius:20px;
  box-shadow:0 24px 70px rgba(13,45,87,.14);
  overflow:hidden;
  display:grid;
  grid-template-columns:38% 62%;
direction:ltr}

.visual-panel {
  position:relative;
  background:url("../img/hero-villa.jpg") center/cover no-repeat;
  min-height:680px;
color:#fff}

.visual-overlay {
  position:absolute;
  inset:0;
background:linear-gradient(180deg,rgba(3,23,58,.05) 12%,rgba(2,17,48,.88) 100%)}

.brand {
  position:absolute;
  z-index:2;
  top:25px;
  left:25px;
  display:flex;
  align-items:center;
  gap:9px;
  color:#fff;
  text-decoration:none;
font-size:20px}

.brand-mark {
  width:38px;
  height:38px;
  border-radius:11px;
  background:#fff;
  color:var(--blue);
  display:grid;
place-items:center}

.visual-content {
  position:absolute;
  z-index:2;
  left:32px;
  right:32px;
bottom:42px}

.visual-content h2 {
  font-size:29px;
  font-weight:800;
  line-height:1.5;
margin-bottom:30px}

.visual-content ul {
  list-style:none;
  padding:0;
margin:0}

.visual-content li {
  display:flex;
  align-items:center;
  gap:11px;
  margin:14px 0;
font-size:15px}

.visual-content i {
color:#70a6ff}

.form-panel {
  position:relative;
  direction:rtl;
padding:24px 58px 38px}

.form-top {
  display:flex;
  justify-content:space-between;
align-items:center}

.back-link {
  color:#667085;
  text-decoration:none;
  font-size:13px;
  display:flex;
  align-items:center;
gap:7px}

.language-switch {
  display:flex;
  background:#eef4ff;
  border-radius:8px;
padding:3px}

.language-switch button {
  border:0;
  background:transparent;
  border-radius:6px;
  padding:6px 10px;
  color:#667085;
font-size:12px}

.language-switch button.active {
  background:#fff;
  color:var(--blue);
box-shadow:0 2px 7px rgba(20,60,120,.12)}

.form-wrap {
  max-width:510px;
margin:18px auto 0}

.form-wrap h1 {
  font-size:30px;
  font-weight:800;
margin:0 0 5px}

.subtitle {
  color:#5e6a7e;
  font-size:13px;
margin:0 0 20px}

.field-group {
margin-bottom:13px}

.field-group label {
  display:block;
  font-size:13px;
  font-weight:700;
margin-bottom:6px}

.input-wrap,.phone-wrap {
  height:46px;
  border:1px solid var(--line);
  border-radius:8px;
  display:flex;
  align-items:center;
  background:#fff;
transition:.2s}

.input-wrap:focus-within,.phone-wrap:focus-within {
  border-color:var(--blue);
box-shadow:0 0 0 3px rgba(23,105,246,.1)}

.input-wrap>i {
  width:43px;
  text-align:center;
color:#344054}

.input-wrap input,.phone-wrap input {
  height:100%;
  width:100%;
  border:0;
  outline:0;
  background:transparent;
  padding:0 12px;
  color:#17213a;
  font-family:inherit;
font-size:13px}

.password-toggle {
  border:0;
  background:transparent;
  width:43px;
color:#344054}

.country-code {
  height:100%;
  display:flex;
  align-items:center;
  gap:6px;
  padding:0 12px;
  border-left:1px solid var(--line);
  direction:ltr;
font-size:12px}

.terms-check {
  display:flex;
  align-items:center;
  gap:9px;
  font-size:12px;
  color:#536074;
margin:6px 0 14px}

.terms-check input {
  width:17px;
  height:17px;
accent-color:var(--blue)}

.terms-check a,.login-line a {
  color:var(--blue);
  font-weight:700;
text-decoration:none}

.submit-btn {
  width:100%;
  height:47px;
  border:0;
  border-radius:8px;
  background:linear-gradient(90deg,#3479fb,#1359ed);
  color:#fff;
  font-family:inherit;
  font-weight:700;
box-shadow:0 9px 20px rgba(23,105,246,.22)}

.submit-btn:hover {
filter:brightness(.97)}

.login-line {
  text-align:center;
  color:#657187;
  font-size:12px;
margin:14px 0 0}

.form-message {
  display:none;
  padding:8px 10px;
  border-radius:7px;
  font-size:12px;
margin-bottom:10px}

.form-message.error {
  display:block;
  background:#fff1f2;
color:#be123c}

.form-message.success {
  display:block;
  background:#ecfdf3;
color:#087443}

html[dir="ltr"] .form-panel {
direction:ltr}

html[dir="ltr"] .back-link i {
transform:rotate(180deg)}

html[dir="ltr"] .country-code {
  border-left:0;
border-right:1px solid var(--line)}

@media(max-width:767px) {
  .signup-page {
    padding:0;
    background:#fff;
  display:block}

  .signup-shell {
    display:flex;
    flex-direction:column;
    border-radius:0;
    box-shadow:none;
  min-height:100vh}

  .visual-panel {
    min-height:220px;
  order:0}

  .brand {
    top:18px;
  left:18px}

  .visual-content {
    bottom:18px;
    left:20px;
  right:20px}

  .visual-content h2 {
    font-size:23px;
  margin:0}

  .visual-content ul {
  display:none}

  .form-panel {
    order:1;
  padding:20px 22px 30px}

  .form-wrap {
  margin-top:14px}

  .form-wrap h1 {
  font-size:26px}

  .form-top {
    position:absolute;
    top:-205px;
    right:18px;
  left:18px}

  .back-link {
  color:#fff}

  .language-switch {
  background:rgba(255,255,255,.18)}

  .language-switch button {
  color:#fff}

  .language-switch button.active {
  color:var(--blue)}

}