.mg-sd { padding-bottom: 18px; }

.mg-sd .mg-sd-trail { margin: 0; padding-top: 46px; font-size: 20px; color: #555b66; }
.mg-sd-trail a { color: #555b66; }
.mg-sd-trail a:hover { color: var(--c-blue); }
.mg-sd-trail span { margin: 0 4px; }
.mg-sd-trail .now { margin: 0; color: #1d4fb8; }

.mg-sd .mg-sd-title { margin: 30px 0 0; font-size: 90px; line-height: 1.05; font-weight: 700; letter-spacing: -.012em; color: #0e1a3a; }
.mg-sd-rule { display: block; width: 146px; height: 6px; margin: 26px 0 0; background: var(--c-red); }

.mg-sd-grid { display: grid; grid-template-columns: 597fr 543fr; gap: 40px; margin-top: 40px; }
.mg-sd-table { margin-bottom: 30px; }

.mg-sd-form { min-height: 744px; padding: 46px 34px 40px; background: #fff; border: 1.5px solid #d9dde4; border-radius: 6px; }
.mg-sd-lab { display: block; margin: 0 0 18px; font-size: 27px; font-weight: 700; color: #0e1a3a; }
.mg-sd-gap { margin-top: 64px; }

.mg-sd-money { display: flex; height: 88px; border: 1.5px solid #cfd4dc; border-radius: 6px; overflow: hidden; }
.mg-sd-money span { width: 90px; flex: none; display: grid; place-items: center; background: #f1f3f6; border-right: 1.5px solid #cfd4dc; font-size: 34px; color: #1f2430; }
.mg-sd .mg-sd-money input { flex: 1; min-width: 0; height: 100%; border: 0; border-radius: 0; padding: 0 26px; font: inherit; font-size: 36px; color: #141a2a; background: #fff; }
.mg-sd .mg-sd-money input:focus { outline: 0; }
.mg-sd-money:focus-within { border-color: var(--c-blue); box-shadow: 0 0 0 2px rgba(11, 61, 158, .18); }

.mg-sd-select { position: relative; }
.mg-sd .mg-sd-select select {
    appearance: none; -webkit-appearance: none; width: 100%; height: 82px; padding: 0 70px 0 26px; cursor: pointer;
    border: 1.5px solid #cfd4dc; border-radius: 6px; font: inherit; font-size: 28px; color: #141a2a; background: #fff;
}
.mg-sd-select svg { position: absolute; top: 50%; right: 26px; width: 32px; height: 32px; transform: translateY(-50%); fill: none; stroke: #1f2430; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; pointer-events: none; }

.mg-sd-radios { display: flex; gap: 30px; margin: 38px 0 60px; }
.mg-sd-radios label { position: relative; display: inline-flex; align-items: center; gap: 12px; white-space: nowrap; font-size: 24px; color: #1f2430; cursor: pointer; }
.mg-sd .mg-sd-radios input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.mg-sd-radios i { width: 30px; height: 30px; border-radius: 50%; border: 1.5px solid #8d93a0; background: #fff; display: grid; place-items: center; flex: none; }
.mg-sd-radios input:checked + i { border: 2px solid #1d4fb8; }
.mg-sd-radios input:checked + i::after { content: ""; width: 16px; height: 16px; border-radius: 50%; background: #1d4fb8; }
.mg-sd-radios input:focus-visible + i { outline: 2px solid rgba(11, 61, 158, .3); outline-offset: 2px; }

.mg-sd .mg-sd-note { margin: 18px 0 0; font-size: 17px; line-height: 1.5; color: #5b6475; }

.mg-sd-res { display: flex; flex-direction: column; background: #fff; border: 1.5px solid #d9dde4; border-radius: 6px; overflow: hidden; }
.mg-sd-res-head { height: 72px; display: flex; align-items: center; padding: 0 32px; background: #0d2350; }
.mg-sd .mg-sd-res-head h2 { margin: 0; font-size: 29px; font-weight: 700; letter-spacing: .02em; text-transform: uppercase; color: #fff; }
.mg-sd-res-body { flex: 1; display: flex; flex-direction: column; padding: 30px 30px 28px 32px; }
.mg-sd .mg-sd-res-lab { margin: 0; font-size: 25px; color: #1f2430; }
.mg-sd .mg-sd-amount { margin: 6px 0 0; padding-bottom: 20px; border-bottom: 1.5px solid #d9dde4; font-size: 88px; line-height: 1.1; font-weight: 700; letter-spacing: -.01em; color: var(--c-red); }
.mg-sd .mg-sd-sub { margin: 34px 0 0; font-size: 23px; font-weight: 700; color: #0e1a3a; letter-spacing: 0; }

.mg-sd-table { width: 100%; margin-top: 14px; border-collapse: collapse; font-size: 21px; color: #1f2430; }
.mg-sd-table tr + tr { border-top: 1.5px solid #e1e4ea; }
.mg-sd-table th, .mg-sd-table td { height: 68px; padding: 0; border-bottom: 0; background: none; text-align: left; font-size: inherit; font-weight: 400; white-space: nowrap; }
.mg-sd-table th { width: 152px; font-weight: 700; color: #0e1a3a; }
.mg-sd-table td:last-child { text-align: right; }

.mg-sd-btn {
    display: flex; align-items: center; justify-content: center; width: 100%; height: 72px; margin-top: auto;
    border: 0; border-radius: 5px; background: #0b3d9e; color: #fff; cursor: pointer;
    font: inherit; font-size: 26px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
}
.mg-sd-btn:hover { background: #082f7a; }

@media (max-width: 1100px) {
    .mg-sd-table { font-size: 18px; }
    .mg-sd-table th { width: 120px; }
    .mg-sd-radios { gap: 20px; }
    .mg-sd-radios label { font-size: 21px; }
}
@media (max-width: 900px) {
    .mg-sd .mg-sd-trail { padding-top: 26px; font-size: 16px; }
    .mg-sd .mg-sd-title { font-size: 44px; }
    .mg-sd-rule { width: 100px; height: 4px; }
    .mg-sd-grid { grid-template-columns: 1fr; gap: 24px; }
    .mg-sd-form { min-height: 0; padding: 28px 18px; }
    .mg-sd-lab { font-size: 20px; margin-bottom: 12px; }
    .mg-sd-gap { margin-top: 32px; }
    .mg-sd-money { height: 62px; }
    .mg-sd-money span { width: 60px; font-size: 24px; }
    .mg-sd .mg-sd-money input { font-size: 24px; padding: 0 16px; }
    .mg-sd .mg-sd-select select { height: 60px; font-size: 20px; padding-left: 16px; }
    .mg-sd-radios { flex-wrap: wrap; gap: 14px 22px; margin: 22px 0 32px; }
    .mg-sd-radios label { font-size: 18px; gap: 10px; }
    .mg-sd-radios i { width: 24px; height: 24px; }
    .mg-sd-radios input:checked + i::after { width: 12px; height: 12px; }
    .mg-sd-res-head { height: 60px; padding: 0 18px; }
    .mg-sd .mg-sd-res-head h2 { font-size: 22px; }
    .mg-sd-res-body { padding: 22px 18px; }
    .mg-sd .mg-sd-res-lab { font-size: 18px; }
    .mg-sd .mg-sd-amount { font-size: 56px; }
    .mg-sd .mg-sd-sub { font-size: 18px; margin-top: 24px; }
    .mg-sd-table { font-size: 15px; }
    .mg-sd-table th { width: 82px; }
    .mg-sd-table th, .mg-sd-table td { height: 52px; white-space: normal; }
    .mg-sd-btn { height: 58px; font-size: 20px; }
}
