.fm-portal { font-family: inherit; max-width: 900px; margin: 0 auto; }
.fm-portal-header { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; }
.fm-portal-stats { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 30px; }
.fm-stat { background: #f8f9fa; border-radius: 8px; padding: 16px 22px; min-width: 150px; text-align: center; }
.fm-stat-value { display: block; font-size: 24px; font-weight: 700; color: #1d2327; }
.fm-stat-label { display: block; font-size: 12px; color: #646970; margin-top: 4px; text-transform: uppercase; }

.fm-list { list-style: none; padding: 0; }
.fm-list li { padding: 8px 0; border-bottom: 1px solid #eee; }
.fm-tag { background: #d1e7dd; color: #0a5c36; font-size: 11px; padding: 2px 8px; border-radius: 10px; margin-left: 8px; }

.fm-table { width: 100%; border-collapse: collapse; margin-bottom: 30px; }
.fm-table th, .fm-table td { text-align: left; padding: 10px; border-bottom: 1px solid #eee; }

.fm-badge { display: inline-block; padding: 2px 10px; border-radius: 12px; font-size: 11px; font-weight: 600; text-transform: uppercase; background: #f0f0f1; color: #50575e; }
.fm-badge-active, .fm-badge-paid { background: #d1e7dd; color: #0a5c36; }
.fm-badge-pending, .fm-badge-draft { background: #fff3cd; color: #7a5b00; }
.fm-badge-suspended, .fm-badge-disputed { background: #ffe1c2; color: #8a4b00; }
.fm-badge-terminated { background: #f8d7da; color: #842029; }
.fm-badge-invoiced { background: #cfe2ff; color: #084298; }

.fm-notice { padding: 14px 18px; border-radius: 6px; margin-bottom: 16px; background: #f0f0f1; }
.fm-notice-success { background: #d1e7dd; color: #0a5c36; }
.fm-notice-error { background: #f8d7da; color: #842029; }

.fm-application-form input, .fm-application-form select, .fm-application-form textarea {
	width: 100%; max-width: 420px; padding: 8px 10px; border: 1px solid #ccc; border-radius: 4px; margin-top: 4px;
}
.fm-btn-primary {
	background: #2271b1; color: #fff; border: none; padding: 10px 22px; border-radius: 4px; cursor: pointer; font-size: 14px;
}
.fm-btn-primary:hover { background: #135e96; }
