body {
    background: #f7f8fa;
    color: #263140;
    font-family: "Segoe UI", Arial, sans-serif;
}

#lam-topnav {
    background: #fff;
    border-bottom: 1px solid #e1e6eb;
    box-shadow: none;
}

#lam-topnav a {
    color: #12813b;
}

.mzuni-brand {
    text-align: center;
    margin: 28px auto;
    padding: 0 16px;
}

.mzuni-brand img {
    width: 130px;
    height: auto;
    display: block;
    margin: 0 auto 18px;
}

.mzuni-brand h1 {
    color: #263140;
    font-size: 28px;
    margin: 0 0 8px;
}

.mzuni-brand p {
    color: #687485;
    font-size: 16px;
    margin: 0;
}

input[type="text"],
input[type="password"],
select {
    border: 1px solid #cfd6df;
    border-radius: 8px;
    padding: 10px 12px;
}

input[type="text"]:focus,
input[type="password"]:focus,
select:focus {
    outline: 2px solid #12813b;
    outline-offset: 2px;
}
/* Mzuni dashboard header */
#lam-topnav {
    padding: 12px 18px;
    background: #fff;
    border-bottom: 3px solid #12813b;
    box-shadow: 0 2px 8px rgba(25, 45, 35, .06);
}

#lam-topnav img[src$="mzuni-logo.png"] {
    width: 44px;
    height: auto;
    margin-right: 12px;
    vertical-align: middle;
}

#lam-topnav .lam-menu-entry {
    border-radius: 6px;
}

#lam-topnav .lam-menu-entry:hover {
    background: #edf7ef;
    color: #0d642d;
}

/* Links and primary actions */
a {
    color: #12813b;
}

a:hover {
    color: #0d642d;
}

input[type="submit"] {
    background: #12813b;
    border: 1px solid #12813b;
    border-radius: 6px;
    color: #fff;
    padding: 9px 16px;
}

input[type="submit"]:hover {
    background: #0d642d;
}

input[type="submit"]:focus-visible {
    outline: 2px solid #0d642d;
    outline-offset: 3px;
}
/* Compact branding above the login form */
.mzuni-login .mzuni-brand {
    margin: 24px auto 20px;
}

.mzuni-login .mzuni-brand img {
    width: 110px;
    margin-bottom: 12px;
}

.mzuni-login .mzuni-brand h1 {
    font-size: 26px;
}

/* Login card */
.mzuni-login .centeredTable {
    margin: 20px auto !important;
    padding-top: 0 !important;
}

.mzuni-login .roundedShadowBox {
    box-sizing: border-box;
    width: 560px;
    max-width: calc(100vw - 48px);
    margin: 0 auto;
    padding: 24px;
    background: #fff;
    border: 1px solid #dfe5e9;
    border-radius: 18px;
    box-shadow: 0 3px 12px rgba(25, 45, 35, .06);
}

.mzuni-login .roundedShadowBox > table {
    width: 100%;
    background: transparent;
}

/* Green Login button */
.mzuni-login .lam-primary {
    background: #12813b !important;
    border: 1px solid #12813b !important;
    border-radius: 8px;
    color: #fff !important;
    min-height: 46px;
    padding: 10px 26px;
    font-weight: 600;
    text-shadow: none;
}

.mzuni-login .lam-primary:hover {
    background: #0d642d !important;
    border-color: #0d642d !important;
}

.mzuni-login .lam-primary:focus-visible {
    outline: 3px solid #91cda4;
    outline-offset: 3px;
}

.mzuni-footer {
    position: static;
    text-align: center;
    color: #8290a4;
    font-size: 14px;
    padding: 16px 12px 28px;
}
.mzuni-login #lam-topnav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}

.mzuni-login #lam-topnav .lam-header-left,
.mzuni-login #lam-topnav .lam-header-right {
    float: none;
}

.mzuni-login #lam-topnav .lam-header-menublock {
    display: flex !important;
    align-items: center;
    gap: 12px;
}

.mzuni-login #lam-topnav .lam-header-left > a {
    display: inline-flex;
    align-items: center;
}
.lam-header img[src$="/mzuni-logo.png"] {
    width: 44px !important;
    height: auto !important;
    object-fit: contain;
    margin-right: 10px;
    vertical-align: middle;
}
/* Move the login form slightly upward */
.mzuni-login .centeredTable {
    position: relative;
    top: -20px;
}

