/* Extracted layout styles from index.php and order_btc_to_eth.php */

/* Shared brand/footer */
.site-brand-wrap {
    height: 100px;
    display: flex;
    align-items: center;
    padding: 0 30px;
}

.site-brand-wrap-mobile {
    padding: 14px 18px 10px;
}

.site-brand-link,
.site-brand-link:hover,
.site-brand-link:focus {
    text-decoration: none;
}

.site-brand-title {
    display: block;
    color: #ffffff;
    font-family: 'Montserrat', sans-serif;
    font-size: 44px;
    line-height: 0.96;
    font-weight: 500;
    letter-spacing: -0.05em;
    margin: 0;
}

.site-brand-subtitle {
    display: block;
    margin-top: 7px;
    color: rgba(255,255,255,.82);
    font-family: 'Montserrat', sans-serif;
    font-size: 10px;
    line-height: 1.3;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

@media (max-width: 767px) {
    .legacy-brand-desktop {
        display: none !important;
    }

    .mobile-top-brand {
        display: block;
    }

    .mobile-brand-title {
        font-size: 29px;
        line-height: 0.98;
        font-weight: 500;
        letter-spacing: -0.04em;
    }

    .mobile-brand-subtitle {
        margin-top: 6px;
        font-size: 8.5px;
        line-height: 1.35;
        letter-spacing: 0.07em;
        color: rgba(255,255,255,.86);
    }
}

@media (min-width: 768px) {
    .mobile-top-brand {
        display: none !important;
    }
}

@media (max-width: 767px) {
    #site-footer {
        margin-top: 26px !important;
        padding: 22px 18px !important;
        background: rgba(12, 16, 24, 0.94) !important;
    }

    #site-footer .container,
    #site-footer .row,
    #site-footer .col-xs-6 {
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    .footer-copy-mobile {
        display: flex;
        flex-direction: column;
        gap: 6px;
        font-size: 13px;
        line-height: 1.55;
        color: rgba(255,255,255,.62);
        text-align: left;
        word-break: normal;
        overflow-wrap: break-word;
    }

    .footer-copy-mobile .footer-line {
        display: block;
    }
}

@media (max-width: 767px) {
    #site-footer {
        margin-top: 28px !important;
        padding: 28px 18px !important;
        background: rgba(18, 20, 28, 0.9) !important;
    }

    #site-footer .copyright {
        font-size: 13px;
        line-height: 1.7;
        color: rgba(255,255,255,.62);
    }

    .text-danger {
        padding: 18px 16px !important;
        text-align: center;
        color: #d36666 !important;
        font-size: 13px;
        line-height: 1.5;
    }
}
@media (max-width: 767px) {
    .panel-body hr {
        display: none;
    }
}
@media (max-width: 767px) {
    .panel-body br {
        display: none;
    }
}
@media (max-width: 767px) {
    .mobile-section-title {
        display: none !important;
    }

    .mobile-order-details-card {
        display: block;
        padding: 0 1px;
        margin: 0 0 16px;
    }

    .mobile-order-details-inner {
        background: linear-gradient(180deg, rgba(255,255,255,0.98) 0%, rgba(248,250,253,0.98) 100%);
        border: 1px solid #dfe7f2;
        border-radius: 18px;
        padding: 16px;
        box-shadow: 0 8px 24px rgba(25, 35, 58, 0.05);
    }

    .mobile-order-details-title {
        margin: 0 0 14px 0;
        font-size: 18px;
        line-height: 1.2;
        font-weight: 700;
        color: #23314f;
    }

    .mobile-order-details-inner .exchange-details {
        display: block !important;
        padding: 0 !important;
        margin: 0 !important;
    }

    .mobile-order-details-inner .exchange-detail-item {
        background: transparent !important;
        border: none !important;
        border-radius: 0 !important;
        box-shadow: none !important;
        padding: 0 !important;
        margin: 0 !important;
    }

    .mobile-order-details-inner .exchange-detail-item + .exchange-detail-item {
        margin-top: 14px !important;
        padding-top: 14px !important;
        border-top: 1px solid #ebf0f7 !important;
    }

    .mobile-order-details-inner .exchange-detail-label {
        font-size: 11px !important;
        font-weight: 700 !important;
        letter-spacing: 0.08em !important;
        text-transform: uppercase !important;
        color: #8a96a8 !important;
        margin-bottom: 7px !important;
    }

    .mobile-order-details-inner .exchange-detail-value {
        font-size: 15px !important;
        line-height: 1.55 !important;
        color: #4d5c74 !important;
        word-break: break-word;
        overflow-wrap: anywhere;
    }

    .mobile-order-details-inner .exchange-detail-mono {
        font-family: 'Montserrat', sans-serif !important;
        font-size: 14px !important;
        color: #2f6fb6 !important;
        letter-spacing: -0.01em;
    }
}
.site-brand-wrap {
    height: 100px;
    display: flex;
    align-items: center;
    padding: 0 30px;
}

.site-brand-wrap-mobile {
    padding: 14px 18px 10px;
}

.site-brand-link,
.site-brand-link:hover,
.site-brand-link:focus {
    text-decoration: none;
}

.site-brand-title {
    display: block;
    color: #ffffff;
    font-family: 'Montserrat', sans-serif;
    font-size: 44px;
    line-height: 0.96;
    font-weight: 500;
    letter-spacing: -0.05em;
    margin: 0;
}

.site-brand-subtitle {
    display: block;
    margin-top: 7px;
    color: rgba(255,255,255,.82);
    font-family: 'Montserrat', sans-serif;
    font-size: 10px;
    line-height: 1.3;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

@media (max-width: 767px) {
    .legacy-brand-desktop {
        display: none !important;
    }

    .mobile-top-brand {
        display: block;
    }

    .mobile-brand-title {
        font-size: 29px;
        line-height: 0.98;
        font-weight: 500;
        letter-spacing: -0.04em;
    }

    .mobile-brand-subtitle {
        margin-top: 6px;
        font-size: 8.5px;
        line-height: 1.35;
        letter-spacing: 0.07em;
        color: rgba(255,255,255,.86);
    }
}

@media (min-width: 768px) {
    .mobile-top-brand {
        display: none !important;
    }
}
@media (max-width: 767px) {
    #site-footer {
        margin-top: 26px !important;
        padding: 22px 18px !important;
        background: rgba(12, 16, 24, 0.94) !important;
    }

    #site-footer .container,
    #site-footer .row,
    #site-footer .col-xs-6 {
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    .footer-copy-mobile {
        display: flex;
        flex-direction: column;
        gap: 6px;
        font-size: 13px;
        line-height: 1.55;
        color: rgba(255,255,255,.62);
        text-align: left;
        word-break: normal;
        overflow-wrap: break-word;
    }

    .footer-copy-mobile .footer-line {
        display: block;
    }
}

