* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  background-color: #ffffff;
  color: #000000;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* Header */
.header {
  display: flex;
  align-items: center;
  padding: 12px 20px;
  gap: 10px;
}

.header-logo {
  width: 58px;
  height: 58px;
  object-fit: contain;
}

.header-title {
  font-size: 15px;
  font-weight: normal;
  color: #000000;
}

/* Main content */
.main {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 40px 20px 80px;
  text-align: center;
}

.welcome-heading {
  font-size: 18px;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  margin-bottom: 10px;
  color: #000000;
}

.subtitle {
  font-size: 14px;
  color: #0000ff;
  margin-bottom: 8px;
}

.portal-title {
  font-size: 16px;
  font-weight: bold;
  color: #ff0000;
  margin-bottom: 18px;
}

/* Login box */
.login-box {
  background-color: #f5f5f5;
  width: 100%;
  max-width: 820px;
  padding: 14px 24px 18px;
  margin-bottom: 12px;
}

.login-title {
  font-size: 15px;
  font-weight: bold;
  text-align: center;
  margin-bottom: 12px;
  color: #000000;
}

.login-form {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
}

.login-input {
  flex: 1;
  height: 30px;
  padding: 4px 8px;
  border: 1px solid #c0c0c0;
  background-color: #ffffff;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 13px;
  color: #333333;
}

.login-input::placeholder {
  color: #666666;
}

.submit-btn {
  height: 30px;
  padding: 0 18px;
  border: 1px solid #999999;
  background: linear-gradient(to bottom, #f0f0f0, #d8d8d8);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 13px;
  color: #000000;
  cursor: pointer;
}

.submit-btn:hover {
  background: linear-gradient(to bottom, #e8e8e8, #d0d0d0);
}

/* Links and text below login */
.forgot-link {
  font-size: 13px;
  color: #000000;
  text-decoration: none;
  margin-bottom: 10px;
}

.forgot-link:hover {
  text-decoration: underline;
}

.account-text {
  font-size: 13px;
  color: #000000;
  margin-bottom: 10px;
}

/* Action buttons */
.action-buttons {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.action-btn {
  display: inline-block;
  background-color: #9dbd1c;
  color: #ffffff;
  font-size: 13px;
  font-weight: normal;
  text-decoration: none;
  padding: 6px 32px;
  min-width: 200px;
  text-align: center;
  border: none;
  cursor: pointer;
}

.action-btn:hover {
  background-color: #8aad18;
}

/* Footer */
.footer {
  background-color: #1a1a1a;
  color: #ffffff;
  font-family: "Times New Roman", Times, serif;
  font-size: 11px;
  padding: 8px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.footer-left,
.footer-right {
  white-space: nowrap;
}

@media (max-width: 600px) {
  .login-form {
    flex-direction: column;
    align-items: stretch;
  }

  .login-input {
    max-width: 100%;
  }

  .footer {
    flex-direction: column;
    text-align: center;
  }
}