/* Align the Login button to the right */
.mzuni-login button[name="checklogin"],
.mzuni-login input[name="checklogin"] {
    display: block;
    margin-left: auto !important;
    margin-right: 0 !important;
}
/* MZUNI ACCOUNT WEBSITE */
.mzuni-account-home {
  margin: 0;
  background: #f5f7f8;
  color: #263140;
  font-family: "Segoe UI", Arial, sans-serif;
}
.mzuni-account-home * {
  box-sizing: border-box;
}
.mzuni-web-header,
.mzuni-web-main {
  width: calc(100% - 40px);
  max-width: 1140px;
  margin: 0 auto;
}
.mzuni-web-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  padding: 24px 0;
  border-bottom: 3px solid #12813b;
}
.mzuni-web-brand {
  display: flex;
  align-items: center;
  gap: 16px;
  text-decoration: none;
  color: #173c29;
}
.mzuni-web-brand img {
  width: 66px;
  height: auto;
}
.mzuni-web-brand strong,
.mzuni-web-brand span span {
  display: block;
}
.mzuni-web-brand strong {
  font-size: 24px;
}
.mzuni-web-brand span span {
  font-size: 16px;
  color: #657487;
  margin-top: 4px;
}
.mzuni-web-header nav a {
  font-weight: 600;
}
.mzuni-web-main {
  padding: 40px 0;
}
.mzuni-account-hero {
  padding: clamp(28px, 5vw, 64px);
  border-radius: 20px;
  background:
    linear-gradient(90deg, rgba(6,40,23,.94), rgba(6,40,23,.76)),
    url("../graphics/mzuni-campus.jpg") center / cover;
  color: #fff;
}
.mzuni-web-eyebrow {
  color: #d8edc6;
  letter-spacing: .12em;
  font-size: 12px;
  font-weight: 700;
}
.mzuni-account-hero h1 {
  max-width: 720px;
  margin: 22px 0;
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.15;
}
.mzuni-web-lead {
  max-width: 720px;
  font-size: 19px;
  line-height: 1.7;
}
.mzuni-web-guidance {
  border-left: 3px solid #a9c898;
  padding-left: 22px;
  margin-top: 28px;
}
.mzuni-web-guidance h2 {
  font-size: 18px;
  margin: 22px 0 8px;
}
.mzuni-web-guidance p {
  line-height: 1.7;
  margin-top: 0;
}
.mzuni-web-signin {
  display: inline-block;
  color: #fff;
  margin-top: 24px;
  padding: 10px 0;
  font-size: 19px;
  font-weight: 600;
  text-underline-offset: 6px;
}
.mzuni-web-signin:hover {
  color: #d8edc6;
}
.mzuni-web-footer {
  padding: 24px;
  text-align: center;
  color: #657487;
}
.mzuni-account-home a:focus-visible {
  outline: 3px solid #12813b;
  outline-offset: 5px;
}
.mzuni-account-hero a:focus-visible {
  outline-color: #fff;
}
.mzuni-skip {
  position: absolute;
  left: 16px;
  top: -100px;
  padding: 12px;
  background: #fff;
}
.mzuni-skip:focus {
  top: 8px;
}
.mzuni-website-login > br {
  display: none;
}
.mzuni-website-login .centeredTable {
  top: 0;
  margin: 36px auto !important;
}
.mzuni-website-login .roundedShadowBox {
  width: 560px;
  max-width: calc(100vw - 32px);
  padding: 30px;
  border-radius: 20px;
}
.mzuni-login-heading {
  text-align: center;
  margin-bottom: 28px;
}
.mzuni-login-heading img {
  display: block;
  width: 92px;
  height: auto;
  margin: 0 auto 16px;
}
.mzuni-login-heading h1 {
  font-size: 25px;
  color: #173c29;
  margin: 0 0 10px;
}
.mzuni-login-heading p {
  margin: 0;
  font-size: 15px;
  color: #657487;
}
.mzuni-website-login .roundedShadowBox input[type="text"],
.mzuni-website-login .roundedShadowBox input[type="password"],
.mzuni-website-login .roundedShadowBox select {
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  min-height: 48px;
  font-size: 16px;
  background: #fff;
}
.mzuni-website-login .loginRightBox {
  display: none;
}
@media (max-width: 600px) {
  .mzuni-web-brand strong {
    font-size: 20px;
  }
  .mzuni-website-login .roundedShadowBox {
    padding: 24px 18px;
  }
}

/* LAM login: full-width fields with labels above */
.mzuni-website-login .roundedShadowBox,
.mzuni-website-login .roundedShadowBox * {
  box-sizing: border-box;
}

.mzuni-website-login .roundedShadowBox {
  width: 580px;
  max-width: calc(100vw - 32px);
  padding: 30px;
}

.mzuni-website-login .roundedShadowBox > table {
  width: 100%;
  table-layout: fixed;
}

.mzuni-website-login .roundedShadowBox > table > tbody > tr > td {
  padding: 0;
  min-width: 0;
}

.mzuni-website-login .roundedShadowBox form {
  width: 100%;
  margin: 0;
}

.mzuni-website-login .roundedShadowBox form .row {
  display: block;
  width: 100%;
  max-width: none;
  margin-left: 0;
  margin-right: 0;
}

.mzuni-website-login .roundedShadowBox form .row > .columns {
  float: none !important;
  width: 100% !important;
  max-width: 100%;
  margin-left: 0 !important;
  padding-left: 0;
  padding-right: 0;
}

.mzuni-website-login .roundedShadowBox .responsiveLabel {
  text-align: left !important;
  white-space: normal;
  padding-top: 0;
  padding-bottom: 8px;
}

.mzuni-website-login .roundedShadowBox .responsiveLabel label {
  display: block;
  text-align: left;
  font-size: 14px;
  margin: 0;
}

.mzuni-website-login .roundedShadowBox .responsiveField {
  text-align: left;
  white-space: normal;
  overflow-wrap: anywhere;
  padding-bottom: 18px;
}

.mzuni-website-login .roundedShadowBox input[type="text"],
.mzuni-website-login .roundedShadowBox input[type="password"],
.mzuni-website-login .roundedShadowBox select {
  display: block;
  width: 100% !important;
  max-width: 100%;
  min-width: 0;
  min-height: 48px;
  margin: 0;
  padding: 10px 12px;
  border: 1px solid #cfd6df;
  border-radius: 8px;
  font-size: 16px;
}

.mzuni-website-login .roundedShadowBox button[name="checklogin"],
.mzuni-website-login .roundedShadowBox input[name="checklogin"] {
  display: block;
  width: auto !important;
  margin-left: auto !important;
  margin-right: 0 !important;
}

.mzuni-website-login .mzuni-login-heading {
  margin-bottom: 24px;
}

@media (max-width: 480px) {
  .mzuni-website-login .roundedShadowBox {
    padding: 24px 18px;
  }

  .mzuni-website-login .mzuni-login-heading h1 {
    font-size: 22px;
  }
}