/* index.php */
@keyframes blinkRed {
            0% { color: inherit; }
            50% { color: red; }
            100% { color: inherit; }
        }

        .down-arrow::before {
            content: "↓ ";
            color: red;
        }

        .blink-red {
            animation: blinkRed 3s;
        }

        @keyframes blinkGreen {
            0% { color: inherit; }
            50% { color: green; }
            100% { color: inherit; }
        }

        .blink-green {
            animation: blinkGreen 3s;
        }

        /* =========================
           MOBILE REDESIGN ONLY
        ========================== */
        @media (max-width: 767px) {
            .legacy-index-layout,
            .legacy-index-features {
                display: none !important;
            }

            .mobile-index {
                display: block;
                padding: 0 12px 18px;
            }

            .mobile-top-brand {
                padding: 14px 14px 10px;
            }

            .mobile-top-brand a,
            .mobile-top-brand a:hover,
            .mobile-top-brand a:focus {
                text-decoration: none;
            }

            .mobile-top-brand .brand-title {
                display: block;
                color: #ffffff;
                font-family: 'Montserrat', sans-serif;
                font-size: 28px;
                line-height: 1;
                font-weight: 300;
                letter-spacing: -0.03em;
                margin-bottom: 4px;
            }

            .mobile-top-brand .brand-subtitle {
                display: block;
                color: rgba(255,255,255,.92);
                font-size: 9px;
                line-height: 1.35;
                letter-spacing: 0.03em;
                text-transform: uppercase;
            }

            .legacy-brand-desktop {
                display: none !important;
            }

            .mobile-card {
                background: linear-gradient(180deg, rgba(255,255,255,0.98) 0%, rgba(248,250,253,0.98) 100%);
                border: 1px solid #dfe7f2;
                border-radius: 18px;
                padding: 16px;
                margin-bottom: 14px;
                box-shadow: 0 8px 24px rgba(25, 35, 58, 0.05);
            }

            .mobile-card-title {
                margin: 0;
                font-size: 18px;
                line-height: 1.2;
                font-weight: 700;
                color: #23314f;
            }

            .mobile-card-subtitle {
                margin: 4px 0 0 0;
                font-size: 12px;
                line-height: 1.45;
                color: #7e8aa0;
            }

            .mobile-label {
                display: block;
                margin-bottom: 8px;
                font-size: 11px;
                font-weight: 700;
                letter-spacing: 0.08em;
                text-transform: uppercase;
                color: #66748B;
            }

            .mobile-form-group {
                margin-bottom: 14px;
            }

            .mobile-input {
                width: 100%;
                height: 48px;
                border-radius: 14px;
                border: 1px solid #d9e2ef;
                background: #fff;
                box-shadow: inset 0 1px 0 rgba(255,255,255,.7);
                padding: 0 14px;
                font-size: 16px;
                color: #23314f;
                outline: none;
                transition: border-color .2s ease, box-shadow .2s ease;
            }

            .mobile-input:focus {
                border-color: #8eb6ef;
                box-shadow: 0 0 0 3px rgba(52,119,215,.08);
            }

            .mobile-input.parsley-error {
                border-color: #dc6f6f;
                box-shadow: 0 0 0 3px rgba(220,111,111,.08);
            }

            .mobile-input-wrap {
                position: relative;
            }

            .mobile-input-addon {
                position: absolute;
                right: 6px;
                top: 6px;
                height: 36px;
                min-width: 56px;
                padding: 0 12px;
                display: inline-flex;
                align-items: center;
                justify-content: center;
                border-radius: 10px;
                background: #f3f7fc;
                border: 1px solid #e0e8f3;
                color: #2d3a56;
                font-size: 13px;
                font-weight: 700;
            }

            .mobile-amount-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
    margin-bottom: 14px;
}

            .mobile-stat-row {
                display: grid;
                grid-template-columns: 1fr 1fr;
                gap: 12px;
                margin-bottom: 16px;
            }

            .mobile-stat {
                background: #fff;
                border: 1px solid #dfe7f2;
                border-radius: 14px;
                padding: 12px 14px;
            }

            .mobile-stat-label {
                display: block;
                margin-bottom: 6px;
                font-size: 11px;
                font-weight: 700;
                letter-spacing: 0.08em;
                text-transform: uppercase;
                color: #8a96a8;
            }

            .mobile-stat-value {
                font-size: 16px;
                line-height: 1.4;
                color: #23314f;
                font-weight: 700;
            }

            .mobile-stat-value.reserve {
                color: #2f79cf;
            }

            .mobile-approx {
                margin-top: 6px;
                font-size: 13px;
                line-height: 1.4;
                color: #7a8799;
            }

            .mobile-submit-btn {
                width: 100%;
                height: 52px;
                border: none;
                border-radius: 14px;
                background: linear-gradient(180deg, #3d8df0 0%, #1763d7 100%);
                color: #fff;
                font-size: 18px;
                font-weight: 700;
                letter-spacing: -0.01em;
                box-shadow: 0 12px 24px rgba(23,99,215,.22);
                transition: transform .2s ease, opacity .2s ease;
            }

            .mobile-submit-btn:disabled {
                opacity: .55;
                box-shadow: none;
            }

            .mobile-submit-btn:active {
                transform: translateY(1px);
            }

            .mobile-pair-card {
                margin-bottom: 14px;
            }

            .mobile-pair-header {
                display: flex;
                align-items: center;
                justify-content: space-between;
                gap: 10px;
                margin-bottom: 12px;
            }

            .mobile-pair-toggle {
                width: 100%;
                border: 1px solid #dbe4f1;
                border-radius: 14px;
                background: linear-gradient(180deg, #3d8df0 0%, #1763d7 100%);
                color: #fff;
                padding: 14px 16px;
                font-size: 16px;
                line-height: 1.3;
                font-weight: 600;
                text-align: left;
                display: flex;
                align-items: center;
                justify-content: space-between;
                box-shadow: 0 10px 20px rgba(23,99,215,.18);
                cursor: pointer;
            }

            .mobile-pair-list {
                margin-top: 10px;
                border: 1px solid #dfe7f2;
                border-radius: 16px;
                overflow: hidden;
                background: #fff;
            }

            .mobile-pair-item {
                display: block;
                padding: 15px 16px;
                color: #2b3954;
                font-size: 16px;
                line-height: 1.35;
                text-decoration: none !important;
                border-bottom: 1px solid #ebf0f7;
            }

            .mobile-pair-item:last-child {
                border-bottom: none;
            }

            .mobile-pair-item.active {
                background: linear-gradient(180deg, #f4f8ff 0%, #edf4ff 100%);
                color: #1763d7;
                font-weight: 700;
            }

            .mobile-help-list,
            .mobile-trust-list {
                margin: 0;
                padding: 0;
                list-style: none;
            }

            .mobile-help-list li,
            .mobile-trust-list li {
                position: relative;
                padding-left: 18px;
                margin-bottom: 10px;
                font-size: 14px;
                line-height: 1.5;
                color: #65748b;
            }

            .mobile-help-list li:last-child,
            .mobile-trust-list li:last-child {
                margin-bottom: 0;
            }

            .mobile-help-list li:before,
            .mobile-trust-list li:before {
                content: "";
                position: absolute;
                left: 0;
                top: 8px;
                width: 7px;
                height: 7px;
                border-radius: 50%;
                background: #9db3d7;
            }

            .mobile-secure-top {
                display: flex;
                align-items: flex-start;
                justify-content: space-between;
                gap: 12px;
                margin-bottom: 12px;
            }

            .mobile-secure-title {
                margin: 0;
                font-size: 18px;
                line-height: 1.2;
                font-weight: 700;
                color: #23314f;
            }

            .mobile-secure-title span {
                color: #d6a307;
            }

            .mobile-secure-text {
                margin: 4px 0 0 0;
                font-size: 13px;
                line-height: 1.5;
                color: #7e8aa0;
            }

            .mobile-secure-btn {
                display: inline-flex;
                align-items: center;
                justify-content: center;
                min-width: 118px;
                height: 40px;
                padding: 0 16px;
                border-radius: 12px;
                background: #f0b90b;
                color: #1e1e1e;
                font-size: 13px;
                font-weight: 700;
                text-decoration: none !important;
                box-shadow: 0 10px 20px rgba(240,185,11,.18);
            }

            .mobile-latest-title {
                margin: 0 0 14px 0;
                font-size: 18px;
                line-height: 1.2;
                font-weight: 700;
                color: #23314f;
            }

            .mobile-latest-center {
                text-align: center;
            }

            .mobile-latest-row {
                display: flex;
                justify-content: center;
                align-items: center;
                gap: 10px;
                margin-bottom: 12px;
            }

            .mobile-latest-img {
                width: 54px;
                height: 54px;
            }

            .mobile-latest-arrow {
                font-size: 28px;
                color: #5f6f86;
            }

            .mobile-latest-rate {
                font-size: 20px;
                line-height: 1.5;
                color: #2b3954;
            }

            .mobile-error-list {
                margin: 8px 0 0 0;
                padding: 0;
                list-style: none;
            }

            .mobile-error-list li {
                font-size: 13px;
                color: #cf5f5f;
                line-height: 1.45;
            }

            #site-footer {
                margin-top: 24px !important;
                padding: 28px 18px !important;
                background: rgba(18, 20, 28, 0.92) !important;
            }

            #site-footer .copyright {
                font-size: 13px;
                line-height: 1.7;
                color: rgba(255,255,255,.62);
            }

            .mobile-space-bottom {
                height: 6px;
            }
        }

        @media (min-width: 768px) {
            .mobile-index,
            .mobile-top-brand {
                display: none !important;
            }
        }
        @media (max-width: 767px) {
    .mobile-form-group {
        margin-bottom: 14px;
    }

    .mobile-input {
        width: 100%;
        height: 50px;
        border-radius: 14px;
        border: 1px solid #d9e2ef;
        background: #fff;
        box-shadow: inset 0 1px 0 rgba(255,255,255,.7);
        padding: 0 14px;
        font-size: 18px;
        font-weight: 500;
        color: #23314f;
        outline: none;
        transition: border-color .2s ease, box-shadow .2s ease;
    }

    .mobile-input-wrap .mobile-input {
        padding-right: 68px;
    }

    .mobile-input::placeholder {
        color: #a7b2c3;
        opacity: 1;
        font-weight: 400;
    }

    .mobile-input::-webkit-input-placeholder {
        color: #a7b2c3;
        opacity: 1;
        font-weight: 400;
    }

    .mobile-input::-moz-placeholder {
        color: #a7b2c3;
        opacity: 1;
        font-weight: 400;
    }

    .mobile-input:-ms-input-placeholder {
        color: #a7b2c3;
        opacity: 1;
        font-weight: 400;
    }

    .mobile-input::-ms-input-placeholder {
        color: #a7b2c3;
        opacity: 1;
        font-weight: 400;
    }

    .mobile-input-addon {
        position: absolute;
        right: 6px;
        top: 6px;
        height: 38px;
        min-width: 58px;
        padding: 0 12px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        border-radius: 10px;
        background: #f3f7fc;
        border: 1px solid #e0e8f3;
        color: #2d3a56;
        font-size: 13px;
        font-weight: 700;
    }

    .mobile-approx {
        margin-top: 7px;
        font-size: 13px;
        line-height: 1.4;
        color: #7a8799;
    }
}
@media (max-width: 767px) {
    .mobile-stat-row,
    .mobile-stat {
        display: none !important;
    }

    .mobile-info-strip {
        margin-top: 10px;
        border-radius: 14px;
        overflow: hidden;
        margin-bottom: 10px;
    }

    .mobile-info-strip-row {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        padding: 11px 14px;
    }

    .mobile-info-strip-row + .mobile-info-strip-row {
        border-top: 1px solid #ebf0f7;
    }

    .mobile-info-strip-label {
        flex: 0 0 auto;
        font-size: 11px;
        font-weight: 700;
        letter-spacing: 0.08em;
        text-transform: uppercase;
        color: #66748B;
        line-height: 1.2;
    }

    .mobile-info-strip-value {
        min-width: 0;
        text-align: right;
        font-size: 15px;
        line-height: 1.35;
        font-weight: 700;
        color: #23314f;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        letter-spacing: 0.02em;
    }

    .mobile-info-strip-value-reserve {
        color: #2f79cf;
    }
}
@media (max-width: 767px) {
    .mobile-rate-up {
        color: #2e9b57 !important;
        animation: blinkGreen 3s;
    }

    .mobile-rate-down {
        color: #d14b4b !important;
        animation: blinkRed 3s;
    }

    .mobile-reserve-down {
        color: #d14b4b !important;
        animation: blinkRed 3s;
    }

    .mobile-reserve-down::before {
        content: "↓ ";
        color: #d14b4b;
        font-weight: 700;
    }
}
@media (max-width: 767px) {
    .mobile-order-points {
        margin-top: 16px;
        display: flex;
        flex-direction: column;
        gap: 10px;
    }

    .mobile-order-point {
        position: relative;
        padding-left: 18px;
        font-size: 14px;
        line-height: 1.5;
        color: #6f7c92;
    }

    .mobile-order-point:before {
        content: "";
        position: absolute;
        left: 0;
        top: 8px;
        width: 7px;
        height: 7px;
        border-radius: 50%;
        background: #9db3d7;
    }
}
@media (max-width: 767px) {
    .mobile-secure-card {
        background: linear-gradient(180deg, #1a1a1a 0%, #0f0f10 100%);
        border: 1px solid rgba(240,185,11,.22);
        box-shadow: 0 16px 28px rgba(0,0,0,.28);
    }

    .mobile-secure-top {
        display: flex;
        align-items: flex-start;
        justify-content: space-between;
        gap: 14px;
        margin-bottom: 0;
    }

    .mobile-secure-title {
        margin: 0;
        font-size: 18px;
        line-height: 1.2;
        font-weight: 700;
        color: #ffffff;
    }

    .mobile-secure-title span {
        color: #f0b90b;
    }

    .mobile-secure-btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-width: 128px;
        height: 44px;
        padding: 0 16px;
        border-radius: 14px;
        background: linear-gradient(180deg, #ffd54f 0%, #f0b90b 100%);
        color: #111111;
        font-size: 14px;
        font-weight: 700;
        text-decoration: none !important;
        box-shadow: 0 10px 24px rgba(240,185,11,.22);
        flex: 0 0 auto;
    }

    .mobile-secure-btn:active {
        transform: translateY(1px);
    }
}
@media (max-width: 767px) {
    .mobile-support-card {
        padding: 14px 16px;
    }

    .mobile-support-top {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 14px;
    }

    .mobile-support-title {
        margin: 0;
        font-size: 17px;
        line-height: 1.2;
        font-weight: 700;
        color: #23314f;
    }

    .mobile-support-text {
        margin: 4px 0 0 0;
        font-size: 13px;
        line-height: 1.45;
        color: #7e8aa0;
    }

    .mobile-support-btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-width: 124px;
        height: 42px;
        padding: 0 16px;
        border-radius: 12px;
        border: 1px solid #d8e4f3;
        background: linear-gradient(180deg, #ffffff 0%, #f5f8fd 100%);
        color: #23314f;
        font-size: 14px;
        font-weight: 700;
        text-decoration: none !important;
        flex: 0 0 auto;
    }

    .mobile-support-btn:active {
        transform: translateY(1px);
    }
}
@media (max-width: 767px) {
    .mobile-latest-card {
        padding-top: 14px;
        padding-bottom: 14px;
    }

    .mobile-latest-title {
        margin: 0 0 14px 0;
        font-size: 18px;
        line-height: 1.2;
        font-weight: 700;
        color: #23314f;
    }

    .mobile-latest-center {
        text-align: center;
    }

    .mobile-latest-row {
        display: grid;
        grid-template-columns: 1fr auto 1fr;
        align-items: center;
        justify-items: center;
        column-gap: 10px;
        margin-bottom: 14px;
    }

    .mobile-latest-asset {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 64px;
        height: 64px;
    }

    .mobile-latest-img {
        width: 54px;
        height: 54px;
        display: block;
    }

    .mobile-latest-arrow {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        font-size: 28px;
        line-height: 1;
        color: #7b879c;
        min-width: 28px;
    }

    .mobile-latest-rate {
        display: grid;
        grid-template-columns: 1fr 1fr;
        column-gap: 18px;
        align-items: start;
        justify-items: center;
        font-size: 16px;
        line-height: 1.35;
        font-weight: 500;
        color: #5f6f86;
        letter-spacing: 0.01em;
    }

    .mobile-latest-rate span {
        display: block;
        text-align: center;
        min-width: 0;
    }
}
@media (max-width: 767px) {
    .mobile-latest-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.mobile-latest-asset {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
}

.mobile-latest-img {
    width: 52px;
    height: 52px;
    display: block;
}

.mobile-latest-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 25px;
    line-height: 1;
    color: #7b879c;
    min-width: 22px;
}

    .mobile-latest-rate {
    display: grid;
    grid-template-columns: auto auto;
    justify-content: center;
    column-gap: 24px;
    align-items: start;
    font-size: 16px;
    line-height: 1.35;
    font-weight: 500;
    color: #5f6f86;
    letter-spacing: 0.01em;
}

.mobile-latest-rate span {
    display: block;
    text-align: center;
    min-width: 88px;
}
}


