*{
  box-sizing: border-box;
}

body{
  margin: 0;
  min-height: 100vh;
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  background: #f4f7fb;
  color: #0f172a;
}

.auth-page{
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1.1fr .9fr;
}

.auth-left{
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 20% 20%, rgba(34,197,94,.22), transparent 32%),
    radial-gradient(circle at 80% 80%, rgba(14,165,233,.18), transparent 34%),
    linear-gradient(135deg, #063b2c 0%, #0f766e 52%, #042f2e 100%);
  color: #fff;
  padding: 56px;
  display: flex;
  align-items: center;
}

.auth-left::after{
  content: "";
  position: absolute;
  inset: auto -120px -160px auto;
  width: 420px;
  height: 420px;
  border-radius: 999px;
  background: rgba(255,255,255,.08);
}

.auth-left-content{
  position: relative;
  z-index: 1;
  max-width: 620px;
}

.auth-logo-box{
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 80px;
}

.auth-logo-icon{
  width: 64px;
  height: 64px;
  border-radius: 18px;
  background: #ffffff;
  color: #0f766e;
  display: grid;
  place-items: center;
  font-weight: 900;
  font-size: 22px;
  box-shadow: 0 18px 40px rgba(0,0,0,.18);
}

.auth-logo-box h1,
.auth-mobile-brand h1{
  margin: 0;
  font-size: 28px;
  letter-spacing: -0.03em;
}

.auth-logo-box p,
.auth-mobile-brand p{
  margin: 4px 0 0;
  opacity: .82;
}

.auth-headline h2{
  margin: 0;
  font-size: 44px;
  line-height: 1.05;
  letter-spacing: -0.05em;
}

.auth-headline p{
  margin: 18px 0 0;
  font-size: 17px;
  line-height: 1.7;
  color: rgba(255,255,255,.82);
}

.auth-benefits{
  margin-top: 42px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.auth-benefits div{
  padding: 16px;
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.10);
  border-radius: 18px;
  backdrop-filter: blur(10px);
}

.auth-benefits strong{
  display: block;
  font-size: 14px;
  margin-bottom: 6px;
}

.auth-benefits span{
  display: block;
  font-size: 12px;
  line-height: 1.4;
  color: rgba(255,255,255,.78);
}

.auth-right{
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 42px;
}

.auth-card{
  width: 100%;
  max-width: 460px;
  background: rgba(255,255,255,.92);
  border: 1px solid rgba(15,23,42,.08);
  border-radius: 28px;
  padding: 34px;
  box-shadow: 0 24px 70px rgba(15,23,42,.12);
}

.auth-mobile-brand{
  display: none;
  align-items: center;
  gap: 14px;
  margin-bottom: 28px;
}

.auth-card-header{
  margin-bottom: 26px;
}

.auth-chip{
  display: inline-flex;
  align-items: center;
  height: 28px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(15,118,110,.10);
  color: #0f766e;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .04em;
  margin-bottom: 14px;
}

.auth-card-header h2{
  margin: 0;
  font-size: 32px;
  letter-spacing: -0.04em;
  color: #0f172a;
}

.auth-card-header p{
  margin: 8px 0 0;
  color: #64748b;
  font-size: 14px;
  line-height: 1.5;
}

.auth-form{
  display: grid;
  gap: 16px;
}

.auth-field label{
  display: block;
  font-size: 13px;
  font-weight: 900;
  color: #334155;
  margin-bottom: 8px;
}

.auth-input-wrap{
  height: 50px;
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(15,23,42,.12);
  background: #fff;
  border-radius: 16px;
  padding: 0 14px;
  transition: .18s ease;
}

.auth-input-wrap:focus-within{
  border-color: #0f766e;
  box-shadow: 0 0 0 4px rgba(15,118,110,.12);
}

.auth-input-wrap input{
  width: 100%;
  border: 0;
  outline: 0;
  height: 100%;
  font-size: 14px;
  background: transparent;
}

.auth-btn{
  height: 52px;
  border: 0;
  border-radius: 16px;
  background: linear-gradient(135deg, #0f766e, #059669);
  color: #fff;
  font-weight: 900;
  font-size: 15px;
  cursor: pointer;
  margin-top: 4px;
  box-shadow: 0 14px 30px rgba(15,118,110,.25);
  transition: .18s ease;
}

.auth-btn:hover{
  transform: translateY(-1px);
}

.auth-flash{
  margin-top: 6px;
  display: grid;
  gap: 8px;
}

.auth-flash-item{
  padding: 12px 14px;
  border-radius: 14px;
  font-size: 13px;
  font-weight: 800;
}

.auth-flash-item.danger{
  background: #fee2e2;
  color: #991b1b;
}

.auth-flash-item.success{
  background: #dcfce7;
  color: #166534;
}

.auth-flash-item.warning{
  background: #fef3c7;
  color: #92400e;
}

.auth-footer{
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid rgba(15,23,42,.08);
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: #94a3b8;
  font-size: 12px;
}

@media (max-width: 1000px){

  .auth-page{
    grid-template-columns: 1fr;
  }

  .auth-left{
    display: none;
  }

  .auth-right{
    min-height: 100vh;
    padding: 22px;
    background:
      radial-gradient(circle at top left, rgba(15,118,110,.14), transparent 34%),
      linear-gradient(180deg, #f8fafc, #eef2f7);
  }

  .auth-mobile-brand{
    display: flex;
  }
}