/* Spoil a Mom - public forms and cards. */
.sam-form label { display: block; margin-bottom: 4px; }
.sam-form input[type="text"],
.sam-form input[type="email"],
.sam-form input[type="number"],
.sam-form input[type="search"],
.sam-form textarea,
.sam-form select { width: 100%; max-width: 480px; padding: 8px; border: 1px solid #999; background: #fff; color: #333; box-sizing: border-box; }
.sam-form textarea { resize: vertical; }
.sam-submit, .sam-adopt-btn, .sam-filters button { background: #2f4f2f; color: #fff; border: none; padding: 10px 18px; cursor: pointer; font-size: 16px; text-decoration: none; display: inline-block; }
.sam-submit:hover, .sam-adopt-btn:hover, .sam-filters button:hover { background: #3d633d; }
.sam-notice { padding: 10px 14px; border-left: 4px solid #2f4f2f; background: #f0f4f0; }
.sam-notice.sam-error { border-left-color: #a33; background: #fdf0f0; }
.sam-code { font-size: 20px; background: #f0f4f0; border: 1px solid #2f4f2f; padding: 12px 16px; display: inline-block; }
.sam-filters { margin: 16px 0; display: flex; flex-wrap: wrap; gap: 12px; align-items: end; }
.sam-filters label { font-weight: bold; }
.sam-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; margin: 16px 0; }
.sam-card { border: 1px solid #ccc; padding: 16px; background: #fff; }
.sam-card.sam-adopted { opacity: 0.75; }
.sam-card h3 { margin-top: 0; }
.sam-badge { display: inline-block; background: #2f4f2f; color: #fff; padding: 2px 10px; font-size: 13px; }
.sam-card.sam-adopted .sam-badge { background: #888; }
.sam-adopt-box { border: 2px solid #2f4f2f; padding: 16px; margin-bottom: 20px; background: #f7faf7; }
#sam-card-element { border: 1px solid #999; padding: 10px; background: #fff; max-width: 480px; box-sizing: border-box; }
.sam-status-box { border: 1px solid #2f4f2f; padding: 16px; margin-bottom: 20px; background: #f7faf7; }
@media (max-width: 600px) {
	.sam-filters { flex-direction: column; align-items: stretch; }
}