/* =========================
   DESKTOP ONLY TUNE
========================= */
@media (min-width: 768px) {
    /* 3 главных блока */
    .legacy-index-layout .list-group,
    .legacy-index-layout .panel.corner-flip,
    .legacy-index-layout .col-sm-3 > section.panel.corner-flip {
        background: #ffffff !important;
        border: 1px solid #dfe7f2 !important;
        border-radius: 18px !important;
        box-shadow: 0 6px 18px rgba(25, 35, 58, 0.04) !important;
        overflow: hidden;
    }

    /* чтобы у правого блока не было старой рамки */
    .legacy-index-layout .col-sm-3 > section.panel.corner-flip {
       
        border: 1px solid #dfe7f2 !important;
    }
}
@media (min-width: 768px) {
    .legacy-index-layout .form-control,
    .legacy-index-layout .input-group-addon,
    .legacy-index-layout .btn.btn-primary,
    .legacy-index-layout .notice_message {
        border-radius: 10px !important;
    }

    .legacy-index-layout .form-control {
    height: 48px;
    border: 1px solid #d6dfeb !important;
    background: #fff !important;
    box-shadow: none;
    color: #23314f;
    font-size: 17px;
    font-weight: 500;
}

    .legacy-index-layout .form-control:focus {
        border-color: #8eb6ef !important;
        box-shadow: 0 0 0 3px rgba(52,119,215,.08) !important;
    }

    .legacy-index-layout .input-group-addon {
        border: 1px solid #e0e8f3 !important;
        background: #f3f7fc !important;
        color: #2d3a56 !important;
        font-size: 13px;
        font-weight: 700;
        min-width: 58px;
    }

    .legacy-index-layout .input-group .form-control:first-child {
        border-top-right-radius: 14px !important;
        border-bottom-right-radius: 14px !important;
    }

    .legacy-index-layout .input-group-addon:last-child {
        margin-left: -58px;
        position: relative;
        z-index: 3;
        height: 38px;
        top: 6px;
        right: 6px;
        border-radius: 10px !important;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .legacy-index-layout .input-group {
        position: relative;
        width: 100%;
    }

    .legacy-index-layout .input-group .form-control {
        padding-right: 70px;
        width: 100%;
    }
}
@media (min-width: 768px) {
    .legacy-index-layout .panel-heading h3 {
    color: #23314f !important;
    font-weight: 650 !important;
    letter-spacing: -0.01em;
}

    .legacy-index-layout .panel-heading small,
    .legacy-index-layout .panel-heading,
    .legacy-index-layout .panel-heading strong {
        color: #4f5d75 !important;
    }

    .legacy-index-layout .panel-heading {
        border-bottom: 1px solid #ebf0f7 !important;
        background: transparent !important;
    }
}
@media (min-width: 768px) {
    .legacy-index-layout .col-sm-3 .list-group {
        
        border-radius: 16px !important;
        overflow: hidden;
        border: 1px solid #dfe7f2 !important;
        background: #fff !important;
        box-shadow: none !important;
    }

    .legacy-index-layout .col-sm-3 .list-group-item {
        border: 0 !important;
        border-bottom: 1px solid #ebf0f7 !important;
        background: transparent !important;
        padding: 16px 16px 14px !important;
        transition: background .2s ease, transform .2s ease;
    }

    .legacy-index-layout .col-sm-3 .list-group-item:last-child {
        border-bottom: 0 !important;
    }

    .legacy-index-layout .col-sm-3 .list-group-item:hover {
        background: #f8fbff !important;
    }

    .legacy-index-layout .col-sm-3 .list-group-item.active {
        background: linear-gradient(180deg, #f4f8ff 0%, #edf4ff 100%) !important;
        color: #1763d7 !important;
        border: 0 !important;
    }

    .legacy-index-layout .col-sm-3 .list-group-item-heading {
        font-size: 16px !important;
        line-height: 1.35 !important;
        font-weight: 600 !important;
        color: #2b3954 !important;
        margin-bottom: 6px !important;
    }

    .legacy-index-layout .col-sm-3 .list-group-item.active .list-group-item-heading {
        color: #1763d7 !important;
    }

    .legacy-index-layout .col-sm-3 .list-group-item-text,
    .legacy-index-layout .col-sm-3 .list-group-item-text small {
        color: #7a8799 !important;
        line-height: 1.5 !important;
        font-size: 12px !important;
    }

    .legacy-index-layout .col-sm-3 .list-group-item-text strong {
        color: #2f79cf !important;
        font-weight: 700;
    }
}
@media (min-width: 768px) {
    .legacy-index-layout #submitBtn {
    height: 50px;
    border: 1px solid #35517a !important;
    border-radius: 8px !important;
    background: #314b73 !important;
    color: #ffffff !important;
    font-size: 17px !important;
    font-weight: 600 !important;
    box-shadow: 0 2px 8px rgba(20, 34, 56, 0.18);
    text-shadow: 0 1px 0 rgba(0,0,0,.12);
    transition: background .2s ease, border-color .2s ease, box-shadow .2s ease, opacity .2s ease;
}
.legacy-index-layout #submitBtn:hover:not(:disabled),
.legacy-index-layout #submitBtn:focus:not(:disabled) {
    background: #3a567f !important;
    border-color: #40608d !important;
    box-shadow: 0 4px 12px rgba(20, 34, 56, 0.24);
}

    .legacy-index-layout #submitBtn:disabled {
    background: #8fa0b8 !important;
    border-color: #8798b0 !important;
    color: rgba(255,255,255,.92) !important;
    opacity: 1;
    box-shadow: none;
    cursor: default;
}

    .legacy-index-layout .notice_message {
        background: #fff !important;
        border: 1px solid #dfe7f2 !important;
        padding: 18px 20px !important;
        color: #6f7c92 !important;
    }

    .legacy-index-layout .notice_message_title span {
        color: #2b3954 !important;
        font-weight: 700 !important;
        text-transform: uppercase;
        letter-spacing: .04em;
    }
}
@media (min-width: 768px) {
    .exchange-group-card {
        background: linear-gradient(180deg, rgba(255,255,255,0.98) 0%, rgba(248,250,253,0.98) 100%);
        border: 1px solid #dfe7f2;
        border-radius: 12px;
        box-shadow: 0 6px 18px rgba(25, 35, 58, 0.04);
        overflow: hidden;
        margin-bottom: 18px;
    }

    .exchange-group-title {
        padding: 16px 18px 12px;
        font-size: 12px;
        font-weight: 700;
        letter-spacing: 0.08em;
        text-transform: uppercase;
        color: #66748B;
        border-bottom: 1px solid #ebf0f7;
    }

    .exchange-group-list {
        margin-bottom: 0 !important;
        border: 0 !important;
        box-shadow: none !important;
        background: transparent !important;
    }

    .exchange-group-list .list-group-item {
        border: 0 !important;
        border-bottom: 1px solid #ebf0f7 !important;
        background: transparent !important;
        padding: 13px 16px 11px !important;
        transition: background .2s ease;
    }

    .exchange-group-list .list-group-item:last-child {
        border-bottom: 0 !important;
    }

    .exchange-group-list .list-group-item:hover {
        background: #f8fbff !important;
    }

    .exchange-group-list .list-group-item.active {
        background: linear-gradient(180deg, #f4f8ff 0%, #edf4ff 100%) !important;
        border: 0 !important;
    }

    .exchange-group-list .list-group-item-heading {
        font-size: 15px !important;
        line-height: 1.3 !important;
        font-weight: 600 !important;
        color: #2b3954 !important;
        margin-bottom: 6px !important;
    }

    .exchange-group-list .list-group-item.active .list-group-item-heading {
        color: #1763d7 !important;
    }

    .exchange-group-list .list-group-item-text,
    .exchange-group-list .list-group-item-text small {
        color: #7a8799 !important;
        line-height: 1.5 !important;
        font-size: 11px !important;
    }

    .exchange-group-list .list-group-item-text strong {
        color: #2f79cf !important;
        font-weight: 700;
    }
}
@media (min-width: 768px) {
    #btcToEthRate {
        color: #2b3954 !important;
        font-weight: 600;
        transition: color .2s ease;
    }

    #ethReserve {
        color: #2f79cf !important;
        font-weight: 700;
        transition: color .2s ease;
    }

    #btcToEthRateSecondary {
        transition: color .2s ease;
    }

    #ethReserveSecondary {
        color: #2f79cf !important;
        transition: color .2s ease;
    }

    #btcToEthRate.blink-green,
    #btcToEthRateSecondary.blink-green {
        color: #2e9b57 !important;
    }

    #btcToEthRate.blink-red,
    #btcToEthRateSecondary.blink-red {
        color: #d14b4b !important;
    }

    #ethReserve.blink-red,
    #ethReserveSecondary.blink-red,
    #ethReserve.down-arrow,
    #ethReserveSecondary.down-arrow {
        color: #d14b4b !important;
    }

    #ethReserve.down-arrow::before,
    #ethReserveSecondary.down-arrow::before {
        content: "↓ ";
        color: #d14b4b !important;
        font-weight: 700;
    }
}
@media (min-width: 768px) {
    .notice_message.notice_message_modern {
    background: #f8fbff !important;
    border: 1px solid #dbe4f0 !important;
    border-radius: 10px !important;
    padding: 18px 20px !important;
    text-align: center;
    box-shadow: none;
}

    .notice_message.notice_message_modern .notice_message_title {
        margin-bottom: 8px;
    }

    .notice_message.notice_message_modern .notice_message_title span {
    display: inline-block;
    font-size: 13px;
    line-height: 1.3;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #1763d7 !important;
}

    .notice_message.notice_message_modern p {
    margin: 0;
    font-size: 14px;
    line-height: 1.55;
    color: #607089 !important;
}
}
@media (min-width: 768px) {
    .desktop-support-card {
        margin: 14px 0 18px;
        padding: 14px 16px;
        border: 1px solid #dfe7f2;
        border-radius: 12px;
        background: #ffffff;
    }

    .desktop-support-top {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 14px;
    }

    .desktop-support-title {
        margin: 0;
        font-size: 17px;
        line-height: 1.2;
        font-weight: 700;
        color: #23314f;
    }

    .desktop-support-text {
        margin: 4px 0 0 0;
        font-size: 13px;
        line-height: 1.45;
        color: #7e8aa0;
    }

    .desktop-support-btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-width: 124px;
        height: 42px;
        padding: 0 16px;
        border-radius: 12px;
        border: 1px solid #d8e4f3;
        background: linear-gradient(180deg, #ffffff 0%, #f5f8fd 100%);
        color: #23314f;
        font-size: 14px;
        font-weight: 700;
        text-decoration: none !important;
        flex: 0 0 auto;
    }

    .desktop-support-btn:hover,
    .desktop-support-btn:focus {
        text-decoration: none !important;
        color: #23314f;
    }
}
@media (min-width: 768px) {
    .desktop-need-card {
        margin: 4px 0 26px;
    }

    .desktop-need-title {
        margin: 0;
        font-size: 18px;
        line-height: 1.2;
        font-weight: 700;
        color: #23314f;
    }

    .desktop-need-subtitle {
        margin: 4px 0 0 0;
        font-size: 12px;
        line-height: 1.45;
        color: #7e8aa0;
    }

    .desktop-need-list {
        margin: 14px 0 0 0;
        padding: 0;
        list-style: none;
    }

    .desktop-need-list li {
        position: relative;
        padding-left: 18px;
        margin-bottom: 10px;
        font-size: 14px;
        line-height: 1.5;
        color: #65748b;
    }

    .desktop-need-list li:last-child {
        margin-bottom: 0;
    }

    .desktop-need-list li:before {
        content: "";
        position: absolute;
        left: 0;
        top: 8px;
        width: 7px;
        height: 7px;
        border-radius: 50%;
        background: #9db3d7;
    }
}
@media (min-width: 768px) {
    /* SUPPORT — desktop strip */
    .desktop-support-strip {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 18px;
        margin: 16px 0 24px;
        padding: 16px 0 18px;
    
        border-bottom: 2px solid #edf2f8;
    }

    .desktop-support-strip-title {
        margin: 0;
        font-size: 17px;
        line-height: 1.2;
        font-weight: 600;
        color: #23314f;
    }

    .desktop-support-strip-text {
        margin: 4px 0 0 0;
        font-size: 13px;
        line-height: 1.45;
        color: #7e8aa0;
    }

    .desktop-support-strip-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 44px;
    min-width: 152px;
    padding: 0 20px;
    border-radius: 12px;
    border: 1px solid #d6e1ef;
    background: linear-gradient(180deg, #ffffff 0%, #f7faff 100%);
    color: #2b3954;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none !important;
    box-shadow: 0 6px 16px rgba(25, 35, 58, 0.05);
    transition: transform 0.3s ease, background .2s ease, box-shadow .2s ease, border-color .2s ease;
    flex: 0 0 auto;
}

.desktop-support-strip-btn:hover,
.desktop-support-strip-btn:focus {
    text-decoration: none !important;
    color: #23314f;
    background: #f8fbff;
    border-color: #cfdceb;
    box-shadow: 0 8px 18px rgba(25, 35, 58, 0.06);
    transform: scale(1.1);
}
    /* NEED TO KNOW — desktop section, no card */
    .desktop-need-section {
        margin: 8px 0 34px;
        padding-top: 8px;
    }

    .desktop-need-section-title {
        margin: 0;
        font-size: 16px;
        line-height: 1.25;
        font-weight: 600;
        color: #3b4b68;
    }

    .desktop-need-section-subtitle {
        margin: 5px 0 0 0;
        font-size: 12px;
        line-height: 1.45;
        color: #99a5b7;
    }

    .desktop-need-section-list {
        margin: 14px 0 0 0;
        padding: 0;
        list-style: none;
    }

    .desktop-need-section-list li {
        position: relative;
        padding-left: 16px;
        margin-bottom: 10px;
        font-size: 13px;
        line-height: 1.55;
        color: #6f7c92;
    }

    .desktop-need-section-list li:last-child {
        margin-bottom: 0;
    }

    .desktop-need-section-list li:before {
        content: "";
        position: absolute;
        left: 0;
        top: 8px;
        width: 6px;
        height: 6px;
        border-radius: 50%;
        background: #b7c7df;
    }
}

