.wsp-form { max-width: 480px; margin: 0 auto; }
.wsp-row { margin-bottom: 16px; }
.wsp-row label { display: block; font-weight: 600; margin-bottom: 6px; }
.wsp-row input[type="text"],
.wsp-row input[type="email"],
.wsp-row select {
	width: 100%; padding: 8px 10px; border: 1px solid #ccc; border-radius: 4px; box-sizing: border-box;
}
.wsp-radio-group { display: flex; gap: 16px; flex-wrap: wrap; }
.wsp-radio { font-weight: 400 !important; display: flex; align-items: center; gap: 6px; }
.wsp-price-display { margin-top: 6px; font-weight: 600; color: #1a7f37; }
.wsp-bank-box { background: #f6f7f7; border: 1px solid #ddd; border-radius: 6px; padding: 14px 16px; margin-top: 10px; }
.wsp-bank-box p { margin: 4px 0; }
.wsp-note { font-size: 12px; color: #777; }
.wsp-submit-btn {
	background: #2271b1; color: #fff; border: none; padding: 12px 20px; border-radius: 4px;
	font-size: 15px; cursor: pointer; width: 100%;
}
.wsp-submit-btn:disabled { opacity: 0.6; cursor: not-allowed; }
.wsp-msg { padding: 10px 14px; border-radius: 4px; margin-bottom: 16px; }
.wsp-msg.wsp-error { background: #fce8e8; color: #a00; border: 1px solid #f0b3b3; }
.wsp-msg.wsp-success { background: #eafaf0; color: #1a7f37; border: 1px solid #b3e6c6; }
.wsp-login-btn { display: inline-block; text-decoration: none; text-align: center; margin-top: 10px; }
.wsp-profile-wrap { max-width: 520px; margin: 0 auto; }
.wsp-package-box {
	background: #f6f7f7; border: 1px solid #ddd; border-radius: 6px; padding: 14px 18px; margin-top: 20px;
}
.wsp-package-box h3 { margin-top: 0; }
.wsp-package-details { font-size: 14px; color: #444; }
.wsp-thankyou { max-width: 480px; margin: 0 auto; text-align: center; }
.wsp-referral-code {
	font-size: 22px; font-weight: 700; letter-spacing: 1px; background: #f0f6ff;
	border: 1px dashed #2271b1; border-radius: 6px; padding: 12px; display: inline-block;
}

/* Bank transfer receipt upload */
.wsp-row-receipt-upload { margin-top: 14px; }
.wsp-row-receipt-upload input[type="file"] { width: 100%; }
.wsp-receipt-note { margin-top: 6px; }

/* Profile image */
.wsp-profile-image-section { text-align: center; margin-bottom: 20px; }
.wsp-profile-image-frame { position: relative; width: 120px; height: 120px; margin: 0 auto; }
.wsp-profile-image {
	width: 120px; height: 120px; border-radius: 50%; object-fit: cover; border: 3px solid #fff;
	box-shadow: 0 0 0 2px #ddd; display: block;
}
.wsp-profile-image-upload-btn {
	position: absolute; bottom: 0; right: 0; width: 34px; height: 34px; border-radius: 50%;
	background: #2271b1; color: #fff; display: flex; align-items: center; justify-content: center;
	cursor: pointer; border: 2px solid #fff;
}
.wsp-profile-image-msg { max-width: 320px; margin: 10px auto 0; }

/* Package / referral section titles */
.wsp-section-title { margin-top: 0; }
.wsp-referral-code-row { display: flex; align-items: center; gap: 10px; }
.wsp-copy-btn {
	background: #fff; border: 1px solid #2271b1; color: #2271b1; border-radius: 4px;
	width: 34px; height: 34px; display: flex; align-items: center; justify-content: center; cursor: pointer;
}
.wsp-copy-btn.wsp-copied { background: #1a7f37; border-color: #1a7f37; color: #fff; }

/* User details - inline edit fields */
.wsp-user-details-box {
	background: #fff; border: 1px solid #ddd; border-radius: 6px; padding: 14px 18px; margin-top: 20px;
}
.wsp-profile-field { border-bottom: 1px solid #eee; padding: 10px 0; }
.wsp-profile-field:last-child { border-bottom: none; }
.wsp-field-view, .wsp-field-edit { display: flex; align-items: center; gap: 10px; }
.wsp-field-label { font-weight: 600; min-width: 130px; flex-shrink: 0; }
.wsp-field-value { flex: 1; color: #333; word-break: break-word; }
.wsp-field-input {
	flex: 1; padding: 6px 8px; border: 1px solid #ccc; border-radius: 4px; box-sizing: border-box;
}
.wsp-icon-btn {
	background: #f0f0f1; border: 1px solid #ccc; border-radius: 4px; width: 30px; height: 30px;
	display: flex; align-items: center; justify-content: center; cursor: pointer; flex-shrink: 0;
}
.wsp-edit-icon-btn:hover { background: #e5e5e5; }
.wsp-save-icon-btn { background: #eafaf0; border-color: #1a7f37; color: #1a7f37; }
.wsp-save-icon-btn:hover { background: #d7f5e2; }

/* Referral code field on signup form */
.wsp-row-referral-code input { text-transform: uppercase; }

/* My Earnings section */
.wsp-earnings-summary { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }
.wsp-earnings-stat {
	flex: 1; min-width: 120px; background: #fff; border: 1px solid #ddd; border-radius: 6px;
	padding: 10px 12px; text-align: center;
}
.wsp-earnings-label { display: block; font-size: 12px; color: #666; margin-bottom: 4px; }
.wsp-earnings-value { display: block; font-size: 18px; font-weight: 700; color: #1a7f37; }
.wsp-earnings-unpaid .wsp-earnings-value { color: #b06a00; }
.wsp-row-paypal-email label { font-weight: 600; margin-bottom: 6px; display: block; }
.wsp-paypal-email-input-row { display: flex; gap: 8px; }
.wsp-paypal-email-input-row input {
	flex: 1; padding: 8px 10px; border: 1px solid #ccc; border-radius: 4px; box-sizing: border-box;
}
.wsp-save-paypal-btn { width: auto; padding: 8px 16px; flex-shrink: 0; }
