.sm_wrapper h3 {
	padding: 8px;
	font-size: 20px;
	border-bottom: 1px solid #ddd;
}

.sendmachine_settings {}

.sendmachine_settings .api_credentials {
	width: 300px;
}

.sm_api_status_wrapper .sm_api_status_description {
	display: inline-block;
	padding: 3px 6px;
	font-size: 13px;
	font-weight: 700;
}

.sm_api_status_wrapper .sm_api_status {
	display: inline-block;
	margin-left: 1em;
	padding: 3px 6px;
	color: #fff;
	font-size: 12px;
	font-weight: 700;
}

.sm_api_status_wrapper .connected {
	background-color: #31B404;
}

.sm_api_status_wrapper .offline {
	background-color: grey;
}

.sm_list_api_not_connected {
	text-decoration: none;
	background-color: grey;
	display: inline-block;
	color: white;
	padding: 3px;
	font-weight: bold;
}

.sm_list_api_not_connected:hover {
	text-decoration: none;
	color: white;
}

.list_sm_table {
	/*max-width:772px;*/
	/*max-width:800px;*/
}

.list_sm_table .sm_row_title {
	text-align: left;
	padding: 20px 10px 20px 0;
	font-weight: 600;
	width: 240px;
}

.list_sm_table .sm_row_content {
	width: 120px;
}

.list_sm_table .sm_row_content .breathe_through_elements {
	margin-bottom: 10px;
	display: inline-block;
}

.list_sm_table .hold_top {
	padding-top: 0px;
	vertical-align: top;
}

.list_sm_table .sm_row_content_merged {
	width: 463px;
}

.list_sm_table .sm_row_content_master {
	width: 681px;
}

.list_sm_table .sm_full {
	width: 100%;
}

.list_sm_table .sm_row_description {
	width: 290px;
	font-style: italic;
	font-size: 11px;
	padding-left: 50px;
}

.sm_list_select {
	width: 80%;
}

.sm_list_button {
	width: 18%;
	text-align: center;
}

.sm_list_fields_settings {
	border-left: 1px solid lightgrey;
	margin-top: 20px;
	width: 100%;
}

.sm_list_fields_settings thead td {
	padding: 0px 10px 10px 10px;
	font-weight: bold;
	font-size: 15px;
}

.sm_list_fields_settings tbody td {
	padding: 10px;
	border-top: 1px solid lightgrey;
}

.sm_wp_display_exceptions {
	width: 80%;
	/*clear:right;*/
	float: right;
	text-align: center;
	padding: 10px;
	margin: 20px 20px 10px 180px;
	border: 1px solid lightgrey;
	border-radius: 5px;
	background-color: white;
}

.track_email_input {
	float: right;
	width: 70%;
}

.general_sm_description {
	font-style: italic;
}

.sm_feed_header {
	margin-top: 30px;
	font-size: 16px;
	font-weight: bold;
}

.sm_feed_description {
	font-style: italic;
}

.sm_keywords_ul {
	list-style: square;
	padding-left: 40px;
}

.sm_keywords_title {
	font-size: 16px;
}

.sm_card {
	position: relative;
	margin-top: 20px;
	padding: .7em 2em 1em;
	min-width: 255px;
	max-width: 720px;
	border: 1px solid #c3c4c7;
	box-shadow: 0 1px 1px rgba(0, 0, 0, .04);
	background: #fff;
	box-sizing: border-box;
}

.sm_header h2 {
	font-size: 24px;
	display: flex;
	align-items: center;
}

.sm_header img {
	height: 40px;
	padding-right: 4px;
}

.sm_cell_center {
	text-align: center;
	vertical-align: middle;
}

.sm_submit_row {
	padding-top: 20px;
}

.sm_submit_row_small {
	padding-top: 10px;
}

.sm_notice_bottom {
	margin-bottom: 15px;
}

.sm_flex {
	display: flex;
	align-items: center;
}

.sm_flex_grow {
	flex-grow: 1;
}

/* Disabled / placeholder nav tabs */
.sm_settings_tabs .sm_tab_disabled {
	cursor: default;
	color: #787c82;
	background-color: transparent;
	border-color: transparent;
	pointer-events: none;
	position: relative;
	text-shadow: none;
	box-shadow: none;
}

.sm_settings_tabs a.sm_tab_disabled {
	cursor: pointer;
	pointer-events: auto;
}

.sm_settings_tabs a.sm_tab_disabled:hover {
	color: #50575e;
	background-color: #f0f0f1;
	border-color: #c3c4c7;
}

.sm_settings_tabs span.sm_tab_disabled:hover {
	color: #787c82;
	background-color: transparent;
	border-color: transparent;
}

.sm_tab_badge {
	display: inline;
	margin-left: 2px;
	padding: 0 3px;
	font-size: 9px;
	font-weight: 700;
	line-height: 1;
	color: #fff;
	background-color: #787c82;
	border-radius: 4px;
	vertical-align: super;
	text-transform: uppercase;
	letter-spacing: 0.02em;
}

/* ── Dashboard ─────────────────────────────────────────── */

.sm_dashboard_grid {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
	gap: 20px;
	margin-top: 24px;
}