.binance-section {
    font-family: 'Montserrat', sans-serif;
    background: linear-gradient(180deg, #1a1a1a 0%, #0f0f10 100%);
    color: #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 24px 20px;
    box-sizing: border-box;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 16px 28px rgba(0,0,0,.28);
}

                                .binance-section h1 {
                                    color: #ffffff;
                                    font-size: clamp(1.2rem, 3vw, 1.8rem);
                                    margin-bottom: 10px;
                                    line-height: 1.2;
                                    white-space: normal;
                                    word-break: break-word;
                                    overflow: hidden;
                                }

                                .binance-section h1 span {
    color: #F0B90B;
    font-weight: 550;
    letter-spacing: 0.013em;
}

                                .binance-section p {
    font-size: clamp(0.8rem, 2.5vw, 1rem);
    margin-bottom: 20px;
    line-height: 1.4;
    white-space: normal;
    word-break: break-word;
    overflow: hidden;
    color: rgba(255,255,255,.82);
}

                                .binance-section .binance-button {
    display: inline-block;
    background: linear-gradient(180deg, #ffd54f 0%, #f0b90b 100%);
    color: #111;
    padding: 12px 20px;
    font-size: clamp(0.8rem, 2.5vw, 1rem);
    font-weight: 700;
    text-decoration: none;
    border-radius: 12px;
    transition: transform 0.3s ease;
    white-space: nowrap;
    box-shadow: 0 10px 20px rgba(240,185,11,.18);
}

                                .binance-section .binance-button:hover {
                                    transform: scale(1.1);
                                }

                                @media (max-width: 768px) {
                                    .binance-section h1 {
                                        font-size: clamp(1rem, 4vw, 1.5rem);
                                    }

                                    .binance-section p {
                                        font-size: clamp(0.7rem, 2.5vw, 0.9rem);
                                    }

                                    .binance-section .binance-button {
                                        padding: 8px 16px;
                                    }
                                }

                                .list-group-item {
                                    overflow: hidden;
                                }

                                .zoom-img {
                                    max-width: 100%;
                                    max-height: 100%;
                                    transition: transform 0.3s ease;
                                }

                                .zoom-img:hover {
                                    transform: scale(1.1);
                                }

                                .zoom {
                                    max-width: 100%;
                                    max-height: 100%;
                                    transition: transform 0.3s ease;
                                }

                                .zoom:hover {
                                    transform: scale(1.02);
                                }

                                .exchange-container {
                                    display: flex;
                                    flex-direction: column;
                                    align-items: center;
                                }

                                .exchange-row {
                                    display: flex;
                                    justify-content: center;
                                    align-items: center;
                                    gap: 5px;
                                }

                                .exchange-img {
                                    width: 55px;
                                    height: 55px;
                                }

                                .exchange-rate {
                                    font-size: 18px;
                                    text-align: center;
                                    margin-top: 10px;
                                }

                                .fade-out {
                                    opacity: 0;
                                    visibility: hidden;
                                    transition: opacity 1.5s ease, visibility 0s 1.5s;
                                }

                                .fade-in {
                                    opacity: 1;
                                    visibility: visible;
                                    transition: opacity 1.5s ease;
                                }

                                .fade-in-container {
                                    opacity: 1;
                                    visibility: visible;
                                }

                                .fade-in-container-hidden {
                                    opacity: 0;
                                    visibility: hidden;
                                }

/* order_btc_to_eth.php */
.rotate {
     -webkit-animation-name: spin;
    -webkit-animation-duration: 10000ms;
    -webkit-animation-iteration-count: infinite;
    -webkit-animation-timing-function: linear;
    -moz-animation-name: spin;
    -moz-animation-duration: 10000ms;
    -moz-animation-iteration-count: infinite;
    -moz-animation-timing-function: linear;
    -ms-animation-name: spin;
    -ms-animation-duration: 10000ms;
    -ms-animation-iteration-count: infinite;
    -ms-animation-timing-function: linear;
 
    animation-name: spin;
    animation-duration: 10000ms;
    animation-iteration-count: infinite;
    animation-timing-function: linear;
}
@-ms-keyframes spin {
    from { -ms-transform: rotate(0deg); }
    to { -ms-transform: rotate(360deg); }
}
@-moz-keyframes spin {
    from { -moz-transform: rotate(0deg); }
    to { -moz-transform: rotate(360deg); }
}
@-webkit-keyframes spin {
    from { -webkit-transform: rotate(0deg); }
    to { -webkit-transform: rotate(360deg); }
}
@keyframes spin {
    from {
        transform:rotate(0deg);
    }
    to {
        transform:rotate(360deg);
    }
}
.copy-address-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    background: #fff;
    border: 1px solid #cfd7e6;
    border-radius: 10px;
    padding: 8px 12px;
    margin-left: 10px;
    color: #222a45;
    font-size: 12px;
    font-weight: 600;
    line-height: 1;
    cursor: pointer;
    transition: all .2s ease;
    vertical-align: middle;
    white-space: nowrap;
}

.copy-address-btn:hover,
.copy-address-btn:focus {
    background: #f3f7ff;
    border-color: #9fb2d8;
    outline: none;
}

.copy-address-btn svg {
    width: 14px;
    height: 14px;
    display: block;
    flex: 0 0 auto;
}

.copy-address-btn .copy-btn-text {
    display: inline;
}

.btc-address-inline {
    display: inline-block;
    vertical-align: middle;
    max-width: 100%;
    word-break: break-all;
}

.desktop-btc-line {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    flex-wrap: wrap;
}

@media (max-width: 1366px) {
    .copy-address-btn.copy-address-btn-desktop {
        width: 40px;
        height: 40px;
        min-width: 40px;
        padding: 0;
        border-radius: 10px;
        margin-left: 0;
        gap: 0;
    }

    .copy-address-btn.copy-address-btn-desktop .copy-btn-text {
        display: none;
    }
}
.order-summary-box {
    border:1px solid #e2e8f0;
    border-radius:12px;
    padding:18px 20px;
    background:#fafcff;
}
.order-summary-title {
    margin-top:0;
    margin-bottom:14px;
    line-height:1.45;
}
.order-summary-address {
    margin:10px 0 14px 0;
    padding:10px 12px;
    background:#fff;
    border:1px solid #dfe7f2;
    border-radius:8px;
    word-break:break-all;
}
.table-mobile-fix td {
    word-break:break-word;
}
.table-mobile-fix td.address-cell {
    word-break:break-all;
}
.copy-toast {
    position:fixed;
    right:18px;
    bottom:18px;
    z-index:99999;
    background:#222a45;
    color:#fff;
    border-radius:10px;
    padding:12px 16px;
    font-size:14px;
    box-shadow:0 12px 28px rgba(0,0,0,.18);
    opacity:0;
    transform:translateY(10px);
    transition:opacity .25s ease, transform .25s ease;
    pointer-events:none;
}
.copy-toast.show {
    opacity:1;
    transform:translateY(0);
}
@media (max-width: 767px) {
    .mobile-address-card {
        background:#f7f9fc;
        border:1px solid #dfe7f2;
        border-radius:12px;
        padding:12px;
        margin-bottom:18px;
        width:100%;
        overflow:hidden;
        box-sizing:border-box;
    }

    .mobile-address-text {
        display:block;
        width:100%;
        max-width:100%;
        color:#337ab7;
        font-weight:700;
        font-family:'Montserrat', sans-serif;
        font-size:15px;
        line-height:1.15;
        white-space:nowrap;
        overflow:hidden;
        word-break:normal;
        overflow-wrap:normal;
        letter-spacing:-0.02em;
        margin-bottom:10px;
        box-sizing:border-box;
    }

    .mobile-copy-btn {
        width:100%;
        justify-content:center;
        margin-left:0;
        padding:10px 12px;
        font-size:13px;
    }

    .order-summary-box {
        padding:16px;
    }

    .order-summary-title {
        font-size:18px;
    }

    .table-mobile-fix,
    .table-mobile-fix tbody,
    .table-mobile-fix tr,
    .table-mobile-fix td {
        display:block;
        width:100%;
    }

    .table-mobile-fix tr {
        border-bottom:1px solid #e6ecf3;
    }

    .table-mobile-fix tr:last-child {
        border-bottom:none;
    }

    .table-mobile-fix td {
        text-align:left !important;
        border:none !important;
        padding:12px 14px !important;
    }

    .table-mobile-fix td:first-child {
        background:#f7f9fc;
        font-weight:700;
        border-bottom:1px solid #edf2f7 !important;
    }
    .mobile-eth-text {
    display:block;
    width:100%;
    max-width:100%;
    font-family:'Montserrat', sans-serif;
    font-weight:700;
    font-size:15px;
    line-height:1.15;
    white-space:nowrap;
    overflow:hidden;
    word-break:normal;
    overflow-wrap:normal;
    letter-spacing:-0.02em;
    box-sizing:border-box;
}
}
@media (min-width: 768px) {
    .order-summary-box {
        border: 1px solid #e2e8f0;
        border-radius: 18px;
        padding: 22px 24px;
        background: linear-gradient(180deg, #fcfdff 0%, #f7faff 100%);
        box-shadow: 0 10px 30px rgba(34, 42, 69, 0.05);
    }

    .order-summary-desktop {
        display: grid;
        grid-template-columns: minmax(0, 1.5fr) 420px;
        gap: 24px;
        align-items: start;
    }

    .order-summary-left {
        min-width: 0;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
    }

    .order-summary-title {
        margin: 0 0 8px 0;
        font-size: 20px;
        line-height: 1.45;
        color: #4c596f;
    }

    .order-summary-subtitle {
        margin: 0 0 12px 0;
        font-size: 14px;
        line-height: 1.5;
        color: #7a8799;
    }

    .order-summary-main {
    display: inline-flex;
    align-items: center; 
    justify-content: flex-start;
    gap: 16px;
    flex-wrap: nowrap;
    max-width: 100%;
    margin-top: 0;
}

    .order-summary-address-block {
        min-width: 0;
        max-width: 720px;
        padding-top: 0;
    }

    .order-summary-address-label {
        display: block;
        margin-bottom: 8px;
        font-size: 11px;
        font-weight: 700;
        letter-spacing: 0.08em;
        text-transform: uppercase;
        color: #8a96a8;
    }

    .order-summary-address {
        display: inline-flex;
        align-items: center;
        max-width: 100%;
        margin: 0;
        padding: 14px 18px;
        background: #ffffff;
        border: 1px solid #dfe7f2;
        border-radius: 14px;
        word-break: break-all;
        line-height: 1.45;
        font-size: 16px;
        color: #53627a;
        box-shadow: inset 0 1px 0 rgba(255,255,255,.7);
    }

    .order-summary-qr {
        flex: 0 0 auto;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 132px;
        height: 132px;
        background: #ffffff;
        border: 1px solid #dfe7f2;
        border-radius: 16px;
        padding: 10px;
        box-shadow: 0 8px 20px rgba(34, 42, 69, 0.05);
    }

    .order-summary-qr img {
        display: block;
        width: 110px;
        height: 110px;
    }

    .order-summary-right {
        background: #ffffff;
        border: 1px solid #e4ebf4;
        border-radius: 16px;
        padding: 18px 20px;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
    }

    .order-summary-info-item + .order-summary-info-item {
        margin-top: 16px;
        padding-top: 16px;
        border-top: 1px solid #edf2f7;
    }

    .order-summary-info-label {
        display: block;
        margin-bottom: 6px;
        font-size: 11px;
        font-weight: 700;
        letter-spacing: 0.08em;
        text-transform: uppercase;
        color: #8a96a8;
    }

    .order-summary-info-text {
        margin: 0;
        font-size: 15px;
        line-height: 1.6;
        color: #5b687d;
    }
}

@media (min-width: 1400px) {
    .order-summary-desktop {
        grid-template-columns: minmax(0, 1.65fr) 400px;
        gap: 30px;
    }
}

@media (max-width: 767px) {
    .order-summary-qr {
        display: none;
    }
}
.exchange-details {
    margin-top: 8px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.exchange-detail-item {
    background: #ffffff;
    border: 1px solid #e3eaf4;
    border-radius: 14px;
    padding: 14px 16px;
    box-shadow: 0 4px 14px rgba(34, 42, 69, 0.03);
}

.exchange-detail-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #8a96a8;
    margin-bottom: 8px;
    line-height: 1.4;
}

.exchange-detail-value {
    font-size: 15px;
    line-height: 1.55;
    color: #56647b;
    word-break: break-word;
    overflow-wrap: anywhere;
}

.exchange-detail-mono {
    font-family: 'Montserrat', sans-serif !important;
    font-size: 14px;
}

@media (max-width: 767px) {
    .exchange-details {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .exchange-detail-item {
        border-radius: 0;
        border-left: 1px solid #e6edf5;
        border-right: 1px solid #e6edf5;
        border-top: 1px solid #e6edf5;
        border-bottom: none;
        box-shadow: none;
        padding: 14px 12px;
    }

    .exchange-detail-item:first-child {
        border-top-left-radius: 12px;
        border-top-right-radius: 12px;
    }

    .exchange-detail-item:last-child {
        border-bottom: 1px solid #e6edf5;
        border-bottom-left-radius: 12px;
        border-bottom-right-radius: 12px;
    }

    .exchange-detail-label {
        font-size: 12px;
        margin-bottom: 6px;
    }

    .exchange-detail-value {
        font-size: 14px;
        line-height: 1.5;
    }
}
@media (max-width: 767px) {
    .mobile-redesign {
        display: block;
        padding: 14px 1px 4px;
    }

    .mobile-redesign-card {
        background: linear-gradient(180deg, rgba(255,255,255,0.98) 0%, rgba(248,250,253,0.98) 100%);
        border: 1px solid #dfe7f2;
        border-radius: 18px;
        padding: 16px;
        margin-bottom: 14px;
        box-shadow: 0 8px 24px rgba(25, 35, 58, 0.06);
    }

    .mobile-redesign-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 10px;
        margin-bottom: 14px;
    }

    .mobile-redesign-title-wrap {
        display: flex;
        align-items: center;
        gap: 10px;
        min-width: 0;
    }

    .mobile-redesign-icon {
    width: 36px;
    height: 36px;
    min-width: 36px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(180deg, #56a8f0 0%, #2f79cf 100%);
    color: #fff;
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.22),
        0 8px 18px rgba(47,121,207,.18);
}

    .mobile-redesign-icon svg {
        width: 18px;
        height: 18px;
        display: block;
    }

    .mobile-redesign-title {
        margin: 0;
        font-size: 18px;
        line-height: 1.2;
        font-weight: 700;
        color: #23314f;
    }

    .mobile-redesign-subtitle {
        margin: 2px 0 0 0;
        font-size: 12px;
        line-height: 1.45;
        color: #7e8aa0;
    }

    .mobile-redesign-amount {
        margin: 0 0 14px 0;
        font-size: 17px;
        line-height: 1.25;
        color: #5f6f86;
    }

    .mobile-redesign-amount strong {
        display: block;
        margin-top: 4px;
        font-size: 24px;
        line-height: 1.15;
        color: #22304c;
        font-weight: 700;
    }

    .mobile-redesign-label {
        display: block;
        margin-bottom: 8px;
        font-size: 11px;
        font-weight: 700;
        letter-spacing: 0.08em;
        text-transform: uppercase;
        color: #8a96a8;
    }

    .mobile-redesign-address-box {
        background: #fff;
        border: 1px solid #dfe7f2;
        border-radius: 16px;
        padding: 12px 12px 10px;
        margin-bottom: 10px;
        overflow: hidden;
    }

    .mobile-redesign-address {
        display: block;
        width: 100%;
        max-width: 100%;
        color: #2f7fd0;
        font-weight: 700;
        font-family: 'Montserrat', sans-serif;
        font-size: 15px;
        line-height: 1.15;
        white-space: nowrap;
        overflow: hidden;
        word-break: normal;
        overflow-wrap: normal;
        letter-spacing: -0.02em;
        box-sizing: border-box;
    }

    .mobile-redesign-address.address-secondary {
        color: #2f6fb6;
    }

    .mobile-redesign-copy-btn {
        width: 100%;
        justify-content: center;
        margin-left: 0;
        margin-top: 12px;
        padding: 12px 14px;
        font-size: 14px;
        border-radius: 14px;
        background: linear-gradient(180deg, #ffffff 0%, #f5f8fd 100%);
        border-color: #d5deec;
        color: #22304c;
        font-weight: 700;
    }

    .mobile-redesign-copy-btn:active {
        transform: translateY(1px);
    }

    .mobile-redesign-hint {
        margin: 0;
        font-size: 13px;
        line-height: 1.5;
        color: #7d889a;
    }

    .mobile-redesign-status-time {
        margin-left: auto;
        text-align: right;
        min-width: 96px;
    }

    .mobile-redesign-status-time .time {
        display: block;
        font-size: 28px;
        line-height: 1;
        font-weight: 700;
        color: #1f5ea9;
        letter-spacing: -0.03em;
    }

    .mobile-redesign-status-time .caption {
        display: block;
        margin-top: 4px;
        font-size: 12px;
        color: #8390a4;
    }

    .mobile-redesign-status-main {
        margin: 0 0 8px 0;
        font-size: 27px;
        line-height: 1.15;
        font-weight: 700;
        color: #22304c;
        letter-spacing: -0.02em;
    }

    .mobile-redesign-status-note {
        margin: 0;
        font-size: 14px;
        line-height: 1.55;
        color: #68778f;
    }

    .mobile-redesign-bullets {
        margin: 14px 0 0 0;
        padding: 0;
        list-style: none;
    }

    .mobile-redesign-bullets li {
        position: relative;
        padding-left: 18px;
        margin-bottom: 10px;
        font-size: 14px;
        line-height: 1.5;
        color: #637289;
    }

    .mobile-redesign-bullets li:last-child {
        margin-bottom: 0;
    }

    .mobile-redesign-bullets li:before {
        content: "";
        position: absolute;
        left: 0;
        top: 8px;
        width: 7px;
        height: 7px;
        border-radius: 50%;
        background: #9db3d7;
    }

    .mobile-redesign-mini-note {
        margin-top: 12px;
        padding-top: 12px;
        border-top: 1px solid #e8eef7;
        font-size: 13px;
        line-height: 1.5;
        color: #7a8799;
    }

    .status-icon-soft {
        animation: softPulse 2.4s ease-in-out infinite;
        background: linear-gradient(180deg, #5b8df0 0%, #3d6fd5 100%);
    animation: softPulse 2.4s ease-in-out infinite;
    }

    @keyframes softPulse {
        0% { transform: scale(1); opacity: 1; }
        50% { transform: scale(1.06); opacity: .85; }
        100% { transform: scale(1); opacity: 1; }
    }

    /* Скрываем старые мобильные блоки */
    .mobile-legacy-hide {
        display: none !important;
    }

    /* Чуть чище нижний details-блок на мобилке */
    .exchange-details {
        margin-top: 14px;
    }

    .exchange-detail-item {
        border-radius: 14px !important;
        border: 1px solid #e5ecf5 !important;
        box-shadow: none !important;
        background: rgba(255,255,255,0.92);
        padding: 14px 14px !important;
    }

    .exchange-detail-item + .exchange-detail-item {
        margin-top: 0;
    }

    .exchange-detail-label {
        font-size: 11px !important;
        margin-bottom: 7px !important;
    }

    .exchange-detail-value {
        font-size: 14px !important;
        line-height: 1.5 !important;
    }

    /* На мобилке прячем старый FAQ */
    .mobile-hide-faq {
        display: none !important;
    }
}

@media (min-width: 768px) {
    .mobile-redesign {
        display: none !important;
    }
}
@media (max-width: 767px) {
    .order-summary-box {
        display: none !important;
    }
}
@media (max-width: 767px) {
    #info {
        display: none !important;
    }
}
@media (max-width: 767px) {
    .mobile-top-brand {
        padding: 14px 14px 10px;
    }

    .mobile-top-brand a,
    .mobile-top-brand a:hover,
    .mobile-top-brand a:focus {
        text-decoration: none;
    }

    .mobile-top-brand .brand-title {
        display: block;
        color: #ffffff;
        font-family: 'Montserrat', sans-serif;
        font-size: 28px;
        line-height: 1;
        font-weight: 300;
        letter-spacing: -0.03em;
        margin-bottom: 4px;
    }

    .mobile-top-brand .brand-subtitle {
        display: block;
        color: rgba(255,255,255,.92);
        font-size: 9px;
        line-height: 1.35;
        letter-spacing: 0.03em;
        text-transform: uppercase;
    }

    .mobile-order-header {
        background: linear-gradient(180deg, rgba(23,31,58,.96) 0%, rgba(28,37,68,.96) 100%);
        padding: 12px 14px 14px;
    }

    .mobile-order-header-top {
        margin-bottom: 6px;
    }

    .mobile-order-header-label {
        display: block;
        font-size: 11px;
        text-transform: uppercase;
        letter-spacing: 0.08em;
        color: rgba(255,255,255,.62);
        line-height: 1;
    }

    .mobile-order-header-row {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
    }

    .mobile-order-header-id {
        display: block;
        color: #ffffff;
        font-size: 21px;
        line-height: 1;
        font-weight: 600;
        letter-spacing: -0.02em;
    }

    @media (max-width: 767px) {
    .mobile-cancel-btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        flex: 0 0 auto;
        height: 34px;
        padding: 0 12px;
        border-radius: 11px;
        border: 1px solid rgba(255,255,255,.10);
        background: rgba(255,255,255,.88);
        color: rgba(35,49,79,.82);
        font-size: 12px;
        font-weight: 600;
        line-height: 1;
        text-decoration: none !important;
        box-shadow: none;
        margin: 0;
        transition: background .2s ease, color .2s ease, border-color .2s ease;
    }

    .mobile-cancel-btn:hover,
    .mobile-cancel-btn:focus {
        background: rgba(255,255,255,.94);
        color: rgba(35,49,79,.92);
        border-color: rgba(255,255,255,.16);
    }

    .mobile-cancel-btn:active {
        transform: translateY(1px);
        background: rgba(255,255,255,.82);
    }
}

    /* старый desktop-brand на мобилке не нужен */
    .legacy-brand-desktop {
        display: none !important;
    }
}
@media (max-width: 767px) {
    .mobile-section-title {
        margin: 18px 0 12px;
        padding: 0 1px;
        font-size: 13px;
        font-weight: 700;
        letter-spacing: 0.08em;
        text-transform: uppercase;
        color: #23314f;
    }

    .exchange-details {
        grid-template-columns: 1fr !important;
        gap: 12px !important;
        margin-top: 0 !important;
        padding: 0 1px;
    }

    .exchange-detail-item {
        background: linear-gradient(180deg, rgba(255,255,255,0.98) 0%, rgba(248,250,253,0.98) 100%) !important;
        border: 1px solid #dfe7f2 !important;
        border-radius: 18px !important;
        padding: 15px 16px !important;
        box-shadow: 0 8px 24px rgba(25, 35, 58, 0.05) !important;
    }

    .exchange-detail-label {
        font-size: 11px !important;
        font-weight: 700 !important;
        letter-spacing: 0.08em !important;
        text-transform: uppercase !important;
        color: #8a96a8 !important;
        margin-bottom: 8px !important;
    }

    .exchange-detail-value {
        font-size: 15px !important;
        line-height: 1.55 !important;
        color: #495972 !important;
    }

    .exchange-detail-mono {
        font-family: 'Montserrat', sans-serif !important;
        font-size: 14px !important;
        letter-spacing: -0.01em;
        color: #2f6fb6 !important;
    }
}
@media (max-width: 767px) {
    .mobile-help-card {
        padding: 0 1px;
        margin: 4px 0 16px;
    }

    .mobile-help-card-inner {
        background: linear-gradient(180deg, rgba(255,255,255,0.98) 0%, rgba(248,250,253,0.98) 100%);
        border: 1px solid #dfe7f2;
        border-radius: 18px;
        padding: 16px;
        box-shadow: 0 8px 24px rgba(25, 35, 58, 0.05);
    }

    .mobile-help-top {
        display: flex;
        align-items: flex-start;
        justify-content: space-between;
        gap: 12px;
        margin-bottom: 14px;
    }

    .mobile-help-title {
        margin: 0;
        font-size: 18px;
        line-height: 1.2;
        font-weight: 700;
        color: #23314f;
    }

    .mobile-help-subtitle {
        margin: 4px 0 0 0;
        font-size: 12px;
        line-height: 1.45;
        color: #7e8aa0;
    }

    .mobile-help-badge {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-width: 44px;
        height: 28px;
        padding: 0 10px;
        border-radius: 999px;
        background: #edf5ff;
        color: #2f79cf;
        font-size: 12px;
        font-weight: 700;
        border: 1px solid #d8e7fb;
    }

    .mobile-help-points {
        display: flex;
        flex-direction: column;
        gap: 14px;
    }

    .mobile-help-point + .mobile-help-point {
        padding-top: 14px;
        border-top: 1px solid #ebf0f7;
    }

    .mobile-help-point-title {
        margin-bottom: 6px;
        font-size: 14px;
        font-weight: 700;
        color: #2b3954;
    }

    .mobile-help-point-text {
        font-size: 14px;
        line-height: 1.55;
        color: #65748b;
    }
}
@media (max-width: 767px) {
    #site-footer {
        margin-top: 28px !important;
        padding: 28px 18px !important;
        background: rgba(18, 20, 28, 0.9) !important;
    }

    #site-footer .copyright {
        font-size: 13px;
        line-height: 1.7;
        color: rgba(255,255,255,.62);
    }

    .text-danger {
        padding: 18px 16px !important;
        text-align: center;
        color: #d36666 !important;
        font-size: 13px;
        line-height: 1.5;
    }
}
@media (max-width: 767px) {
    .panel-body hr {
        display: none;
    }
}
@media (max-width: 767px) {
    .panel-body br {
        display: none;
    }
}
@media (max-width: 767px) {
    .mobile-section-title {
        display: none !important;
    }

    .mobile-order-details-card {
        display: block;
        padding: 0 1px;
        margin: 0 0 16px;
    }

    .mobile-order-details-inner {
        background: linear-gradient(180deg, rgba(255,255,255,0.98) 0%, rgba(248,250,253,0.98) 100%);
        border: 1px solid #dfe7f2;
        border-radius: 18px;
        padding: 16px;
        box-shadow: 0 8px 24px rgba(25, 35, 58, 0.05);
    }

    .mobile-order-details-title {
        margin: 0 0 14px 0;
        font-size: 18px;
        line-height: 1.2;
        font-weight: 700;
        color: #23314f;
    }

    .mobile-order-details-inner .exchange-details {
        display: block !important;
        padding: 0 !important;
        margin: 0 !important;
    }

    .mobile-order-details-inner .exchange-detail-item {
        background: transparent !important;
        border: none !important;
        border-radius: 0 !important;
        box-shadow: none !important;
        padding: 0 !important;
        margin: 0 !important;
    }

    .mobile-order-details-inner .exchange-detail-item + .exchange-detail-item {
        margin-top: 14px !important;
        padding-top: 14px !important;
        border-top: 1px solid #ebf0f7 !important;
    }

    .mobile-order-details-inner .exchange-detail-label {
        font-size: 11px !important;
        font-weight: 700 !important;
        letter-spacing: 0.08em !important;
        text-transform: uppercase !important;
        color: #8a96a8 !important;
        margin-bottom: 7px !important;
    }

    .mobile-order-details-inner .exchange-detail-value {
        font-size: 15px !important;
        line-height: 1.55 !important;
        color: #4d5c74 !important;
        word-break: break-word;
        overflow-wrap: anywhere;
    }

    .mobile-order-details-inner .exchange-detail-mono {
        font-family: 'Montserrat', sans-serif !important;
        font-size: 14px !important;
        color: #2f6fb6 !important;
        letter-spacing: -0.01em;
    }
}


