/* ==========================================================================
   SMM Nepal Reseller Plugin — shared admin + frontend styles
   ========================================================================== */

/* ---- Admin: repeater tables (Margin Settings) -------------------------- */
.smmnr-repeater-table { margin-bottom: 8px; }
.smmnr-repeater-table th, .smmnr-repeater-table td { padding: 8px; }
.smmnr-remove-row { color: #b32d2e; font-size: 18px; line-height: 1; cursor: pointer; }

/* ---- Admin: status badges (Orders table) ------------------------------- */
.smmnr-status-badge {
	display: inline-block;
	padding: 2px 10px;
	border-radius: 12px;
	font-size: 12px;
	font-weight: 600;
	text-transform: capitalize;
	background: #eee;
	color: #333;
}
.smmnr-status-pending      { background: #fff3cd; color: #8a6d3b; }
.smmnr-status-in-progress  { background: #d9edf7; color: #31708f; }
.smmnr-status-processing   { background: #d9edf7; color: #31708f; }
.smmnr-status-completed    { background: #dff0d8; color: #3c763d; }
.smmnr-status-partial      { background: #fcf8e3; color: #8a6d3b; }
.smmnr-status-canceled,
.smmnr-status-cancelled    { background: #f2dede; color: #a94442; }

/* ---- Frontend: services table ------------------------------------------ */
.smmnr-services-wrap { max-width: 100%; overflow-x: auto; }
.smmnr-services-search {
	width: 100%;
	max-width: 320px;
	padding: 8px 12px;
	margin-bottom: 12px;
	border: 1px solid #ccc;
	border-radius: 4px;
}
.smmnr-services-table { width: 100%; border-collapse: collapse; }
.smmnr-services-table th, .smmnr-services-table td {
	padding: 10px 12px;
	border-bottom: 1px solid #eee;
	text-align: left;
	font-size: 14px;
}
.smmnr-services-table th { background: #f7f7f7; font-weight: 600; }
.smmnr-services-table tr.smmnr-row-hidden { display: none; }

/* ---- Frontend: order form ----------------------------------------------- */
.smmnr-order-form-wrap,
.smmnr-track-order-wrap {
	max-width: 480px;
	margin: 0 auto;
	background: #fff;
	border: 1px solid #e2e2e2;
	border-radius: 8px;
	padding: 24px;
}
.smmnr-field { margin-bottom: 16px; }
.smmnr-field label { display: block; margin-bottom: 6px; font-weight: 600; font-size: 14px; }
.smmnr-field input,
.smmnr-field select {
	width: 100%;
	padding: 10px 12px;
	border: 1px solid #ccc;
	border-radius: 4px;
	font-size: 14px;
	box-sizing: border-box;
}
.smmnr-price-preview { font-size: 16px; margin-bottom: 16px; }
.smmnr-submit-btn {
	background: #2271b1;
	color: #fff;
	border: none;
	padding: 12px 24px;
	border-radius: 4px;
	font-size: 15px;
	font-weight: 600;
	cursor: pointer;
	width: 100%;
}
.smmnr-submit-btn:hover { background: #135e96; }
.smmnr-submit-btn:disabled { background: #999; cursor: not-allowed; }

/* ---- Notices (shared) --------------------------------------------------- */
.smmnr-notice {
	margin-top: 16px;
	padding: 12px 16px;
	border-radius: 4px;
	font-size: 14px;
}
.smmnr-notice-success { background: #dff0d8; color: #3c763d; border: 1px solid #d6e9c6; }
.smmnr-notice-error   { background: #f2dede; color: #a94442; border: 1px solid #ebccd1; }

/* ---- Order tracker result table ------------------------------------------ */
.smmnr-track-result-table { width: 100%; border-collapse: collapse; margin-top: 10px; }
.smmnr-track-result-table td { padding: 8px; border-bottom: 1px solid #eee; font-size: 14px; }
.smmnr-track-result-table td:first-child { font-weight: 600; width: 40%; }
