* {
    box-sizing: border-box;
}

body {
    margin: 0;
    min-height: 100vh;
    font-family: Arial, sans-serif;
    color: #32120f;
    background:
        radial-gradient(circle at top left, rgba(247, 117, 23, 0.14), transparent 32%),
        linear-gradient(135deg, #fff7ed 0%, #ffffff 46%, #f9fafb 100%);
}

.page-shell {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 24px;
}

.payment-panel {
    width: 100%;
    max-width: 560px;
    background: #ffffff;
    border: 1px solid #f2d7c5;
    border-radius: 8px;
    box-shadow: 0 22px 55px rgba(102, 28, 20, 0.14);
    padding: 30px;
    position: relative;
    overflow: hidden;
}

.payment-panel::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 6px;
    background: linear-gradient(90deg, #8b241d, #f47721);
}

.brand-strip {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    color: #7a4a3a;
    font-size: 14px;
    margin-bottom: 24px;
}

.brand-lockup {
    display: flex;
    align-items: center;
    gap: 12px;
}

.brand-lockup img,
.result-logo img {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #a00812;
    background: #ffffff;
}

.brand-lockup span {
    display: block;
    font-weight: 800;
    color: #8b241d;
    font-size: 16px;
}

.brand-strip strong {
    color: #f47721;
    font-size: 13px;
}

.trust-badge {
    border: 1px solid #f6c9a8;
    background: #fff7ed;
    color: #8b241d;
    border-radius: 999px;
    padding: 8px 12px;
    font-weight: 800;
    white-space: nowrap;
}

.headline p {
    margin: 0 0 8px;
    color: #f47721;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 13px;
}

h1 {
    margin: 0 0 12px;
    font-size: 30px;
    line-height: 1.2;
    color: #641b16;
}

.headline span {
    display: block;
    margin-bottom: 22px;
    color: #7a4a3a;
    line-height: 1.5;
}

.payment-form {
    display: grid;
    gap: 16px;
}

label {
    display: grid;
    gap: 7px;
    font-weight: 700;
    font-size: 14px;
    color: #4a1c17;
}

input {
    width: 100%;
    min-height: 44px;
    border: 1px solid #e8c7b5;
    border-radius: 6px;
    padding: 11px 12px;
    font: inherit;
    color: #32120f;
    background: #fffdfb;
}

input:focus {
    border-color: #f47721;
    outline: 3px solid rgba(244, 119, 33, 0.18);
}

button,
.link-button {
    width: 100%;
    min-height: 46px;
    border: 0;
    border-radius: 6px;
    background: linear-gradient(90deg, #8b241d, #f47721);
    color: #ffffff;
    font-weight: 800;
    font-size: 15px;
    cursor: pointer;
    text-decoration: none;
    display: inline-grid;
    place-items: center;
    margin-top: 4px;
    box-shadow: 0 10px 22px rgba(244, 119, 33, 0.25);
}

button:hover,
.link-button:hover {
    background: linear-gradient(90deg, #721c17, #e76712);
}

.alert {
    border: 1px solid #fecaca;
    background: #fff1f2;
    color: #b42318;
    border-radius: 6px;
    padding: 10px 12px;
    margin-bottom: 16px;
    font-weight: 700;
    font-size: 14px;
}

.result-panel {
    text-align: center;
}

.result-logo {
    display: grid;
    place-items: center;
    margin-bottom: 14px;
}

.status-mark {
    display: inline-flex;
    min-height: 36px;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    padding: 8px 14px;
    font-size: 13px;
    font-weight: 800;
    margin-bottom: 16px;
}

.status-mark.success {
    background: #ecfdf3;
    color: #027a48;
}

.status-mark.pending {
    background: #fff7ed;
    color: #c2410c;
}

.details-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0 18px;
    text-align: left;
}

.details-table th,
.details-table td {
    border-bottom: 1px solid #eef2f6;
    padding: 11px 6px;
    vertical-align: top;
    font-size: 14px;
}

.details-table th {
    width: 42%;
    color: #7a4a3a;
}

.details-table td {
    word-break: break-word;
}

@media (max-width: 520px) {
    .page-shell {
        padding: 14px;
    }

    .payment-panel {
        padding: 20px;
    }

    .brand-strip {
        align-items: flex-start;
        flex-direction: column;
        gap: 12px;
    }

    h1 {
        font-size: 24px;
    }
}