@media (min-width: 768px) {
    /* Основная панель */
    .order-panel-desktop {
        border-radius: 14px !important;
        overflow: hidden;
        background: #FFFFFF;
        box-shadow: 0 10px 28px rgba(25, 35, 58, 0.06);
    }

    .order-panel-desktop > .panel-heading {
        border-top-left-radius: 14px !important;
        border-top-right-radius: 14px !important;
    }

    .order-panel-desktop > .panel-body {
        border-bottom-left-radius: 14px !important;
        border-bottom-right-radius: 14px !important;
    }

    /* Desktop header */
    .order-header-desktop {
        background: linear-gradient(180deg, rgba(23,31,58,.96) 0%, rgba(28,37,68,.96) 100%) !important;
        color: #fff !important;
        border: none !important;
        padding: 0 !important;
    }

    .order-header-desktop-inner {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 20px;
        padding: 18px 20px;
    }

    .order-header-desktop-title {
        margin: 0;
        font-size: 18px;
        line-height: 1.2;
        font-weight: 600;
        color: #fff;
    }

    .order-cancel-btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        height: 36px;
        padding: 0 14px;
        border-radius: 10px;
        border: 1px solid rgba(255,255,255,.14);
        background: rgba(255,255,255,.92);
        color: #23314f !important;
        font-size: 13px;
        font-weight: 600;
        text-decoration: none !important;
        box-shadow: none;
        transition: background .2s ease, color .2s ease, transform .2s ease, border-color .2s ease;
    }

    .order-cancel-btn:hover,
    .order-cancel-btn:focus {
        background: #ffffff;
        color: #1f2b44 !important;
        border-color: rgba(255,255,255,.24);
        text-decoration: none !important;
        transform: translateY(-1px);
    }

    /* Awaiting payment */
    .desktop-payment-status {
    margin: 32px 0 32px;
    padding: 2px 0 0;
    text-align: center;
    color: #6b7890;
    font-size: 19px;
    line-height: 1.6;
}

