/* ONE96 — public/front-end styles, used by every [one96_*] shortcode template. */

.one96-frontend { max-width: 780px; margin: 0 auto; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; color: #222; }
.one96-frontend fieldset { border: 1px solid #e2e2e2; border-radius: 10px; padding: 18px 20px; margin-bottom: 18px; }
.one96-frontend legend { font-weight: 700; padding: 0 8px; }
.one96-frontend label { display: block; margin-bottom: 12px; font-weight: 600; font-size: 13px; }
.one96-frontend label.full { grid-column: 1 / -1; }
.one96-frontend input[type=text], .one96-frontend input[type=email], .one96-frontend input[type=tel],
.one96-frontend input[type=date], .one96-frontend input[type=number], .one96-frontend input[type=password],
.one96-frontend select, .one96-frontend textarea {
	display: block; width: 100%; margin-top: 4px; padding: 9px 10px; border: 1px solid #d0d0d0;
	border-radius: 6px; font-size: 14px; font-weight: 400; box-sizing: border-box;
}
.one96-frontend textarea { min-height: 80px; }
.one96-button-primary, .one96-frontend button[type=submit] {
	background: #2271b1; color: #fff; border: none; padding: 11px 22px; border-radius: 6px;
	font-size: 15px; font-weight: 600; cursor: pointer;
}
.one96-button-primary:hover { background: #135e96; }
.one96-button-secondary { background: #f0f0f1; color: #1d2327; border: 1px solid #d0d0d0; padding: 9px 18px; border-radius: 6px; font-weight: 600; text-decoration: none; display: inline-block; }

.one96-notice { padding: 12px 16px; border-radius: 8px; margin-bottom: 16px; font-size: 14px; }
.one96-notice.one96-success { background: #e6f6ea; color: #1e7e34; }
.one96-notice.one96-error { background: #fdecea; color: #b3261e; }
.one96-notice.one96-info { background: #eaf2fb; color: #124a7a; }

.one96-status-badge { display: inline-block; padding: 3px 12px; border-radius: 14px; font-size: 12px; font-weight: 700; background: #f0f0f1; }
.one96-status-active, .one96-status-approved, .one96-status-disbursed, .one96-status-paid, .one96-status-resolved, .one96-status-received, .one96-status-upcoming { background: #e6f6ea; color: #1e7e34; }
.one96-status-pending, .one96-status-submitted, .one96-status-due, .one96-status-open, .one96-status-recommended { background: #fff8e5; color: #8a6100; }
.one96-status-rejected, .one96-status-overdue, .one96-status-closed { background: #fdecea; color: #b3261e; }

.one96-table { width: 100%; border-collapse: collapse; margin: 12px 0 24px; font-size: 14px; }
.one96-table th, .one96-table td { text-align: left; padding: 10px 12px; border-bottom: 1px solid #eee; }
.one96-table th { font-weight: 700; background: #fafafa; }

.one96-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; margin: 16px 0; }
.one96-tile { border: 1px solid #e2e2e2; border-radius: 10px; padding: 16px; text-decoration: none; color: #222; background: #fff; }
.one96-tile:hover { box-shadow: 0 2px 10px rgba(0,0,0,.08); }
.one96-tile h4 { margin: 0 0 6px; }

.one96-card-panel { border: 1px solid #e2e2e2; border-radius: 12px; padding: 20px; margin-bottom: 20px; background: #fff; }

.one96-membership-card { max-width: 420px; border-radius: 16px; padding: 24px; background: linear-gradient(135deg,#123a63,#2271b1); color: #fff; text-align: center; }
.one96-membership-card img.qr { background: #fff; padding: 8px; border-radius: 10px; margin-top: 12px; }
.one96-membership-card .name { font-size: 20px; font-weight: 700; margin: 6px 0 2px; }
.one96-membership-card .sn { letter-spacing: 1px; opacity: .9; }

.one96-empty { padding: 30px; text-align: center; color: #777; border: 1px dashed #d0d0d0; border-radius: 10px; }
