/* «مسیر طلایی»: navy brand column beside the form; orange for the action, teal beside it. */
:root {
    --lg-primary: #1e2f70;
    --lg-indigo: #f39019;
    --lg-ink: #14204f;
    --lg-text: #2c3456;
    --lg-muted: #5c6385;
    --lg-line: #ecdcc0;
    --lg-field: #fff8ec;
    --ms-navy: #1e2f70;
    --ms-navy-deep: #14204f;
    --ms-orange: #f39019;
    --ms-teal: #138c8c;
    --ms-cream: #fff7e8;
}

body.ms-body {
    background:
        radial-gradient(700px 420px at 100% 0%, rgba(243, 144, 25, .16), transparent 60%),
        radial-gradient(640px 420px at 0% 100%, rgba(19, 140, 140, .14), transparent 60%),
        var(--ms-cream);
}

.ms-shell {
    width: 100%;
    max-width: 860px;
    display: flex;
    border-radius: 26px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 30px 70px rgba(20, 32, 79, .16), 0 2px 8px rgba(20, 32, 79, .05);
}

.ms-side {
    flex: 0 0 42%;
    padding: 46px 34px;
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 10px;
    background:
        radial-gradient(260px 200px at 20% 15%, rgba(243, 144, 25, .35), transparent 70%),
        radial-gradient(260px 220px at 85% 90%, rgba(19, 140, 140, .45), transparent 70%),
        linear-gradient(160deg, var(--ms-navy), var(--ms-navy-deep));
}

.ms-logo {
    width: 104px;
    height: 104px;
    border-radius: 28px;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 14px 30px rgba(0, 0, 0, .25);
    margin-bottom: 12px;
}

.ms-logo img { width: 76px; height: 76px; object-fit: contain; }
.ms-side-title { margin: 0; font-size: 22px; font-weight: 800; line-height: 1.6; }
.ms-side-text { margin: 0; font-size: 14px; color: rgba(255, 255, 255, .78); }
.ms-dots { display: flex; gap: 6px; margin-top: 18px; }
.ms-dots span { width: 8px; height: 8px; border-radius: 50%; background: var(--ms-orange); }
.ms-dots span:nth-child(2) { background: var(--ms-teal); }
.ms-dots span:nth-child(3) { background: #fff; }

.ms-card {
    flex: 1;
    max-width: none;
    border-radius: 0;
    box-shadow: none;
    padding: 46px 40px 30px;
}

.ms-card .lg-brand { text-align: right; }
.ms-card .lg-title { font-size: 22px; }

.lg-submit {
    color: var(--ms-navy-deep);
    background: linear-gradient(135deg, #f7a43a, var(--ms-orange));
    box-shadow: 0 10px 22px rgba(243, 144, 25, .32);
}

.lg-submit:hover { box-shadow: 0 14px 26px rgba(243, 144, 25, .38); }
.lg-spin { border-color: rgba(20, 32, 79, .3); border-top-color: var(--ms-navy-deep); }
.lg-input:focus-within, .lg-captcha .txt-input:focus { border-color: var(--ms-teal); box-shadow: 0 0 0 4px rgba(19, 140, 140, .14); }
.lg-input:focus-within > i.lg-ico { color: var(--ms-teal); }
.lg-foot a { color: var(--ms-teal); }

@media (max-width: 760px) {
    .ms-shell { flex-direction: column; max-width: 420px; }
    .ms-side { flex: none; padding: 30px 24px 26px; }
    .ms-logo { width: 80px; height: 80px; border-radius: 22px; margin-bottom: 6px; }
    .ms-logo img { width: 58px; height: 58px; }
    .ms-dots { display: none; }
    .ms-card { padding: 28px 22px 22px; }
    .ms-card .lg-brand { text-align: center; }
}
