/* Configuration forms only; retain native validation and layout. */
body.mzuni-config-form { background:#f4f7f5; color:#153d2c; }
.mzuni-config-form #lam-topnav { background:#fff; border-bottom:3px solid #14813c; box-shadow:0 2px 10px #123d2a0a; }
.mzuni-config-form #lam-topnav .lam-header-left a { color:#123d2a; font-weight:600; }
.mzuni-config-form a { color:#12632f; }
.mzuni-config-form a:hover { color:#073d20; }
.mzuni-config-form .roundedShadowBox { background:#fff; border:1px solid #d6e3da; border-top:4px solid #14813c; border-radius:14px; box-shadow:0 5px 20px #123d2a0d; padding:28px !important; }
.mzuni-config-form input[type=password], .mzuni-config-form input[type=text], .mzuni-config-form select { border:1px solid #bbd1c2; border-radius:8px; min-height:42px; box-sizing:border-box; max-width:100%; background:#fff; color:#153d2c; }
.mzuni-config-form .lam-primary, .mzuni-config-form .lam-primary.ui-button { background:#12813b; border:1px solid #12813b; color:white; border-radius:7px; padding:10px 24px; text-shadow:none; }
.mzuni-config-form .lam-primary:hover { background:#0c652d; border-color:#0c652d; color:white; }
.mzuni-config-form a:focus-visible, .mzuni-config-form button:focus-visible { outline:3px solid #ba9b38; outline-offset:3px; }
.mzuni-config-form input:focus, .mzuni-config-form select:focus { outline:2px solid #14813c; outline-offset:2px; }
@media(max-width:600px) { .mzuni-config-form .roundedShadowBox { padding:16px !important; } .mzuni-config-form table { max-width:100%; } }

/* Keep configuration forms within their containers. */
.mzuni-config-form form {
  width: 100%;
  max-width: 820px;
  margin: 32px auto;
  box-sizing: border-box;
  padding: 0 16px;
}

.mzuni-config-form form > table,
.mzuni-config-form form > .centeredTable,
.mzuni-config-form .roundedShadowBox {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.mzuni-config-form .roundedShadowBox input[type="password"],
.mzuni-config-form .roundedShadowBox input[type="text"],
.mzuni-config-form .roundedShadowBox select {
  width: 100%;
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
}

.mzuni-config-form .roundedShadowBox .nowrap {
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: normal;
}

.mzuni-config-form .roundedShadowBox .nowrap input {
  flex: 1;
  min-width: 0;
}
