/* Mobile-first registration & admin refresh */
body.mlr-auth-page-template{background:linear-gradient(145deg,#eff4fd,#f8fafc 60%,#e8eef8)}
.mlr-auth-page{padding:36px 16px;min-height:100vh;display:flex;align-items:flex-start;justify-content:center}
.mlr-auth-card{width:min(100%,560px);max-width:560px;border-radius:24px;padding:clamp(22px,5vw,40px);box-shadow:0 22px 65px rgba(15,23,42,.12);border:1px solid #e2e8f0}
.mlr-auth-card h1{font-size:clamp(22px,4vw,30px);line-height:1.25}
.dpl-register-switch{display:grid;grid-template-columns:1fr 1fr;gap:8px;padding:6px;background:#edf2f9;border-radius:14px;margin:22px 0}
.dpl-register-switch button{background:transparent;border:0;color:#334155;border-radius:10px;padding:13px 8px;font-weight:750;cursor:pointer;font-size:15px}
.dpl-register-switch button.is-active{color:#fff;background:#12203b;box-shadow:0 4px 12px #172b4b30}
.dpl-agency-extra{border-top:1px solid #e4e9f2;margin-top:4px;padding-top:12px}
.dpl-agency-extra[hidden]{display:none!important}
.dpl-agency-info{padding:13px 14px;border-radius:12px;background:#eff6ff;color:#23466f;line-height:1.55;font-size:14px;margin-bottom:16px}
.dpl-agency-extra textarea{width:100%;border:1px solid #cbd5e1;border-radius:12px;min-height:85px;padding:13px;font:inherit;box-sizing:border-box}
.mlr-auth-form input{box-sizing:border-box;max-width:100%}
@media(max-width:600px){.mlr-auth-page{padding:14px 10px}.mlr-auth-card{border-radius:17px;padding:20px 16px}.dpl-register-switch button{font-size:14px}.mlr-auth-field input{min-height:48px}}

/* V4: Agency fields match the existing registration controls */
.mlr-auth-form .dpl-agency-extra .mlr-auth-field {width:100%;min-width:0;margin:0 0 17px;}
.mlr-auth-form .dpl-agency-extra .mlr-auth-field > label {display:block;width:100%;margin:0 0 8px;font-size:14px;font-weight:700;line-height:1.45;color:#12223d;}
.mlr-auth-form .dpl-agency-extra input[type="text"],
.mlr-auth-form .dpl-agency-extra input:not([type]),
.mlr-auth-form .dpl-agency-extra textarea {
 display:block;appearance:none;-webkit-appearance:none;width:100%;max-width:none;min-width:0;
 box-sizing:border-box;border:1px solid #d0d5dd;border-radius:10px;
 background:#fff;color:#12223d;font:inherit;font-size:15px;
 padding:12px 14px;box-shadow:none;transition:border-color .18s,box-shadow .18s;
}
.mlr-auth-form .dpl-agency-extra input:not([type]) {height:48px;min-height:48px;}
.mlr-auth-form .dpl-agency-extra textarea {min-height:96px;line-height:1.5;resize:vertical;}
.mlr-auth-form .dpl-agency-extra input:focus,
.mlr-auth-form .dpl-agency-extra textarea:focus {outline:none;border-color:#c70f10;box-shadow:0 0 0 3px rgba(199,15,16,.12);}
.mlr-auth-form .dpl-agency-extra input::placeholder,
.mlr-auth-form .dpl-agency-extra textarea::placeholder {color:#8692a4;opacity:1;}
@media(max-width:600px){
 .mlr-auth-form .dpl-agency-extra input:not([type]) {height:50px;min-height:50px;font-size:16px;}
 .mlr-auth-form .dpl-agency-extra textarea {font-size:16px;min-height:94px;}
 .dpl-agency-info{font-size:13px;line-height:1.5;}
}