.desktop-payment-status-line {
    display: block;
    width: 100%;
    text-align: center;
    color: #6b7890;
    font-size: 19px;
    line-height: 1.6;
}

.desktop-payment-status-line + .desktop-payment-status-line {
    margin-top: 4px;
}

.desktop-payment-status-line-main {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.desktop-payment-status-line-remaining {
    display: block;
    width: 100%;
}

.desktop-payment-status-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    color: #8b97aa;
    flex: 0 0 18px;
    animation: desktopStatusPulse 2.8s ease-in-out infinite;
}

.desktop-payment-status-icon svg {
    width: 18px;
    height: 18px;
    display: block;
}

.desktop-payment-status strong {
    color: #53627a;
    font-weight: 700;
}

.desktop-payment-status-timer {
    display: inline-block;
    min-width: 56px;
    text-align: left;
}

@keyframes desktopStatusPulse {
    0% {
        transform: scale(1);
        opacity: 0.72;
    }
    50% {
        transform: scale(1.18);
        opacity: 1;
    }
    100% {
        transform: scale(1);
        opacity: 0.72;
    }
}

    /* How it works block */
    .desktop-help-grid {
        margin-top: 26px;
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 18px;
    }

    .desktop-help-card {
    background: linear-gradient(180deg, rgba(255,255,255,0.98) 0%, rgba(248,250,253,0.98) 100%);
    border: 1px solid #e4ebf4;
    border-radius: 12px;
    padding: 18px 18px 16px;
    box-shadow: 0 4px 14px rgba(34, 42, 69, 0.03);
}

    .desktop-help-card-title {
        margin: 0 0 10px 0;
        font-size: 20px;
        line-height: 1.2;
        font-weight: 600;
        color: #53627a;
    }

    .desktop-help-card-text {
        margin: 0;
        font-size: 14px;
        line-height: 1.65;
        color: #6a778d;
    }

    .desktop-help-card-text strong {
        color: #23314f;
        font-weight: 700;
    }

    .desktop-help-card-text .inline-address {
    color: #2f6fb6;
    font-weight: 700;
    word-break: break-all;
    font-size: 12px;
}
}
@media (max-width: 767px) {
    .order-panel-desktop > .panel-heading {
        padding: 0 !important;
        background: transparent !important;
        border: none !important;
        border-radius: 0 !important;
        overflow: hidden;
    }

    .mobile-order-header {
        display: block;
        width: 100%;
        margin: 0;
        border-radius: 0;
    }
}
@media (min-width: 768px) {
    .exchange-details {
        margin-top: 14px;
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .exchange-detail-item {
        background: rgba(255,255,255,0.78);
        border: 1px solid #e6edf5;
        border-radius: 12px;
        padding: 14px 16px;
        box-shadow: none;
    }

    .exchange-detail-label {
        font-size: 11px;
        font-weight: 700;
        letter-spacing: 0.08em;
        text-transform: uppercase;
        color: #93a0b2;
        margin-bottom: 7px;
        line-height: 1.35;
    }

    .exchange-detail-value {
        font-size: 16px;
        line-height: 1.5;
        color: #53627a;
        word-break: break-word;
        overflow-wrap: anywhere;
        font-weight: 500;
    }

    .exchange-detail-mono {
        font-size: 16px;
        line-height: 1.5;
        color: #53627a;
        word-break: break-word;
        overflow-wrap: anywhere;
        font-weight: 500;
    }
}
@media (min-width: 768px) {
    .desktop-payment-status {
        margin: 22px 0 0;
        padding: 2px 0 0;
        text-align: center;
        color: #6b7890;
    }

    .desktop-payment-status-line {
        width: 100%;
        text-align: center;
        color: #6b7890;
    }

    .desktop-payment-status-line + .desktop-payment-status-line {
        margin-top: 6px;
    }

    .desktop-payment-status-line-main {
        display: inline-grid;
        grid-template-columns: 20px auto;
        align-items: center;
        column-gap: 10px;
        max-width: 1000px;
        margin: 0 auto;
        font-size: 19px;
        line-height: 1.55;
        text-align: left;
    }

    .desktop-payment-status-line-main-text {
        display: block;
        min-width: 0;
    }

    .desktop-payment-status-line-remaining {
        display: block;
        width: 100%;
        font-size: 19px;
        line-height: 1.55;
    }

    .desktop-payment-status-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    color: #7f8da3;
    animation: desktopStatusPulse 2.4s ease-in-out infinite;
    transform-origin: center;
}

    .desktop-payment-status-icon svg {
        width: 20px;
        height: 20px;
        display: block;
    }

    .desktop-payment-status strong {
        color: #53627a;
        font-weight: 700;
    }

    .desktop-payment-status-timer {
    display: inline-block;
    min-width: 64px;
    text-align: left;
    font-family: inherit;
    font-variant-numeric: normal;
}

    @keyframes desktopStatusPulse {
    0% {
        transform: scale(1);
        opacity: 0.72;
    }
    50% {
        transform: scale(1.18);
        opacity: 1;
    }
    100% {
        transform: scale(1);
        opacity: 0.72;
    }
}
}

