/* Layout */
.login-wrap{
  min-height: calc(100vh - 220px); /* room for header+footer */
  display: grid;
  place-items: center;
  padding: 60px 16px 80px;
}

.login-area{
  width: 100%;
  max-width: 420px;
  text-align: left;
}

/* Headings */
.login-title{
  margin: 0 0 8px;
  font-size: 28px;
  font-weight: 700;
  color: #2b2b2b;
}

.login-sub{
  margin: 0 0 28px;
  color: #7a7a7a;
  font-size: 14px;
}

/* Google button */
.btn-google{
  width: 100%;
  height: 42px;
  border: 1px solid #E5E5EA;
  background: #fff;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 600;
  cursor: pointer;
}

.g-icon{ display: inline-flex; }

/* Divider with lines */
.divider{
  position: relative;
  text-align: center;
  margin: 18px 0 18px;
  color: #B0B0B0;
  font-size: 12px;
}
.divider::before,
.divider::after{
  content: "";
  position: absolute;
  top: 50%;
  width: 38%;
  height: 1px;
  background: #EAEAEA;
}
.divider::before{ left: 0; }
.divider::after{ right: 0; }
.divider span{ background: transparent; padding: 0 10px; }

/* Form */
.field-label{
  display: block;
  margin: 12px 0 6px;
  font-size: 14px;
  color: #3e3e3e;
  font-weight: 600;
}

.field-input{
  width: 100%;
  height: 42px;
  border: 1px solid #E5E5EA;
  border-radius: 8px;
  outline: none;
  padding: 0 12px;
  font-size: 14px;
  color: #2b2b2b;
}
.field-input::placeholder{ color: #c2c2c2; }

/* Primary login button (solid blue as in mockup) */
.btn-login{
  margin-top: 18px;
  width: 100%;
  height: 44px;
  border: 0;
  border-radius: 8px;
  cursor: pointer;
  color: #fff;
  font-weight: 700;
  font-size: 15px;

  /* solid button color from the mockup */
  background: #3F66F6;               /* adjust here if you need a perfect match */
  box-shadow: 0 1px 0 rgba(0,0,0,0.04);
}
.btn-login.loading{
  opacity:.8;
  pointer-events:none;
  position:relative;
}
.btn-login.loading::after{
  content:"";
  position:absolute;
  right:18px;
  top:50%;
  width:16px;
  height:16px;
  margin-top:-8px;
  border:2px solid rgba(255,255,255,.7);
  border-top-color:transparent;
  border-radius:50%;
  animation:login-spin .6s linear infinite;
}

@keyframes login-spin{
  from{transform:rotate(0);}
  to{transform:rotate(360deg);}
}

/* Small responsiveness tweak */
@media (max-width: 420px){
  .divider::before, .divider::after{ width: 32%; }
}
