.ams-form-wrap, .ams-dashboard { max-width: 760px; margin: 0 auto; font-family: inherit; }
.ams-notice { padding: 12px 16px; border-radius: 4px; margin-bottom: 16px; }
.ams-notice-success { background: #eafaf0; border: 1px solid #34c26e; color: #1a7a41; }
.ams-notice-error { background: #fdeeee; border: 1px solid #e15b5b; color: #a11d1d; }
.ams-registration-form p, .ams-profile-form p { margin-bottom: 14px; }
.ams-registration-form label, .ams-profile-form label { display: block; font-weight: 600; margin-bottom: 4px; }
.ams-registration-form input, .ams-registration-form textarea, .ams-profile-form input {
	width: 100%; padding: 8px 10px; border: 1px solid #ccd0d4; border-radius: 4px; box-sizing: border-box;
}
.ams-btn {
	background: #2271b1; color: #fff; border: none; padding: 10px 20px; border-radius: 4px; cursor: pointer; font-weight: 600;
}
.ams-btn:hover { background: #135e96; }
.ams-stats-grid { display: flex; flex-wrap: wrap; gap: 12px; margin: 16px 0 24px; }
.ams-stat-card { flex: 1 1 140px; background: #f6f7f7; border: 1px solid #e2e4e7; border-radius: 6px; padding: 16px; text-align: center; }
.ams-stat-card span { display: block; font-size: 22px; font-weight: 700; }
.ams-stat-card small { color: #666; }
.ams-copy-row { display: flex; gap: 8px; margin-bottom: 8px; }
.ams-copy-row input { flex: 1; padding: 8px 10px; border: 1px solid #ccd0d4; border-radius: 4px; }
.ams-help { color: #666; font-size: 13px; }
.ams-table { width: 100%; border-collapse: collapse; margin-bottom: 24px; }
.ams-table th, .ams-table td { text-align: left; padding: 8px 10px; border-bottom: 1px solid #eee; }
.ams-badge { padding: 2px 10px; border-radius: 12px; font-size: 12px; font-weight: 600; text-transform: capitalize; }
.ams-badge-pending { background: #fff4e5; color: #a9660b; }
.ams-badge-approved { background: #e5f3ff; color: #0a5b9c; }
.ams-badge-paid { background: #eafaf0; color: #1a7a41; }
.ams-badge-rejected { background: #fdeeee; color: #a11d1d; }
.ams-badge-active { background: #eafaf0; color: #1a7a41; }
.ams-creatives-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; margin-bottom: 24px; }
.ams-creative-card { border: 1px solid #eee; border-radius: 6px; padding: 10px; }
.ams-creative-card img { max-width: 100%; height: auto; border-radius: 4px; }
.ams-swipe-copy { font-size: 13px; color: #555; }
.ams-embed-code { width: 100%; font-size: 11px; }

/* Per-product affiliate link box (single product page) */
.ams-product-affiliate-box {
	margin: 18px 0; padding: 14px 16px; background: #f6f7f7; border: 1px dashed #c3c4c7; border-radius: 6px;
}
.ams-product-affiliate-label { margin: 0 0 8px; font-weight: 600; font-size: 13px; color: #2c3338; }
.ams-share-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.ams-share-btn {
	display: inline-block; padding: 6px 14px; border-radius: 4px; font-size: 12px; font-weight: 600;
	text-decoration: none; color: #fff !important;
}
.ams-share-whatsapp { background: #25D366; }
.ams-share-facebook { background: #1877F2; }
.ams-share-x { background: #000; }
.ams-share-email { background: #6b7280; }
.ams-share-btn:hover { opacity: 0.88; }

/* Compact copy-link button on shop/category grid items */
.ams-loop-copy-btn {
	display: block; width: 100%; margin-top: 6px; padding: 6px 10px; font-size: 12px; font-weight: 600;
	background: #eef4fb; color: #0a5b9c; border: 1px solid #cfe1f2; border-radius: 4px; cursor: pointer;
}
.ams-loop-copy-btn:hover { background: #e0edf9; }

/* My Account dashboard earnings box */
.ams-myaccount-box {
	margin-bottom: 30px; padding: 18px 20px; background: #f6f7f7; border: 1px solid #e2e4e7; border-radius: 8px;
}
.ams-myaccount-box h3 { margin-top: 0; }
.ams-myaccount-rate { margin-bottom: 14px; }
