.mg-order-verify-page {
    min-height: 100vh;
    background: #f7f7f6;
    color: #191919;
}

.mg-order-verify-container {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
}

.mg-order-verify-header {
    padding: 55px 0 75px;
    background: radial-gradient(circle at 16% 30%, rgba(117, 210, 255, 0.82) 0%, rgba(117, 210, 255, 0.28) 26%, transparent 52%), radial-gradient(circle at 82% 70%, rgba(30, 96, 220, 0.3) 0%, transparent 44%), linear-gradient(112deg, #e2f4ff 0%, #a8dcf7 30%, #4ca8ea 62%, #1765c1 100%);
    color: #fff;
}

.mg-order-verify-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 28px;
    color: rgba(255, 255, 255, .72);
    font-size: 13px;
    text-decoration: none;
}

.mg-order-verify-header h1 {
    margin: 0;
    color: #fff;
    font-size: clamp(30px, 4vw, 48px);
    font-weight: 700;
    letter-spacing: -.035em;
}

.mg-order-verify-header p {
    max-width: 620px;
    margin: 13px 0 0;
    color: rgba(255, 255, 255, .7);
    font-size: 15px;
    line-height: 1.7;
}

.mg-order-verify-content {
    padding: 0 0 80px;
}

.mg-order-verify-form-card {
    position: relative;
    margin-top: -34px;
    padding: 24px;
    border: 1px solid #e1e1df;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(16, 24, 32, .06);
}

.mg-order-verify-fields {
    display: grid;
    grid-template-columns: 1fr 1fr auto;
    align-items: start;
    gap: 15px;
}

.mg-order-verify-field label {
    display: block;
    margin-bottom: 7px;
    color: #3e3e3e;
    font-size: 12px;
    font-weight: 700;
}

.mg-order-verify-input {
    position: relative;
}

.mg-order-verify-input i {
    position: absolute;
    top: 50%;
    left: 15px;
    color: #8b8b86;
    transform: translateY(-50%);
}

.mg-order-verify-input input {
    width: 100%;
    height: 48px;
    padding: 0 14px 0 42px;
    border: 1px solid #d6d6d2;
    border-radius: 5px;
    background: #fff;
    color: #191919;
    font-size: 16px;
    outline: none;
}

.mg-order-verify-input input:focus {
    border-color: #9a753f;
    box-shadow: 0 0 0 3px rgba(154, 117, 63, .1);
}

.mg-order-verify-field.is-invalid input {
    border-color: #b42318;
}

.mg-order-verify-field-error {
    display: block;
    min-height: 17px;
    margin-top: 5px;
    color: #b42318;
    font-size: 11px;
}

.mg-order-verify-submit {
    display: inline-flex;
    height: 48px;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 25px;
    padding: 0 22px;
    border: 1px solid #9a753f;
    border-radius: 5px;
    background: #9a753f;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
}

.mg-order-verify-submit:hover {
    border-color: #7f5f31;
    background: #7f5f31;
}

.mg-order-verify-submit:disabled {
    cursor: wait;
    opacity: .7;
}

.mg-order-verify-note {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 3px;
    color: #767670;
    font-size: 11px;
}

.mg-order-verify-alert {
    margin-top: 18px;
    padding: 13px 15px;
    border-radius: 5px;
    font-size: 13px;
}

.mg-order-verify-alert.is-error {
    border: 1px solid #e6c6c3;
    background: #fff5f4;
    color: #a52b21;
}

.mg-order-result {
    margin-top: 28px;
}

.mg-order-result-status {
    display: flex;
    min-height: 180px;
    padding: 30px;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    border-left: 5px solid #9a753f;
    border-radius: 6px;
    background: radial-gradient(circle at 16% 30%, rgba(117, 210, 255, 0.82) 0%, rgba(117, 210, 255, 0.28) 26%, transparent 52%), radial-gradient(circle at 82% 70%, rgba(30, 96, 220, 0.3) 0%, transparent 44%), linear-gradient(112deg, #e2f4ff 0%, #a8dcf7 30%, #4ca8ea 62%, #1765c1 100%);
    color: #fff;
}

.mg-order-result-status > div:first-child > span {
    color: #c9aa72;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .07em;
    text-transform: uppercase;
}

.mg-order-result-status h2 {
    margin: 8px 0;
    color: #fff;
    font-size: clamp(25px, 3vw, 38px);
    font-weight: 700;
}

.mg-order-result-status p {
    margin: 0;
    color: rgba(255, 255, 255, .68);
    font-size: 13px;
}

.mg-order-result-status-icon {
    display: grid;
    flex: 0 0 68px;
    width: 68px;
    height: 68px;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, .17);
    border-radius: 50%;
    color: #c9aa72;
    font-size: 25px;
}

.mg-order-result-status.is-cancelled {
    border-left-color: #d04444;
}

.mg-order-progress {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    margin: 20px 0;
    padding: 24px;
    border: 1px solid #e1e1df;
    border-radius: 6px;
    background: #fff;
}

.mg-order-progress-step {
    position: relative;
    display: flex;
    align-items: center;
    flex-direction: column;
    gap: 9px;
    color: #9b9b96;
    text-align: center;
}

.mg-order-progress-step::after {
    content: "";
    position: absolute;
    top: 15px;
    left: calc(50% + 20px);
    width: calc(100% - 40px);
    height: 1px;
    background: #dededb;
}

