* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  background: #ffffff;
  color: #333;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.auth-wrapper {
  width: 100%;
  max-width: 560px;
}

.auth-card {
  background: #f4f4f4;
  border: 1px solid #d9d9d9;
  padding: 18px;
}

.auth-title {
  font-family: "Courier New", Courier, monospace;
  font-size: 17px;
  padding: 6px 4px 14px;
  border-bottom: 1px solid #d9d9d9;
  margin-bottom: 18px;
  color: #222;
}

.auth-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.panel {
  background: #fafafa;
  border: 1px solid #d9d9d9;
  padding: 18px;
}

.login-form .row {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
}

.login-form label {
  width: 55px;
  font-size: 13px;
  color: #444;
}

.input-wrap {
  flex: 1;
  display: flex;
  align-items: center;
  background: #fff;
  border: 1px solid #cfcfcf;
  padding: 4px 6px;
  position: relative;
}

.input-wrap .icon {
  width: 16px;
  height: 16px;
  margin-right: 6px;
  color: #888;
  flex-shrink: 0;
}

.input-wrap input {
  border: none;
  outline: none;
  width: 100%;
  font-size: 13px;
  background: transparent;
  color: #333;
}

.input-wrap input::placeholder {
  color: #b5b5b5;
}

.eye-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  color: #777;
  display: flex;
  align-items: center;
}

.eye-btn:hover {
  color: #333;
}

.submit-btn {
  width: 100%;
  background: #fff;
  border: 1px solid #cfcfcf;
  padding: 6px;
  font-size: 13px;
  cursor: pointer;
  margin-top: 6px;
  color: #333;
  transition: background 0.15s;
}

.submit-btn:hover {
  background: #ececec;
}

.mpass {
  text-align: center;
}

.mpass-logo {
  width: 90px;
  height: 40px;
  margin: 0 auto 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mpass-desc {
  font-size: 12px;
  color: #444;
  line-height: 1.4;
  margin-bottom: 14px;
}

.mpass-btn {
  display: block;
  background: #fff;
  border: 1px solid #cfcfcf;
  padding: 6px 10px;
  text-align: left;
  cursor: pointer;
  font-size: 12px;
  color: #333;
  text-decoration: none;
  line-height: 1.5;
  transition: background 0.15s;
}

.mpass-btn:hover {
  background: #ececec;
}

.cancel-link {
  display: block;
  text-align: right;
  margin-top: 14px;
  font-size: 13px;
  color: #4a9c4a;
  text-decoration: none;
}

.cancel-link:hover {
  text-decoration: underline;
}

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