.sm_dashboard_card {
	flex: 1 1 300px;
	max-width: 400px;
	/* background: #fff; */
	/* border: 1px solid #dcdcde; */
	border-radius: 4px;
	box-shadow: 0 1px 3px rgba(0, 0, 0, .06), 0 1px 2px rgba(0, 0, 0, .04);
	box-sizing: border-box;
	overflow: hidden;
	transition: box-shadow 0.15s ease;
	border: 1px solid #2271b1;
	background: linear-gradient(135deg, #f0f6fc 0%, #fff 100%);
}

.sm_dashboard_card:hover {
	box-shadow: 0 3px 8px rgba(0, 0, 0, .09), 0 1px 3px rgba(0, 0, 0, .06);
}

.sm_dashboard_card_title,
.sm_wrapper .sm_dashboard_card_title {
	margin: 0;
	padding: 12px 20px;
	font-size: 14px;
	font-weight: 600;
	/* color: #50575e; */
	letter-spacing: 0;
	/* border-bottom: 1px solid #f0f0f1; */
	/* background: #f6f7f7; */
	color: #2271b1;
	background: #f0f6fc;
	border-bottom: 1px solid #c3dcf5;
}

.sm_dashboard_card_body {
	padding: 20px;
}

/* Placeholder card */
.sm_dashboard_card_placeholder {
	background: #fafafa;
	border-color: #e2e4e7;
	box-shadow: none;
}

.sm_dashboard_card_placeholder:hover {
	box-shadow: none;
}

.sm_dashboard_card_placeholder .sm_dashboard_card_title {
	color: #a7aaad;
	background: #f6f7f7;
	border-bottom-color: #e2e4e7;
}

.sm_dashboard_card_placeholder .sm_dashboard_card_body {
	color: #a7aaad;
}

.sm_dashboard_placeholder_text {
	margin: 0;
	font-size: 13px;
	line-height: 1.6;
}

.sm_dashboard_no_data {
	margin: 0;
	color: #a7aaad;
	font-style: italic;
	font-size: 13px;
}

/* Credit stats */
.sm_credits_row {
	display: flex;
	gap: 0;
	margin-bottom: 20px;
}

.sm_credits_stat {
	display: flex;
	flex-direction: column;
	flex: 1;
	padding-right: 16px;
}

.sm_credits_stat+.sm_credits_stat {
	padding-right: 0;
	padding-left: 16px;
	border-left: 1px solid #f0f0f1;
}

.sm_credits_label {
	font-size: 10px;
	color: #a7aaad;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	margin-bottom: 4px;
}

.sm_credits_value {
	font-size: 32px;
	font-weight: 700;
	color: #1d2327;
	line-height: 1;
	letter-spacing: -0.02em;
}

.sm_credits_total {
	font-size: 11px;
	color: #c3c4c7;
	margin-top: 4px;
}

/* Progress bar */
.sm_credits_progress_wrap {
	margin-top: 0;
}

.sm_credits_progress_meta {
	display: flex;
	justify-content: space-between;
	font-size: 11px;
	color: #a7aaad;
	margin-bottom: 6px;
}

.sm_progress_track {
	height: 6px;
	background: #f0f0f1;
	border-radius: 3px;
	overflow: hidden;
}

.sm_progress_bar {
	height: 100%;
	border-radius: 3px;
	min-width: 3px;
	transition: width 0.5s cubic-bezier(.4, 0, .2, 1);
}

.sm_bar_success {
	background-color: #00a32a;
}

.sm_bar_warning {
	background-color: #dba617;
}

.sm_bar_danger {
	background-color: #d63638;
}

.sm-notice-sms-upsell {
	display: flex;
	align-items: center;
	gap: 16px;
	padding: 14px 16px;
}

.sm-notice-sms-upsell .notice-dismiss {
	text-decoration: none;
}

.sm-notice-sms-upsell-logo {
	height: 32px;
	flex-shrink: 0;
}

.sm-notice-sms-upsell-body {
	flex: 1;
}

.sm-notice-sms-upsell-title {
	margin: 0 0 4px;
	font-size: 14px;
	font-weight: 600;
}

.sm-notice-sms-upsell-text {
	margin: 0;
	font-size: 13px;
	color: #50575e;
}

.sm-notice-sms-upsell-cta {
	flex-shrink: 0;
	white-space: nowrap;
	margin-right: 24px;
}

.sm_clear_right {
	clear: right;
}

.sm_mt_25 {
	margin-top: 25px;
}

/* Upsell card */
.sm_dashboard_card_stack {
	display: flex;
	flex-direction: column;
	flex: 1 1 300px;
	max-width: 400px;
	gap: 20px;
}

.sm_dashboard_card_stack .sm_dashboard_card {
	flex: unset;
	max-width: none;
}

.sm_upsell_text {
	margin: 0 0 16px;
	font-size: 13px;
	line-height: 1.6;
	color: #50575e;
}

.sm_upsell_button {
	display: inline-block;
}

.sm_pt_20 {
	padding-top: 20px;
}

.sm_ml_15 {
	margin-left: 15px;
}

.sm_btn_mr {
	margin-right: 10px;
}

.sm_stat_failed {
	color: #d63638;
}

.sm_nav_tab {
	border-top-right-radius: 0.5rem;
	border-top-left-radius: 0.5rem;
}