.mg-order-progress-step:last-child::after {
    display: none;
}

.mg-order-progress-step > span {
    position: relative;
    z-index: 2;
    display: grid;
    width: 31px;
    height: 31px;
    place-items: center;
    border: 1px solid #d4d4d0;
    border-radius: 50%;
    background: #fff;
    font-size: 11px;
    font-weight: 700;
}

.mg-order-progress-step strong {
    font-size: 11px;
    font-weight: 600;
}

.mg-order-progress-step.is-completed {
    color: #9a753f;
}

.mg-order-progress-step.is-completed > span {
    border-color: #9a753f;
    background: #9a753f;
    color: #fff;
}

.mg-order-progress-step.is-completed::after {
    background: #9a753f;
}

.mg-order-result-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    align-items: start;
    gap: 20px;
}

.mg-order-result-side {
    display: grid;
    gap: 20px;
}

.mg-order-section {
    overflow: hidden;
    border: 1px solid #e1e1df;
    border-radius: 6px;
    background: #fff;
}

.mg-order-section-head {
    display: flex;
    min-height: 57px;
    padding: 0 18px;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #e8e8e5;
}

.mg-order-section-head h3 {
    margin: 0;
    color: #252525;
    font-size: 15px;
    font-weight: 700;
}

.mg-order-section-head > span {
    color: #7c7c76;
    font-size: 11px;
}

.mg-order-item {
    display: grid;
    grid-template-columns: 82px minmax(0, 1fr) auto;
    align-items: center;
    gap: 16px;
    padding: 18px;
    border-bottom: 1px solid #ededeb;
}

.mg-order-item:last-child {
    border-bottom: 0;
}

.mg-order-item-image {
    display: grid;
    width: 82px;
    height: 82px;
    overflow: hidden;
    place-items: center;
    border: 1px solid #e5e5e2;
    border-radius: 5px;
    background: #fafafa;
    color: #9a753f;
}

.mg-order-item-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.mg-order-item-content > span:first-child {
    color: #9a753f;
    font-size: 10px;
    font-weight: 700;
}

.mg-order-item-content h4 {
    margin: 4px 0;
    color: #222;
    font-size: 14px;
    font-weight: 700;
}

.mg-order-item-content p {
    margin: 0 0 8px;
    color: #777771;
    font-size: 11px;
}

.mg-order-item-status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #745b34;
    font-size: 10px;
    font-weight: 700;
}

.mg-order-item-status > span {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: currentColor;
}

.mg-order-item-status.is-completed {
    color: #187448;
}

.mg-order-item-status.is-cancelled {
    color: #b42318;
}

.mg-order-item-price {
    text-align: right;
    white-space: nowrap;
}

.mg-order-item-price span {
    display: block;
    margin-bottom: 4px;
    color: #777771;
    font-size: 11px;
}

.mg-order-item-price strong {
    color: #222;
    font-size: 13px;
}

.mg-order-summary,
.mg-order-information {
    margin: 0;
    padding: 17px 18px;
}

.mg-order-summary > div,
.mg-order-information > div {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    padding: 8px 0;
}

.mg-order-summary dt,
.mg-order-information dt {
    color: #777771;
    font-size: 12px;
    font-weight: 400;
}

.mg-order-summary dd,
.mg-order-information dd {
    margin: 0;
    color: #252525;
    font-size: 12px;
    font-weight: 600;
    text-align: right;
}

.mg-order-summary .is-discount,
.mg-order-summary .is-discount dd {
    color: #187448;
}

.mg-order-summary dt small {
    display: block;
    margin-top: 2px;
    font-size: 9px;
}

.mg-order-summary-total {
    margin-top: 9px;
    padding-top: 15px !important;
    border-top: 1px solid #dededb;
}

.mg-order-summary-total dt,
.mg-order-summary-total dd {
    color: #171717;
    font-size: 16px;
    font-weight: 700;
}

@media (max-width: 900px) {
    .mg-order-verify-fields,
    .mg-order-result-layout {
        grid-template-columns: 1fr;
    }

    .mg-order-verify-submit {
        width: 100%;
        margin-top: 0;
    }
}

@media (max-width: 600px) {
    .mg-order-verify-container {
        width: min(100% - 24px, 1180px);
    }

    .mg-order-verify-header {
        padding: 40px 0 62px;
    }

    .mg-order-verify-form-card {
        padding: 17px;
    }

    .mg-order-result-status {
        min-height: auto;
        padding: 23px 20px;
    }

    .mg-order-result-status-icon {
        display: none;
    }

    .mg-order-progress {
        grid-template-columns: 1fr;
        gap: 13px;
        padding: 18px;
    }

    .mg-order-progress-step {
        align-items: center;
        flex-direction: row;
        text-align: left;
    }

    .mg-order-progress-step::after {
        top: 31px;
        left: 15px;
        width: 1px;
        height: 13px;
    }

    .mg-order-item {
        grid-template-columns: 66px minmax(0, 1fr);
        align-items: start;
        gap: 12px;
        padding: 14px;
    }

    .mg-order-item-image {
        width: 66px;
        height: 66px;
    }

    .mg-order-item-price {
        grid-column: 1 / -1;
        padding-top: 10px;
        border-top: 1px solid #ededeb;
        text-align: left;
    }
}