/* 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%; } }

/* Login-style cards and vertically stacked fields. */
body.mzuni-config-form form { width:calc(100% - 32px); max-width:580px; margin:32px auto; padding:0; box-sizing:border-box; }
.mzuni-config-form form > table, .mzuni-config-form form > .centeredTable { width:100%; max-width:100%; }
.mzuni-config-form .roundedShadowBox { width:100%; max-width:100%; box-sizing:border-box; padding:30px !important; border:1px solid #dbe2e7; border-radius:20px; box-shadow:0 3px 12px #123d2a0a; }
.mzuni-config-form .roundedShadowBox::before { content:""; display:block; width:80px; height:90px; background:url('../graphics/mzuni-logo.png') center / contain no-repeat; margin:0 auto 28px; }
.mzuni-config-form table.roundedShadowBox::before { display:none; }
.mzuni-config-form table.roundedShadowBox > tbody > tr > td::before { content:""; display:block; width:80px; height:90px; background:url('../graphics/mzuni-logo.png') center / contain no-repeat; margin:0 auto 28px; }
.mzuni-config-form .mzuni-card-title, .mzuni-config-form .roundedShadowBox h1, .mzuni-config-form .roundedShadowBox h2 { color:#153d2c; font-size:25px; text-align:center; margin:0 0 24px; line-height:1.3; }
.mzuni-config-form .roundedShadowBox .responsiveLabel, .mzuni-config-form .roundedShadowBox .responsiveField { width:100% !important; max-width:100%; flex:0 0 100%; float:none; text-align:left !important; box-sizing:border-box; white-space:normal; }
.mzuni-config-form .roundedShadowBox .responsiveLabel { margin-top:14px; margin-bottom:8px; }
.mzuni-config-form .roundedShadowBox .responsiveField { margin-bottom:10px; }
.mzuni-config-form .roundedShadowBox input[type=text], .mzuni-config-form .roundedShadowBox input[type=password], .mzuni-config-form .roundedShadowBox select { width:100%; min-width:0; max-width:100%; min-height:48px; box-sizing:border-box; }
.mzuni-config-form .roundedShadowBox .nowrap { white-space:normal; }
.mzuni-config-form .roundedShadowBox .responsiveField.nowrap { display:flex; align-items:center; gap:8px; }
.mzuni-config-form .roundedShadowBox .responsiveField.nowrap input, .mzuni-config-form .roundedShadowBox .responsiveField.nowrap select { flex:1; min-width:0; }
.mzuni-config-form .lam-secondary { background:#edf5ef; border:1px solid #bcd4c4; color:#145e30; border-radius:7px; padding:10px 20px; }
.mzuni-config-form .lam-danger { border-radius:7px; padding:10px 20px; }
.mzuni-config-form .roundedShadowBox .centeredTable { width:100%; }
@media(max-width:600px) { .mzuni-config-form .roundedShadowBox { padding:20px !important; } }
