* {
    box-sizing: border-box
}

:root {
    --bg: #060708;
    --card: #101214;
    --card-2: #14171a;
    --line: #2a2e33;
    --text: #f5f7f8;
    --muted: #9aa0a6;
    --soft: #72787f;
    --white: #ffffff;
    --danger: #ffb8b8;
    --success: #bff0cf;
}

html,
body {
    margin: 0;
    min-height: 100%;
    background: var(--bg);
    color: var(--text);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif
}

body {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 32px 18px
}

.shell {
    width: min(100%, 560px)
}

.brand {
    display: flex;
    align-items: center;
    gap: 14px;
    justify-content: center;
    margin: 0 0 34px
}

.mark {
    width: 42px;
    height: 42px;
    border: 1px solid #33383e;
    border-radius: 14px;
    display: grid;
    place-items: center;
    background: #0d0f11;
    font-weight: 800;
    font-size: 18px;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .02)
}

.brand-name {
    font-size: 29px;
    line-height: 1;
    font-weight: 800;
    letter-spacing: -.8px
}

.brand-subtitle {
    margin-top: 7px;
    color: var(--muted);
    font-size: 11px;
    letter-spacing: 3px;
    text-transform: uppercase
}

.payment-card {
    border: 1px solid var(--line);
    border-radius: 20px;
    padding: 36px;
    background: linear-gradient(180deg, #0c695d, var(--card));
    box-shadow: 0 28px 80px rgba(0, 0, 0, .28)
}

.eyebrow {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    color: #858b91;
    margin-bottom: 13px
}

h1 {
    font-size: 30px;
    line-height: 1.15;
    margin: 0 0 12px;
    letter-spacing: -.8px;
    color:#fff;
}

.lead {
    margin: 0 0 30px;
    color: var(--muted);
    font-size: 15px;
    line-height: 1.6
}

label {
    display: block;
    margin-bottom: 10px;
    color: #a8adb3;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.2px
}

.amount-wrap {
    height: 70px;
    border: 1px solid #34393f;
    border-radius: 14px;
    display: flex;
    align-items: center;
    padding: 0 18px;
    background: #0b0d0f;
    transition: .2s ease
}

.amount-wrap:focus-within {
    border-color: #767e87;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, .04)
}

.amount-wrap span {
    font-size: 15px;
    font-weight: 700;
    color: #9da3a9;
    margin-right: 14px
}

.amount-wrap input {
    width: 100%;
    border: 0;
    outline: 0;
    background: transparent;
    color: #fff;
    font-size: 25px;
    font-weight: 700;
    letter-spacing: -.4px
}

.amount-wrap input::placeholder {
    color: #5b6168
}

small {
    display: block;
    color: #6f757c;
    font-size: 12px;
    margin-top: 9px
}

button,
.back-link {
    margin-top: 25px;
    width: 100%;
    height: 58px;
    border: 0;
    border-radius: 13px;
    background: #fff;
    color: #090a0b;
    font-size: 15px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-decoration: none;
    cursor: pointer;
    transition: .2s ease
}

button:hover,
.back-link:hover {
    transform: translateY(-1px);
    background: #edf0f2
}

button:disabled {
    opacity: .65;
    cursor: wait;
    transform: none
}

.secure-line {
    margin-top: 23px;
    border-top: 1px solid #24282d;
    padding-top: 20px;
    display: flex;
    gap: 8px;
    align-items: center;
    justify-content: center;
    color: #737980;
    font-size: 12px
}

footer {
    text-align: center;
    color: #52575c;
    font-size: 12px;
    margin-top: 25px
}

.alert {
    background: #241719;
    border: 1px solid #5c3035;
    color: var(--danger);
    padding: 13px 14px;
    border-radius: 11px;
    margin: -10px 0 22px;
    font-size: 13px;
    line-height: 1.45
}

.result-shell {
    padding-top: 10px
}

.result-card {
    text-align: center
}

.result-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    margin: 0 auto 23px;
    font-size: 24px;
    font-weight: 900;
    border: 1px solid #3a4046;
    background: #121518
}

.result-icon.success {
    color: var(--success)
}

.result-icon.failed {
    color: var(--danger)
}

.receipt-row {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 16px 0;
    border-top: 1px solid #292d32;
    text-align: left;
    font-size: 13px
}

.receipt-row span {
    color: #7f858b
}

.receipt-row strong {
    text-align: right;
    word-break: break-all
}

.back-link {
    margin-top: 22px
}

@media(max-width:600px) {
    body {
        padding: 24px 14px
    }

    .brand {
        margin-bottom: 24px
    }

    .payment-card {
        padding: 27px 21px;
        border-radius: 17px
    }

    h1 {
        font-size: 26px
    }

    .lead {
        font-size: 14px;
        margin-bottom: 25px
    }

    .amount-wrap {
        height: 66px
    }

    .brand-name {
        font-size: 26px
    }
}