/* Tax Exempt Manager — Frontend Styles */

.rankd-tx-status-box {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 12px 16px;
	margin-bottom: 20px;
	border-radius: 4px;
	font-size: 14px;
	line-height: 1.5;
}
.rankd-tx-status-box.rankd-tx-exempt     { background: #edf6ed; border: 1px solid #7eb97e; color: #2d6a2d; }
.rankd-tx-status-box.rankd-tx-not-exempt { background: #f6f6f6; border: 1px solid #ddd;    color: #555; }
.rankd-tx-status-icon               { font-size: 18px; flex-shrink: 0; }

.rankd-tx-account-tab h3    { margin-top: 24px; }
.rankd-tx-submission-form p { margin-bottom: 12px; }

.rankd-tx-form-row            { display: flex; flex-direction: column; gap: 4px; max-width: 480px; }
.rankd-tx-form-row label      { font-weight: 600; font-size: 14px; }
.rankd-tx-form-row input,
.rankd-tx-form-row select     { width: 100%; padding: 8px; border: 1px solid #ccc; border-radius: 3px; }
.rankd-tx-form-row .description { font-size: 12px; color: #666; }

.rankd-tx-rejection-reason    { background: #fff3cd; padding: 10px 14px; border-radius: 4px; border: 1px solid #ffc107; }

/* Status badges (My Account certificate list) */
.rankd-tx-badge {
	display: inline-block;
	padding: 2px 8px;
	border-radius: 3px;
	font-size: 12px;
	font-weight: 600;
	line-height: 1.5;
}
.rankd-tx-badge--approved    { background: #d4edda; color: #155724; }
.rankd-tx-badge--pending     { background: #fff3cd; color: #856404; }
.rankd-tx-badge--rejected    { background: #f8d7da; color: #721c24; }
.rankd-tx-badge--expired     { background: #e2e3e5; color: #383d41; }
.rankd-tx-badge--superseded  { background: #e2e3e5; color: #383d41; }
.rankd-tx-badge--revoked     { background: #f8d7da; color: #4a0000; border: 1px solid #c00; }

#rankd-tx-submission-message            { padding: 10px 14px; border-radius: 4px; margin-bottom: 16px; }
#rankd-tx-submission-message.success    { background: #edf6ed; border: 1px solid #7eb97e; color: #2d6a2d; }
#rankd-tx-submission-message.error      { background: #f8d7da; border: 1px solid #f5c6cb; color: #721c24; }

.rankd-tx-expired-notice {
	background: #fff3cd;
	border: 1px solid #ffc107;
	border-radius: 4px;
	padding: 12px 16px;
	margin-bottom: 16px;
}
.rankd-tx-expired-notice p { margin: 0 0 8px; }
.rankd-tx-expired-notice p:last-child { margin-bottom: 0; }
