.af-body {
    margin: 0;
    min-height: 100vh;
    background: #f4f6fb;
    color: #111827;
    font-family: "Plus Jakarta Sans", "Segoe UI", system-ui, sans-serif;
}
.af-wrap {
    max-width: 920px;
    margin: 0 auto;
    padding: 28px 18px 48px;
}
.af-wrap.af-pay {
    max-width: 1080px;
}
.af-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 22px;
}
.af-top a.logo {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    color: #12221f;
    font-weight: 800;
    font-size: 22px;
}
.af-top a.logo img {
    max-height: 40px;
    width: auto;
    max-width: 180px;
    display: block;
}
.af-top .af-link {
    color: #5d6d68;
    text-decoration: none;
    font-weight: 650;
    font-size: 14px;
}
.af-card {
    background: #fff;
    border: 1px solid #e6ebf2;
    border-radius: 22px;
    padding: 28px 28px 22px;
    box-shadow: 0 16px 40px rgba(17, 24, 39, 0.05);
}
.af-section {
    margin-bottom: 28px;
    padding-bottom: 8px;
    border-bottom: 1px solid #eef2f7;
}
.af-section:last-of-type { border-bottom: 0; margin-bottom: 8px; }
.af-head {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    margin-bottom: 18px;
}
.af-num {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    background: #e6f7f4;
    color: #0f766e;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 13px;
    flex-shrink: 0;
}
.af-head h2 {
    margin: 0 0 4px;
    font-size: 20px;
    font-weight: 800;
    color: #111827;
}
.af-head p {
    margin: 0;
    color: #6b7280;
    font-size: 13.5px;
}
.af-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px 16px;
}
.af-grid .full { grid-column: 1 / -1; }
.af-field label {
    display: block;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 6px;
    color: #111827;
}
.af-field label span { color: #ef4444; }
.af-control {
    display: flex;
    align-items: center;
    gap: 10px;
    border: 1px solid #dbe3ee;
    border-radius: 14px;
    padding: 0 12px;
    min-height: 48px;
    background: #fff;
}
.af-control:focus-within {
    border-color: #14b8a6;
    box-shadow: 0 0 0 4px rgba(20, 184, 166, 0.12);
}
.af-ico {
    width: 28px;
    height: 28px;
    border-radius: 9px;
    background: #e6f7f4;
    color: #0f766e;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.af-control input,
.af-control select,
.af-control textarea {
    border: 0;
    outline: none;
    width: 100%;
    background: transparent;
    height: 46px;
    font-size: 14.5px;
    color: #111827;
    font-family: inherit;
}
.af-control textarea { height: 78px; padding: 10px 0; resize: vertical; }
.af-eye {
    border: 0;
    background: transparent;
    color: #9ca3af;
    cursor: pointer;
    padding: 0;
}
.af-error {
    color: #b42318;
    font-size: 12px;
    margin-top: 5px;
}
.af-check {
    display: flex;
    gap: 8px;
    align-items: flex-start;
    font-size: 13px;
    color: #4b5563;
    margin: 8px 0 16px;
}
.af-btn {
    width: 100%;
    border: 0;
    background: #0f766e;
    color: #fff;
    font-weight: 800;
    font-size: 15px;
    border-radius: 14px;
    padding: 14px 18px;
    cursor: pointer;
    box-shadow: 0 10px 22px rgba(15, 118, 110, 0.22);
}
.af-btn:hover { background: #0c5f59; }
.af-foot {
    text-align: center;
    margin-top: 14px;
    color: #6b7280;
    font-size: 14px;
}
.af-foot a { color: #0f766e; font-weight: 700; text-decoration: none; }
.af-alert {
    border-radius: 12px;
    padding: 10px 12px;
    margin-bottom: 16px;
    font-weight: 650;
    font-size: 14px;
}
.af-alert.ok { background: #dcfce7; color: #067647; }
.af-alert.err { background: #fee4e2; color: #b42318; }

.af-pay-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 20px;
    align-items: start;
}
.af-pay-left { min-width: 0; }
.af-pay-card {
    background: #fff;
    border: 1px solid #e6ebf2;
    border-radius: 22px;
    padding: 22px;
    box-shadow: 0 16px 40px rgba(17, 24, 39, 0.05);
}
.af-pay-card h3 {
    margin: 0 0 16px;
    font-size: 18px;
    display: flex;
    align-items: center;
    gap: 8px;
    color: #111827;
}
.af-method {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    text-align: left;
    border: 1px solid #e6ebf2;
    background: #fff;
    border-radius: 16px;
    padding: 14px 16px;
    margin-bottom: 10px;
    cursor: pointer;
}
.af-method.is-on {
    border-color: #6366f1;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.12);
}
.af-method .af-ico { width: 42px; height: 42px; border-radius: 12px; font-size: 16px; }
.af-method .af-ico.stripe { background: #eef2ff; color: #4f46e5; }
.af-method .af-ico.paypal { background: #e8f1ff; color: #1d4ed8; }
.af-method .af-ico.bank { background: #ecfdf3; color: #067647; }
.af-method b { display: block; font-size: 14.5px; color: #111827; }
.af-method b + span { display: block; color: #6b7280; font-size: 12.5px; }
.af-method .tick { margin-left: auto; color: #d1d5db; font-size: 18px; }
.af-method.is-on .tick { color: #6366f1; }
.af-stripe-box { display: none; margin: 8px 0 14px; }
.af-stripe-box.is-on { display: block; }
.af-stripe-box .form-control {
    min-height: 44px;
    border: 1px solid #dbe3ee;
    border-radius: 12px;
    padding: 12px;
    margin-bottom: 10px;
    background: #fff;
}
.af-manual-box { display: none; color: #4b5563; font-size: 13.5px; margin: 8px 0 12px; }
.af-manual-box.is-on { display: block; }
.af-sum dt, .af-sum dd { margin: 0; }
.af-sum {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 8px 12px;
    font-size: 14.5px;
}
.af-sum dt { color: #6b7280; }
.af-sum dd { font-weight: 750; text-align: right; }
.af-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #eef2f7;
    margin-top: 12px;
    padding-top: 12px;
    font-size: 18px;
    font-weight: 800;
}
.af-total b { color: #4f46e5; }
.af-inc { margin-top: 16px; }
.af-inc small {
    display: block;
    letter-spacing: .08em;
    color: #9ca3af;
    font-weight: 800;
    margin-bottom: 8px;
}
.af-inc li { list-style: none; color: #374151; font-size: 13.5px; margin: 0 0 6px; padding: 0; }
.af-inc ul { margin: 0; padding: 0; }
.af-inc li:before { content: "✓ "; color: #0f766e; font-weight: 800; }
.af-pay-btn {
    margin-top: 18px;
    width: 100%;
    border: 0;
    color: #fff;
    font-weight: 800;
    font-size: 16px;
    border-radius: 18px;
    padding: 16px 22px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: linear-gradient(90deg, #4f46e5, #7c3aed);
    box-shadow: 0 12px 24px rgba(79, 70, 229, 0.28);
}
.af-pay-btn:hover { filter: brightness(1.05); }
.af-secure {
    color: #6b7280;
    font-size: 13px;
    margin-top: 12px;
    display: flex;
    align-items: center;
    gap: 6px;
}
.af-back {
    display: inline-block;
    margin-bottom: 16px;
    color: #6b7280;
    text-decoration: none;
    font-weight: 650;
}
@media (max-width: 860px) {
    .af-grid,
    .af-pay-grid { grid-template-columns: 1fr; }
    .af-card, .af-pay-card { padding: 18px; }
}
