/* Refund Wallet - public styles. All classes prefixed .rw- to avoid theme collisions. */
.rw-container { max-width: 780px; margin: 0 auto; padding: 24px 16px; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; color: #1d2327; }
.rw-auth-card { max-width: 420px; background: #fff; border: 1px solid #e2e4e7; border-radius: 10px; padding: 32px; box-shadow: 0 1px 3px rgba(0,0,0,.06); }
.rw-title { margin-top: 0; font-size: 22px; font-weight: 600; }
.rw-form .rw-field { margin-bottom: 16px; }
.rw-field-row { display: flex; gap: 16px; }
.rw-field-row .rw-field { flex: 1; }
.rw-field label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 6px; color: #3c434a; }
.rw-field input[type="text"], .rw-field input[type="email"], .rw-field input[type="password"],
.rw-field input[type="tel"], .rw-field input[type="number"], .rw-field select, .rw-field textarea {
	width: 100%; padding: 10px 12px; border: 1px solid #c3c4c7; border-radius: 6px; font-size: 14px; box-sizing: border-box;
}
.rw-field input:focus, .rw-field select:focus, .rw-field textarea:focus { outline: 2px solid #2271b1; outline-offset: 1px; border-color: #2271b1; }
.rw-checkbox-field label { display: flex; align-items: center; gap: 8px; font-weight: 400; }
.rw-help { font-size: 12px; color: #646970; margin: 6px 0 0; }
.rw-btn { display: inline-block; border: none; border-radius: 6px; padding: 11px 22px; font-size: 14px; font-weight: 600; cursor: pointer; }
.rw-btn-primary { background: #2271b1; color: #fff; }
.rw-btn-primary:hover { background: #135e96; }
.rw-btn-secondary { background: #fff; color: #2271b1; border: 1px solid #2271b1; }
.rw-btn-secondary:hover { background: #f2f7fc; }
.rw-guest-panel { text-align: center; max-width: 480px; margin: 40px auto; }
.rw-guest-actions { display: flex; gap: 12px; justify-content: center; margin-top: 16px; }
.rw-notice { padding: 12px 16px; border-radius: 6px; margin-bottom: 18px; font-size: 14px; }
.rw-notice-error { background: #fcf0f1; border: 1px solid #d63638; color: #7a2323; }
.rw-notice-success { background: #edfaef; border: 1px solid #00a32a; color: #0a5c23; }

.rw-nav { display: flex; flex-wrap: wrap; gap: 4px; margin-bottom: 24px; border-bottom: 1px solid #e2e4e7; padding-bottom: 8px; }
.rw-nav-link { padding: 8px 12px; border-radius: 6px; text-decoration: none; color: #3c434a; font-size: 13px; font-weight: 600; background: transparent; border: none; cursor: pointer; }
.rw-nav-link:hover { background: #f0f0f1; }
.rw-nav-logout { margin-left: auto; }

.rw-dashboard-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.rw-badge { font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: 999px; }
.rw-badge-active { background: #edfaef; color: #0a5c23; }

.rw-stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 16px; margin-bottom: 28px; }
.rw-stat-card { background: #fff; border: 1px solid #e2e4e7; border-radius: 10px; padding: 18px; }
.rw-stat-highlight { border-color: #2271b1; background: #f2f7fc; }
.rw-stat-label { display: block; font-size: 12px; color: #646970; text-transform: uppercase; letter-spacing: .04em; margin-bottom: 6px; }
.rw-stat-value { display: block; font-size: 22px; font-weight: 700; }

.rw-panel { background: #fff; border: 1px solid #e2e4e7; border-radius: 10px; padding: 20px; margin-bottom: 20px; }
.rw-panel h3 { margin-top: 0; font-size: 15px; }
.rw-empty { color: #646970; font-size: 14px; }

.rw-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.rw-table th, .rw-table td { text-align: left; padding: 10px 8px; border-bottom: 1px solid #f0f0f1; }
.rw-table th { color: #646970; font-weight: 600; font-size: 12px; text-transform: uppercase; }

.rw-status { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: 11px; font-weight: 700; text-transform: uppercase; }
.rw-status-pending { background: #fcf9e8; color: #8a6d00; }
.rw-status-processing { background: #e5f2fb; color: #135e96; }
.rw-status-on_hold { background: #fdeee0; color: #9a4a00; }
.rw-status-completed { background: #edfaef; color: #0a5c23; }
.rw-status-rejected, .rw-status-cancelled { background: #fcf0f1; color: #7a2323; }

.rw-form-section-title { font-size: 14px; text-transform: uppercase; letter-spacing: .04em; color: #646970; margin: 24px 0 12px; padding-top: 12px; border-top: 1px solid #f0f0f1; }
.rw-form-section-title:first-of-type { border-top: none; padding-top: 0; margin-top: 0; }
.rw-method-fields { background: #fafafa; border: 1px solid #eee; border-radius: 8px; padding: 14px 16px; margin-bottom: 16px; }
.rw-available-banner { background: #f2f7fc; border: 1px solid #2271b1; border-radius: 8px; padding: 14px 18px; font-weight: 600; margin-bottom: 20px; }

.rw-pagination { display: flex; gap: 6px; margin-top: 14px; }
.rw-page-link { padding: 6px 11px; border: 1px solid #e2e4e7; border-radius: 6px; text-decoration: none; color: #3c434a; font-size: 13px; }
.rw-page-link.is-active { background: #2271b1; color: #fff; border-color: #2271b1; }

@media (max-width: 600px) {
	.rw-field-row { flex-direction: column; gap: 0; }
	.rw-nav { flex-direction: column; }
	.rw-nav-logout { margin-left: 0; }
}
