
/* ==========================================================
   AutoMart Premium Register V33.0
   Scoped to .am-register-v33
   Inherits the global AutoMart font stack / typography.
   V32.1 remains the final global width authority.
   No user-facing text below 12px.
   ========================================================== */

.am-register-v33,
.am-register-v33 *{box-sizing:border-box;font-family:inherit}

.am-register-v33{
  position:relative;
  padding:22px 0 30px;
  overflow:hidden;
  color:#122033;
  background:
    radial-gradient(circle at -5% 28%,rgba(12,165,99,.08),transparent 28%),
    radial-gradient(circle at 104% 68%,rgba(12,165,99,.08),transparent 30%),
    linear-gradient(180deg,#f8fbf9 0%,#f2f8f5 100%);
}

.am-register-v33:before,
.am-register-v33:after{
  content:"";
  position:absolute;
  width:360px;
  height:360px;
  border:1px solid rgba(8,151,88,.09);
  border-radius:50%;
  pointer-events:none;
}
.am-register-v33:before{left:-220px;top:90px}
.am-register-v33:after{right:-230px;bottom:10px}

.am-register-v33__shell{
  position:relative;
  z-index:1;
  width:min(960px,calc(100% - 64px));
  margin:0 auto;
  min-height:610px;
  display:grid;
  grid-template-columns:42% 58%;
  overflow:hidden;
  border:1px solid #dbe8e1;
  border-radius:22px;
  background:#fff;
  box-shadow:0 24px 70px rgba(14,55,36,.13);
}

/* LEFT VISUAL */
.am-register-v33__visual{
  position:relative;
  min-width:0;
  overflow:hidden;
  color:#fff;
  background:
    linear-gradient(160deg,rgba(2,31,21,.95),rgba(2,38,26,.78)),
    url("https://images.unsplash.com/photo-1503376780353-7e6692767b70?auto=format&fit=crop&w=1400&q=84") center/cover no-repeat;
}
.am-register-v33__visual:after{
  content:"";
  position:absolute;
  inset:auto -50px -50px auto;
  width:290px;
  height:290px;
  border-radius:50%;
  border:1px solid rgba(255,255,255,.08);
}
.am-register-v33__visual-overlay{
  position:absolute;
  inset:0;
  background:
    linear-gradient(180deg,rgba(0,0,0,.03),rgba(0,0,0,.15)),
    linear-gradient(90deg,rgba(2,39,27,.2),transparent);
}
.am-register-v33__visual-content{
  position:relative;
  z-index:2;
  min-height:100%;
  padding:27px 26px;
  display:flex;
  flex-direction:column;
}
.am-register-v33__brand{
  display:inline-flex;
  align-items:center;
  gap:10px;
  width:max-content;
  color:#fff;
}
.am-register-v33__brandmark{
  width:36px;
  height:36px;
  border-radius:10px;
  display:grid;
  place-items:center;
  background:linear-gradient(135deg,#16bd75,#07864e);
  box-shadow:0 8px 20px rgba(8,183,106,.28);
  font-size:18px;
  font-weight:900;
}
.am-register-v33__brand strong{font-size:17px;color:#fff}

.am-register-v33__visual-copy{margin-top:46px}
.am-register-v33__eyebrow{
  display:inline-block;
  font-size:12px;
  line-height:1.3;
  letter-spacing:.1em;
  font-weight:850;
  color:#84e8b4;
}
.am-register-v33__eyebrow--green{color:#078e53}
.am-register-v33__visual-copy h2{
  margin:10px 0 12px;
  max-width:330px;
  color:#fff;
  font-size:31px;
  line-height:1.03;
  letter-spacing:-.035em;
}
.am-register-v33__visual-copy p{
  margin:0;
  max-width:350px;
  color:#dbe8e2;
  font-size:12px;
  line-height:1.65;
}

.am-register-v33__benefits{
  display:grid;
  gap:8px;
  margin-top:28px;
}
.am-register-v33__benefits>div{
  display:grid;
  grid-template-columns:36px minmax(0,1fr);
  align-items:center;
  gap:9px;
  padding:9px 10px;
  border:1px solid rgba(255,255,255,.11);
  border-radius:11px;
  background:rgba(4,53,36,.42);
  backdrop-filter:blur(8px);
}
.am-register-v33__benefit-icon{
  width:36px;
  height:36px;
  border-radius:9px;
  display:grid;
  place-items:center;
  color:#79e4ad;
  background:rgba(31,202,122,.10);
  border:1px solid rgba(95,231,164,.22);
}
.am-register-v33__benefit-icon svg{
  width:18px;
  height:18px;
  fill:none;
  stroke:currentColor;
  stroke-width:1.8;
  stroke-linecap:round;
  stroke-linejoin:round;
}
.am-register-v33__benefits strong,
.am-register-v33__benefits small{
  display:block;
  color:#fff;
  font-size:12px;
}
.am-register-v33__benefits small{
  margin-top:2px;
  color:#c6d9d0;
  line-height:1.45;
}

.am-register-v33__trust{
  margin-top:auto;
  padding-top:24px;
  display:flex;
  flex-wrap:wrap;
  gap:8px 13px;
  color:#bcd4c9;
  font-size:12px;
}

/* RIGHT PANEL */
.am-register-v33__panel{
  min-width:0;
  background:
    linear-gradient(180deg,#fff 0%,#fff 78%,#fbfdfc 100%);
}
.am-register-v33__panel-inner{
  width:100%;
  padding:30px 31px 26px;
}
.am-register-v33__heading{margin-bottom:18px}
.am-register-v33__heading h1{
  margin:6px 0 5px;
  color:#0e1b2c;
  font-size:31px;
  line-height:1.06;
  letter-spacing:-.035em;
}
.am-register-v33__heading p{
  margin:0;
  color:#748196;
  font-size:12px;
  line-height:1.5;
}

.am-register-v33__error{
  display:grid;
  grid-template-columns:34px 1fr;
  gap:9px;
  align-items:center;
  margin-bottom:12px;
  padding:10px 12px;
  border:1px solid #f0c9cd;
  border-radius:10px;
  color:#842029;
  background:#fff4f5;
}
.am-register-v33__error>span{
  width:30px;
  height:30px;
  border-radius:50%;
  display:grid;
  place-items:center;
  background:#e34a54;
  color:#fff;
  font-size:14px;
  font-weight:900;
}
.am-register-v33__error strong,
.am-register-v33__error small{display:block;font-size:12px}
.am-register-v33__error small{margin-top:2px;color:#9a4d55}

.am-register-v33__form{display:grid;gap:14px}
.am-register-v33__section{
  padding:13px;
  border:1px solid #e2eae6;
  border-radius:13px;
  background:#fff;
}
.am-register-v33__section-head{
  display:grid;
  grid-template-columns:28px 1fr;
  gap:8px;
  align-items:start;
  margin-bottom:11px;
}
.am-register-v33__section-head>span{
  width:28px;
  height:28px;
  border-radius:8px;
  display:grid;
  place-items:center;
  background:#e5f8ef;
  color:#078e53;
  font-size:12px;
  font-weight:900;
}
.am-register-v33__section-head strong,
.am-register-v33__section-head small{
  display:block;
  font-size:12px;
}
.am-register-v33__section-head strong{color:#1b2a3c}
.am-register-v33__section-head small{
  margin-top:2px;
  color:#7b8798;
  line-height:1.45;
}

/* ROLES */
.am-register-v33__roles{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:7px;
}
.am-register-v33__role{cursor:pointer}
.am-register-v33__role input{
  position:absolute;
  opacity:0;
  pointer-events:none;
}
.am-register-v33__role-box{
  position:relative;
  min-height:112px;
  padding:10px;
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  border:1px solid #dfe8e3;
  border-radius:10px;
  background:#fff;
  transition:.18s ease;
}
.am-register-v33__role:hover .am-register-v33__role-box{
  border-color:#b9dfcd;
  transform:translateY(-1px);
}
.am-register-v33__role input:checked + .am-register-v33__role-box{
  border-color:#0aa361;
  background:#f0fbf5;
  box-shadow:0 0 0 2px rgba(10,163,97,.07);
}
.am-register-v33__role-icon{
  width:31px;
  height:31px;
  border-radius:8px;
  display:grid;
  place-items:center;
  margin-bottom:8px;
  color:#078e53;
  background:#e7f8f0;
}
.am-register-v33__role-icon svg{
  width:17px;
  height:17px;
  fill:none;
  stroke:currentColor;
  stroke-width:1.8;
  stroke-linecap:round;
  stroke-linejoin:round;
}
.am-register-v33__role strong,
.am-register-v33__role small{
  display:block;
  font-size:12px;
}
.am-register-v33__role strong{color:#18283a}
.am-register-v33__role small{
  margin-top:3px;
  color:#798698;
  line-height:1.35;
}
.am-register-v33__role i{
  position:absolute;
  top:8px;
  right:8px;
  width:20px;
  height:20px;
  border-radius:50%;
  display:grid;
  place-items:center;
  background:#0aa361;
  color:#fff;
  font-style:normal;
  font-size:12px;
  opacity:0;
  transform:scale(.7);
  transition:.18s ease;
}
.am-register-v33__role input:checked + .am-register-v33__role-box i{
  opacity:1;
  transform:scale(1);
}

/* FIELDS */
.am-register-v33__grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:10px;
}
.am-register-v33__field{
  min-width:0;
  display:grid;
  gap:5px;
}
.am-register-v33__field--full{grid-column:1/-1}
.am-register-v33__field>span:first-child{
  color:#29394d;
  font-size:12px;
  font-weight:800;
}
.am-register-v33__control{
  min-height:42px;
  display:grid;
  grid-template-columns:18px minmax(0,1fr) auto;
  align-items:center;
  gap:8px;
  padding:0 11px;
  border:1px solid #d9e3de;
  border-radius:9px;
  background:#fff;
  transition:.18s ease;
}
.am-register-v33__control:focus-within{
  border-color:#0ba362;
  box-shadow:0 0 0 3px rgba(11,163,98,.08);
}
.am-register-v33__control svg{
  width:17px;
  height:17px;
  fill:none;
  stroke:#78869a;
  stroke-width:1.7;
  stroke-linecap:round;
  stroke-linejoin:round;
}
.am-register-v33__control input{
  width:100%;
  min-width:0;
  height:40px;
  border:0;
  outline:0;
  padding:0;
  background:transparent;
  color:#1d2c3f;
  font:inherit;
  font-size:12px;
}
.am-register-v33__control input::placeholder{color:#9aa6b6}
.am-register-v33__phone-control{
  grid-template-columns:auto minmax(0,1fr);
}
.am-register-v33__phone-control b{
  padding-right:9px;
  border-right:1px solid #e4ebe7;
  color:#415269;
  font-size:12px;
}
.am-register-v33__toggle{
  width:28px;
  height:28px;
  border:0;
  border-radius:7px;
  display:grid;
  place-items:center;
  background:transparent;
  color:#6f7d90;
  cursor:pointer;
}
.am-register-v33__toggle:hover{background:#f1f6f3}
.am-register-v33__toggle svg{width:16px;height:16px}

.am-register-v33__hint,
.am-register-v33__field-error{
  min-height:0;
  font-size:12px;
  line-height:1.35;
}
.am-register-v33__hint{color:#8995a5}
.am-register-v33__field-error{
  display:none;
  color:#d23f49;
}
.am-register-v33__field.is-error .am-register-v33__control{
  border-color:#e0a4aa;
  background:#fffafb;
}
.am-register-v33__field.is-error .am-register-v33__field-error{display:block}

.am-register-v33__strength{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:4px;
}
.am-register-v33__strength i{
  height:3px;
  border-radius:10px;
  background:#e6ece9;
}
.am-register-v33__strength[data-level="1"] i:nth-child(-n+1){background:#e05058}
.am-register-v33__strength[data-level="2"] i:nth-child(-n+2){background:#e99a31}
.am-register-v33__strength[data-level="3"] i:nth-child(-n+3){background:#6fb373}
.am-register-v33__strength[data-level="4"] i:nth-child(-n+4){background:#0ba362}

/* TERMS */
.am-register-v33__terms{
  display:grid;
  grid-template-columns:20px 1fr;
  gap:8px;
  align-items:start;
  color:#6f7c8e;
  font-size:12px;
  line-height:1.55;
  cursor:pointer;
}
.am-register-v33__terms input{
  position:absolute;
  opacity:0;
}
.am-register-v33__check{
  width:19px;
  height:19px;
  border:1px solid #cdd9d3;
  border-radius:5px;
  display:grid;
  place-items:center;
  background:#fff;
  color:transparent;
  font-size:12px;
  font-weight:900;
}
.am-register-v33__terms input:checked + .am-register-v33__check{
  border-color:#0aa361;
  background:#0aa361;
  color:#fff;
}
.am-register-v33__terms a{
  color:#078e53;
  font-weight:800;
}

/* SUBMIT */
.am-register-v33__submit{
  width:100%;
  min-height:44px;
  border:0;
  border-radius:10px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:9px;
  color:#fff;
  background:linear-gradient(135deg,#0dab67,#078c52);
  box-shadow:0 10px 22px rgba(8,151,88,.18);
  font:inherit;
  font-size:12px;
  font-weight:900;
  cursor:pointer;
  transition:.18s ease;
}
.am-register-v33__submit:hover{
  transform:translateY(-1px);
  box-shadow:0 13px 26px rgba(8,151,88,.24);
}
.am-register-v33__submit svg{
  width:17px;
  height:17px;
  fill:none;
  stroke:currentColor;
  stroke-width:2;
  stroke-linecap:round;
  stroke-linejoin:round;
}
.am-register-v33__submit.is-loading{opacity:.75;pointer-events:none}

.am-register-v33__login{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:5px;
  color:#778397;
  font-size:12px;
}
.am-register-v33__login a{
  color:#078e53;
  font-weight:900;
}

.am-register-v33__secure{
  display:flex;
  justify-content:center;
  align-items:center;
  gap:6px;
  color:#8a96a5;
  font-size:12px;
  line-height:1.45;
  text-align:center;
}
.am-register-v33__secure span{
  width:20px;
  height:20px;
  border-radius:50%;
  display:grid;
  place-items:center;
  color:#078e53;
  background:#e9f8f1;
  flex:0 0 20px;
}
.am-register-v33__secure svg{
  width:13px;
  height:13px;
  fill:none;
  stroke:currentColor;
  stroke-width:1.8;
  stroke-linecap:round;
  stroke-linejoin:round;
}

/* RESPONSIVE */
@media(max-width:900px){
  .am-register-v33{
    padding:14px 0 24px;
  }
  .am-register-v33__shell{
    width:calc(100% - 28px);
    grid-template-columns:1fr;
    border-radius:18px;
  }
  .am-register-v33__visual{
    min-height:260px;
  }
  .am-register-v33__visual-content{
    padding:22px;
  }
  .am-register-v33__visual-copy{
    margin-top:24px;
  }
  .am-register-v33__visual-copy h2{
    font-size:28px;
    max-width:500px;
  }
  .am-register-v33__visual-copy p{
    max-width:600px;
  }
  .am-register-v33__benefits{
    grid-template-columns:1fr 1fr;
    margin-top:18px;
  }
  .am-register-v33__trust{
    margin-top:18px;
    padding-top:0;
  }
}

@media(max-width:620px){
  .am-register-v33:before,
  .am-register-v33:after{display:none}
  .am-register-v33__shell{
    width:calc(100% - 16px);
    border-radius:14px;
  }
  .am-register-v33__visual{
    min-height:auto;
  }
  .am-register-v33__visual-content{
    padding:18px;
  }
  .am-register-v33__visual-copy{
    margin-top:18px;
  }
  .am-register-v33__visual-copy h2{
    font-size:25px;
    margin-bottom:8px;
  }
  .am-register-v33__benefits{
    display:none;
  }
  .am-register-v33__trust{
    margin-top:15px;
  }
  .am-register-v33__panel-inner{
    padding:22px 16px 20px;
  }
  .am-register-v33__heading h1{
    font-size:27px;
  }
  .am-register-v33__section{
    padding:11px;
  }
  .am-register-v33__roles{
    grid-template-columns:1fr;
  }
  .am-register-v33__role-box{
    min-height:74px;
    display:grid;
    grid-template-columns:36px 1fr;
    grid-template-rows:auto auto;
    align-items:center;
    column-gap:9px;
  }
  .am-register-v33__role-icon{
    grid-row:1/3;
    margin:0;
  }
  .am-register-v33__role strong{align-self:end}
  .am-register-v33__role small{align-self:start}
  .am-register-v33__grid{
    grid-template-columns:1fr;
  }
  .am-register-v33__field--full{
    grid-column:auto;
  }
}
