/* ===============================
   RESET
   =============================== */
* {
  box-sizing: border-box;
  font-family: Inter, system-ui, -apple-system, sans-serif;
}

html, body {
  height: 100%;
  margin: 0;
}

/* ===============================
   SOFT COLOR THEME (LOGO BASED)
   =============================== */
:root {
  --blue-soft: #eaf2fb;
  --blue-light: #cfe1f4;
  --blue-main: #5b86b3;
  --blue-deep: #3f5f86;

  --yellow-soft: #f6e7b2;

  --text-main: #2f3a44;
  --text-muted: #7a8896;
}

/* ===============================
   BACKGROUND
   =============================== */
body {
  background: linear-gradient(
    135deg,
    #f4f8fc,
    var(--blue-soft)
  );
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ===============================
   WRAPPER
   =============================== */
.login-wrapper {
  width: 100%;
  padding: 20px;
}

/* ===============================
   CARD
   =============================== */
.login-card {
  max-width: 380px;
  margin: auto;
  background: #ffffff;
  border-radius: 20px;
  padding: 36px 30px;
  border: 1px solid var(--blue-light);
  box-shadow: 0 12px 30px rgba(63,95,134,.08);
}

/* ===============================
   HEADER
   =============================== */
.login-header {
  text-align: center;
  margin-bottom: 26px;
  position: relative;
}

/* Soft accent */
.login-header::after {
  content: "";
  display: block;
  width: 44px;
  height: 4px;
  background: var(--yellow-soft);
  border-radius: 6px;
  margin: 14px auto 0;
}

/* ===============================
   LOGO
   =============================== */
.logo-smk-only {
  display: block;
  margin: 0 auto 16px;
  height: 92px;
  width: auto;
  object-fit: contain;
}

/* ===============================
   APP NAME
   =============================== */
.app-name {
  margin: 0;
  font-size: 26px;
  font-weight: 800;
  letter-spacing: 1.2px;
  /*color: var(--blue-deep);*/
}

.subtitle {
  margin-top: 6px;
  font-size: 14px;
  /*color: var(--text-muted);*/
}

/* ===============================
   FORM
   =============================== */
.form-group {
  margin-bottom: 16px;
}

.form-group label {
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 6px;
  display: block;
  color: var(--text-main);
}

.form-group input {
  width: 100%;
  height: 46px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid var(--blue-light);
  background: #f9fbfd;
  font-size: 14px;
  color: var(--text-main);
}

.form-group input::placeholder {
  color: #9aa7b4;
}

.form-group input:focus {
  outline: none;
  border-color: var(--blue-main);
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(91,134,179,.15);
}

/* ===============================
   PASSWORD
   =============================== */
.password-field {
  position: relative;
}

.password-field input {
  padding-right: 46px;
}

.password-toggle {
  position: absolute;
  top: 50%;
  right: 14px;
  transform: translateY(-50%);
  cursor: pointer;
  font-size: 18px;
  color: #9aa7b4;
}

.password-toggle:hover {
  color: var(--blue-main);
}

/* ===============================
   BUTTON
   =============================== */
.btn-login {
  width: 100%;
  padding: 12px;
  border-radius: 16px;
  border: none;
  background: linear-gradient(
    135deg,
    var(--blue-main),
    var(--blue-deep)
  );
  color: #ffffff;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 10px 22px rgba(63,95,134,.25);
  transition: all .2s ease;
}

.btn-login:hover {
  transform: translateY(-1px);
  opacity: .95;
}

.btn-login:active {
  transform: scale(.97);
}

/* ===============================
   FOOTER
   =============================== */
.login-footer {
  text-align: center;
  font-size: 12px;
  color: #9aa7b4;
  margin-top: 22px;
}

/* ===============================
   MOBILE
   =============================== */
@media (max-width: 480px) {
  .login-card {
    padding: 28px 22px;
  }

  .logo-smk-only {
    height: 120px;
  }

  .app-name {
    font-size: 22px;
  }
}
