body {
  margin: 0;
  min-height: 100vh;
  background: #efe6df;
  color: #1e1a17;
  font-family: "Inter", "Segoe UI", Arial, sans-serif;
}

.login-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.login-card {
  width: 100%;
  max-width: 430px;
  min-height: 500px;
  background: #ffffff;
  border-radius: 16px;
  border: 1px solid #ece6e0;
  box-shadow: 0 14px 30px rgba(59, 44, 36, 0.08);
  padding: 30px 24px;
}

.brand-row {
  margin-bottom: 20px;
}

.brand-text {
  text-align: center;
}

.brand-logo {
  width: 145px;
  height: auto;
  display: block;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 10px;
}

.brand-caption {
  margin: 0 0 6px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.67rem;
  color: #8a7c73;
  font-weight: 600;
}

.brand-text h1 {
  margin: 0;
  font-size: 1.75rem;
  line-height: 1.15;
  font-weight: 700;
  color: #171310;
}

.brand-subtitle {
  margin: 8px 0 0;
  font-size: 0.9rem;
  color: #7a6f67;
}

#formLogin .form-group {
  margin-bottom: 16px;
}

#formLogin label[for="contact"] {
  display: block;
  margin-bottom: 7px;
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #6d635d;
  font-weight: 600;
}

#formLogin .login-input-with-icon {
  display: flex;
  align-items: center;
  border: 1px solid #dfd8d1;
  border-radius: 10px;
  background: #fff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

#formLogin .login-input-with-icon:focus-within {
  border-color: #c8b8ac;
  box-shadow: 0 0 0 3px rgba(200, 184, 172, 0.25);
}

#formLogin .login-input-icon {
  color: #9d9086;
  font-size: 0.95rem;
  padding-left: 12px;
  padding-right: 8px;
}

#formLogin .form-control {
  border: none;
  box-shadow: none;
  height: 44px;
  font-size: 0.93rem;
  color: #2b2521;
  padding: 0 12px 0 4px;
  background: transparent;
}

#formLogin .form-control:focus {
  border: none;
  box-shadow: none;
  outline: none;
}

#formLogin .form-control::placeholder {
  color: #b4aaa3;
}

#btn-login {
  margin-top: 30px;
  height: 44px;
  border: none;
  border-radius: 9px;
  background: #1b1613;
  color: #ffffff;
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: background 0.2s ease;
}

#btn-login:hover:not(:disabled),
#btn-login:focus:not(:disabled) {
  background: #2a221d;
}

#btn-login:disabled {
  opacity: 0.75;
  cursor: not-allowed;
}

#btn-login .fa-spinner {
  vertical-align: middle;
}

.login-footer-card {
  margin-top: 18px;
  padding: 12px 14px;
  border: 1px solid #e4ddd7;
  border-radius: 10px;
  background: #faf8f6;
}

.login-footer-title {
  margin: 0;
  color: #453c36;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.login-footer-text {
  margin: 6px 0 8px;
  color: #6d635d;
  font-size: 0.86rem;
  line-height: 1.4;
}

.login-footer-link {
  color: #1b1613;
  font-size: 0.86rem;
  font-weight: 600;
  text-decoration: underline;
}

.login-footer-link:hover,
.login-footer-link:focus {
  color: #2a221d;
}

@media (max-width: 520px) {
  .login-page {
    padding: 16px;
  }

  .login-card {
    min-height: 470px;
    padding: 20px 16px;
    border-radius: 14px;
  }

  .brand-logo {
    width: 118px;
  }

  .brand-text h1 {
    font-size: 1.5rem;
  }
}