/* G Online SMS – Admin Styles */

.g-sms-card {
	background: #fff;
	border: 1px solid #c3c4c7;
	border-radius: 4px;
	padding: 20px 24px;
	margin: 16px 0;
	max-width: 900px;
}

.g-sms-card h2,
.g-sms-card h3 {
	margin-top: 0;
	padding-bottom: 10px;
	border-bottom: 1px solid #e9e9e9;
	font-size: 15px;
	color: #1d2327;
}

.g-sms-card p.description {
	font-style: normal;
	color: #646970;
}

.g-sms-notice-inline {
	display: inline-block;
	padding: 4px 10px;
	border-radius: 3px;
}

.g-sms-notice-inline.error {
	background: #fce8e8;
	color: #c0392b;
}

/* Status badges */
.g-sms-status {
	display: inline-block;
	padding: 2px 8px;
	border-radius: 10px;
	font-size: 12px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.03em;
}

.g-sms-status--sent {
	background: #eaf7ee;
	color: #1e7e34;
}

.g-sms-status--failed {
	background: #fce8e8;
	color: #c0392b;
}

.g-sms-status--pending {
	background: #fff8e1;
	color: #856404;
}

/* Test button feedback */
#g-sms-test-result.success {
	color: #1e7e34;
}

#g-sms-test-result.error {
	color: #c0392b;
}

/* -----------------------------------------------------------------
   Reset-to-default button
----------------------------------------------------------------- */
.g-sms-reset-default {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	margin-top: 5px;
	padding: 3px 10px;
	font-size: 12px;
	color: #50575e;
	background: #f6f7f7;
	border: 1px solid #c3c4c7;
	border-radius: 3px;
	cursor: pointer;
	line-height: 1.6;
	transition: background 0.15s, color 0.15s;
}
.g-sms-reset-default:hover {
	background: #fff;
	border-color: #8c8f94;
	color: #1d2327;
}
.g-sms-btn-restored {
	background: #eaf7ee !important;
	border-color: #68de7c !important;
	color: #1e7e34 !important;
}
.form-table textarea { transition: background-color 0.4s ease; }
.g-sms-template-wrap { display: flex; flex-direction: column; gap: 4px; }