@media (min-width: 768px) and (max-width: 1666px) {
    .desktop-payment-status-line-main,
    .desktop-payment-status-line-remaining {
        font-size: 16px;
        line-height: 1.5;
    }

    .desktop-payment-status {
        margin-top: 18px;
    }
}
@media (min-width: 768px) and (max-width: 1666px) {
    /* Верхний BTC address */
    .desktop-btc-line {
        align-items: flex-start;
        gap: 8px;
    }

    .btc-address-inline {
        font-size: 13px;
        line-height: 1.28;
        letter-spacing: -0.015em;
        word-break: break-all;
    }

    /* Если на более узком laptop всё ещё тесно */
    @media (max-width: 1366px) {
        .btc-address-inline {
            font-size: 13px;
            line-height: 1.26;
            letter-spacing: -0.02em;
        }
    }

    /* В summary-блоке скрываем текстовый BTC address, оставляем только QR */
    .order-summary-address-block {
        display: none;
    }

    .order-summary-main {
        justify-content: center;
    }

    .order-summary-left {
        justify-content: center;
    }

    .order-summary-qr {
        margin-top: 4px;
    }
}

/* Initial hidden states moved from inline styles */
#mobilePairList, #minalertMobile, #maxalertMobile, #minalert, #maxalert, #minalert-dup, #maxalert-dup { display: none; }
