.fm-login-wrap {
  min-height: calc(80vh - 80px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.fm-login-card {
  width: 100%;
  max-width: 920px;
  max-height: 90vh;
  border-radius: 24px;
  overflow: hidden;
  display: grid;
  background: #fff;
  box-shadow: 0 25px 70px rgba(0,0,0,.35);
}

@media (min-width: 768px) {
  .fm-login-card {
    grid-template-columns: 1.1fr .9fr;
    min-height: 520px;
  }
}

.fm-login-image {
  position: relative;
  background: url('../img/wk-bg1.png') center/cover no-repeat;
  display: block;
  min-height: 220px;
}

@media (min-width: 768px) {
  .fm-login-image {
    min-height: auto;
  }
}

.fm-login-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.15), rgba(0,0,0,.2));
}

.fm-login-image-content {
  position: absolute;
  bottom: 2rem;
  left: 2rem;
  right: 2rem;
  color: #fff;
  z-index: 2;
}

.fm-login-image-content h2 {
  font-size: 1.8rem;
  font-weight: 900;
  margin: 0;
}

.fm-login-image-content p {
  margin-top: .5rem;
  font-size: .95rem;
  opacity: .9;
}

.fm-login-form {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.fm-login-title {
  font-size: 1.6rem;
  font-weight: 900;
  color: #0f172a;
}

.fm-login-sub {
  margin: .5rem 0 1.5rem;
  color: #64748b;
}

.fm-field {
  margin-bottom: 1rem;
}

.fm-field label {
  font-size: .8rem;
  font-weight: 800;
  color: #334155;
}

.fm-input {
  width: 100%;
  border: 1px solid #cbd5e1;
  border-radius: 12px;
  padding: .8rem;
  margin-top: .3rem;
}

.fm-input:focus {
  outline: none;
  border-color: #22c55e;
  box-shadow: 0 0 0 3px rgba(34,197,94,.2);
}

.fm-login-btn {
  margin-top: .5rem;
  border: none;
  border-radius: 999px;
  padding: .9rem;
  font-weight: 900;
  color: #fff;
  background: linear-gradient(135deg, #16a34a, #22c55e);
  cursor: pointer;
  transition: .2s;
}

.fm-login-btn:hover {
  background: linear-gradient(135deg, #15803d, #16a34a);
}

@media (max-width: 767px) {
  .fm-login-wrap {
    padding: 1rem;
  }

  .fm-login-card {
    border-radius: 18px;
  }

  .fm-login-image-content {
    bottom: 1rem;
    left: 1rem;
    right: 1rem;
  }

  .fm-login-image-content h2 {
    font-size: 1.4rem;
  }

  .fm-login-image-content p {
    font-size: .85rem;
  }

  .fm-login-form {
    padding: 1.5rem;
  }

  .fm-login-title {
    font-size: 1.35rem;
  }

  .fm-input {
    padding: .75rem;
  }
}



.fm-register-btn{
    display:block;
    text-align:center;
    margin-top:12px;
    padding:8px;
    font-size:14px;
    font-weight:600;
    color:#64748b;
    text-decoration:none;
    transition:0.2s;
}

.fm-register-btn:hover{
    color:#2563eb;
}