.auth-layout{
  min-height:100vh;
  display:grid;
  grid-template-columns: 1.05fr 1fr;
}

.auth-brand{
  position:relative;
  min-height:100vh;
  padding:42px 56px 40px;
  display:flex;
  flex-direction:column;
  justify-content:space-between;
  color:#fff7ef;
  background:
    linear-gradient(rgba(89,20,30,.70), rgba(64,11,18,.82)),
    url('../img/login-bg.jpg') center center / cover no-repeat;
}

.auth-brand-top{
  position:relative;
  z-index:1;
}

.auth-brandbar{
  display:flex;
  align-items:center;
  gap:14px;
}

.auth-brand-logo{
  width:56px;
  height:56px;
  border-radius:50%;
  overflow:hidden;
  flex:0 0 auto;
  border:3px solid rgba(255,234,186,.30);
  box-shadow:0 10px 24px rgba(0,0,0,.24);
  background:#24080d;
}

.auth-brand-logo img{
  width:100%;
  height:100%;
  object-fit:cover;
}

.auth-brandname{
  line-height:1.1;
}

.auth-brandname strong{
  display:block;
  font-size:20px;
  letter-spacing:.04em;
  font-weight:700;
}

.auth-brandname span{
  display:block;
  margin-top:4px;
  font-size:12px;
  letter-spacing:.22em;
  text-transform:uppercase;
  color:#f0d18e;
  font-weight:700;
}

.auth-badge{
  display:inline-flex;
  margin-top:110px;
  align-items:center;
  gap:10px;
  padding:10px 16px;
  border-radius:999px;
  border:1px solid rgba(240,209,142,.28);
  background:rgba(122,55,62,.35);
  color:#f0d18e;
  font-size:12px;
  font-weight:700;
  letter-spacing:.28em;
  text-transform:uppercase;
}

.auth-hero{
  margin-top:22px;
  max-width:580px;
}

.auth-hero h1{
  margin:0;
  font-family:Georgia,"Times New Roman",serif;
  font-size:clamp(50px,5vw,72px);
  line-height:1.02;
  letter-spacing:-.03em;
  color:#fff7ef;
}

.auth-hero h1 .accent{
  color:#e3bf66;
  font-style:italic;
  font-weight:500;
}

.auth-hero-line{
  width:72px;
  height:3px;
  margin:28px 0 24px;
  border-radius:999px;
  background:#d8b35e;
}

.auth-hero p{
  margin:0;
  max-width:560px;
  color:rgba(255,244,234,.86);
  font-size:17px;
  line-height:1.75;
}

.auth-brand-bottom{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:16px;
  color:rgba(255,244,234,.78);
  font-size:14px;
}

.auth-right{
  min-height:100vh;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:48px 28px;
  background:
    radial-gradient(circle at top center, rgba(233,213,164,.24), transparent 24%),
    linear-gradient(180deg, #f6f0e6 0%, #f8f4ed 100%);
}

.auth-card{
  width:min(100%, 440px);
  background:rgba(255,255,255,.90);
  border:1px solid rgba(212,181,110,.55);
  border-radius:18px;
  box-shadow:0 24px 60px rgba(91,55,26,.16);
  padding:36px 38px 34px;
}

.auth-card-head{
  text-align:center;
  margin-bottom:24px;
}

.auth-card-head h2{
  margin:0 0 10px;
  font-family:Georgia,"Times New Roman",serif;
  font-size:28px;
  font-weight:600;
  color:#2b1714;
}

.auth-card-head p{
  margin:0;
  color:#6e625a;
  font-size:15px;
}

.auth-form-group{
  margin-bottom:16px;
}

.auth-label{
  display:block;
  margin-bottom:8px;
  color:#6a6058;
  font-size:12px;
  font-weight:800;
  letter-spacing:.08em;
  text-transform:uppercase;
}

.auth-input{
  width:100%;
  height:54px;
  border-radius:12px;
  border:1px solid #d6bf7c;
  background:#fffdf9;
  box-shadow:inset 0 1px 2px rgba(70,34,19,.04), 0 0 0 3px rgba(210,176,92,.06);
  padding:0 16px;
  color:#2c1a18;
  font-size:15px;
  outline:none;
  transition:.2s ease;
}

.auth-input:focus{
  border-color:#b98b25;
  box-shadow:0 0 0 4px rgba(185,139,37,.12);
}

.auth-row{
  display:grid;
  grid-template-columns:1fr;
  gap:6px;
  margin-bottom:8px;
}

.auth-linkline{
  margin:4px 0 18px;
  text-align:left;
}

.auth-linkline a{
  color:#6d625d;
  font-size:14px;
}

.auth-button{
  width:100%;
  height:50px;
  border:none;
  border-radius:10px;
  background:linear-gradient(90deg,#7c001d 0%, #920022 100%);
  color:#f7e3a3;
  font-size:15px;
  font-weight:800;
  box-shadow:0 12px 22px rgba(124,0,29,.22);
  transition:.2s ease;
}

.auth-button:hover{
  transform:translateY(-1px);
  box-shadow:0 16px 26px rgba(124,0,29,.28);
}

.auth-divider{
  display:flex;
  align-items:center;
  gap:12px;
  margin:22px 0 18px;
  color:#8b7d74;
  font-size:12px;
  letter-spacing:.22em;
  text-transform:uppercase;
  justify-content:center;
}

.auth-divider::before,
.auth-divider::after{
  content:"";
  height:1px;
  flex:1;
  background:#e8dccb;
}

.auth-note{
  text-align:center;
  color:#6f655f;
  font-size:14px;
  line-height:1.7;
}

.auth-note p + p{
  margin-top:8px;
}

.auth-note strong{
  color:#2c1a18;
}

.auth-alert{
  margin-bottom:16px;
  padding:12px 14px;
  border-radius:12px;
  background:#fff2ef;
  border:1px solid rgba(180,35,24,.14);
  color:#b42318;
  font-size:14px;
}

.auth-alert ul{
  margin:0;
  padding-left:18px;
}

@media (max-width: 1080px){
  .auth-layout{
    grid-template-columns:1fr;
  }

  .auth-brand{
    min-height:auto;
    padding:28px 22px 28px;
  }

  .auth-badge{
    margin-top:40px;
  }

  .auth-hero h1{
    font-size:clamp(36px,10vw,52px);
  }

  .auth-right{
    min-height:auto;
    padding:24px 18px 34px;
  }

  .auth-card{
    padding:28px 22px;
  }

  .auth-brand-bottom{
    margin-top:28px;
    flex-direction:column;
    align-items:flex-start;
  }
}
