/* Robofun – Frontend Class Plus Styles */
@import url('https://fonts.googleapis.com/css2?family=Vazirmatn:wght@400;500;600;700&display=swap');

.rfp-wrap {
    font-family: 'Vazirmatn', Tahoma, sans-serif;
    direction: rtl;
    max-width: 520px;
    margin: 32px auto;
}

.rfp-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 36px 32px;
    box-shadow: 0 4px 24px rgba(0,0,0,.08);
    text-align: center;
}

.rfp-icon { font-size: 48px; margin-bottom: 16px; display: block; }

.rfp-card h2 {
    font-size: 22px;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 10px;
}
.rfp-card p { font-size: 15px; color: #475569; margin: 0 0 8px; line-height: 1.7; }

/* Badge */
.rfp-badge {
    display: inline-block;
    padding: 5px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 20px;
}
.rfp-badge-green { background: #f0fdf4; color: #16a34a; }

/* Content area */
.rfp-content {
    text-align: right;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #e2e8f0;
}

/* Form */
.rfp-form { margin-top: 20px; display: flex; flex-direction: column; gap: 12px; }
.rfp-input {
    width: 100%;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 12px 16px;
    font-family: inherit;
    font-size: 15px;
    text-align: center;
    letter-spacing: 2px;
    outline: none;
    transition: border .2s, box-shadow .2s;
    direction: ltr;
}
.rfp-input:focus { border-color: #2563eb; box-shadow: 0 0 0 3px rgba(37,99,235,.12); }

/* Buttons */
.rfp-btn {
    display: inline-block;
    padding: 11px 24px;
    border-radius: 10px;
    font-family: inherit;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    border: none;
    transition: all .2s;
    width: 100%;
    text-align: center;
}
.rfp-btn-primary  { background: #2563eb; color: #fff !important; }
.rfp-btn-primary:hover { background: #1d4ed8; }
.rfp-btn-outline  { background: transparent; color: #2563eb !important; border: 2px solid #2563eb; }
.rfp-btn-ghost    { background: #f8fafc; color: #64748b !important; margin-top: 12px; }

/* Alert card */
.rfp-card-alert   { border-top: 4px solid #f59e0b; }
.rfp-card-warning { border-top: 4px solid #f97316; }
.rfp-card-success { border-top: 4px solid #16a34a; }

/* Amount box */
.rfp-amount-box {
    background: #fffbeb;
    border: 1px solid #fde68a;
    border-radius: 10px;
    padding: 14px 20px;
    margin: 16px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.rfp-label { font-size: 13px; color: #92400e; }
.rfp-amount { font-size: 20px; font-weight: 700; color: #b45309; direction: ltr; }

/* Payment methods */
.rfp-payment-methods { margin: 20px 0; text-align: right; }
.rfp-method { background: #f8fafc; border-radius: 10px; padding: 16px; margin-bottom: 12px; }
.rfp-method h3 { font-size: 15px; font-weight: 600; color: #0f172a; margin: 0 0 10px; }
.rfp-method .rfp-btn { width: auto; }

.rfp-divider { text-align: center; position: relative; margin: 16px 0; color: #94a3b8; font-size: 13px; }
.rfp-divider::before, .rfp-divider::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 42%;
    height: 1px;
    background: #e2e8f0;
}
.rfp-divider::before { right: 0; }
.rfp-divider::after  { left: 0; }

.rfp-card-number {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 10px 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 15px;
    letter-spacing: 2px;
    direction: ltr;
    margin-bottom: 8px;
}
.rfp-copy-btn {
    background: #eff6ff;
    color: #2563eb;
    border: none;
    border-radius: 6px;
    padding: 4px 10px;
    cursor: pointer;
    font-size: 12px;
    font-family: inherit;
}
.rfp-copy-btn:hover { background: #dbeafe; }
.rfp-card-owner { font-size: 13px; color: #64748b; margin: 4px 0; }
.rfp-hint { font-size: 12px; color: #94a3b8; margin-top: 6px; }
