/*!
 * WC SMS Pro - frontend styles
 */

.wcsmspro-auth {
	max-width: 420px;
	margin: 0 auto;
	padding: 24px;
	background: #fff;
	border: 1px solid #e5e7eb;
	border-radius: 14px;
	box-shadow: 0 2px 10px rgba(15, 23, 42, .05);
	direction: rtl;
	text-align: right;
	font-size: 15px;
	line-height: 2;
}

.wcsmspro-auth__title {
	margin: 0 0 18px;
	font-size: 18px;
	font-weight: 700;
}

.wcsmspro-auth__note {
	margin: 16px 0 0;
	font-size: 12.5px;
	color: #6b7280;
}

.wcsmspro-label {
	display: block;
	margin-bottom: 6px;
	font-weight: 600;
	font-size: 14px;
}

.wcsmspro-input {
	width: 100%;
	padding: 11px 14px;
	font-size: 16px;
	font-family: inherit;
	border: 1px solid #cbd5e1;
	border-radius: 10px;
	background: #fbfbfc;
	box-sizing: border-box;
}

.wcsmspro-input:focus {
	outline: none;
	border-color: #1e5f74;
	box-shadow: 0 0 0 3px rgba(30, 95, 116, .14);
}

.wcsmspro-step {
	margin-bottom: 14px;
}

.wcsmspro-code-row {
	display: flex;
	gap: 10px;
}

.wcsmspro-code-row .wcsmspro-input {
	flex: 1;
	text-align: center;
	letter-spacing: 6px;
	font-weight: 700;
}

.wcsmspro-btn {
	display: inline-block;
	margin-top: 12px;
	padding: 11px 22px;
	font-size: 15px;
	font-family: inherit;
	font-weight: 600;
	color: #fff;
	background: #1e5f74;
	border: 0;
	border-radius: 10px;
	cursor: pointer;
	transition: background .15s ease, opacity .15s ease;
}

.wcsmspro-btn:hover {
	background: #17495a;
}

.wcsmspro-btn[disabled] {
	opacity: .55;
	cursor: not-allowed;
}

.wcsmspro-code-row .wcsmspro-btn {
	margin-top: 0;
	white-space: nowrap;
}

.wcsmspro-link {
	margin-top: 12px;
	padding: 0;
	font-family: inherit;
	font-size: 13.5px;
	color: #1e5f74;
	background: none;
	border: 0;
	text-decoration: underline;
	cursor: pointer;
}

.wcsmspro-alert {
	margin: 14px 0 0;
	min-height: 1.4em;
	font-size: 13.5px;
	font-weight: 600;
	color: #a02a27;
}

.wcsmspro-alert--success {
	color: #1a7f37;
}

.wcsmspro-note {
	padding: 12px 16px;
	background: #eef6fb;
	border-radius: 10px;
	text-align: center;
}

/* Checkout widget. */
.wcsmspro-checkout {
	margin: 16px 0;
	padding: 14px 16px;
	background: #f7fafc;
	border: 1px solid #dbe6ee;
	border-radius: 12px;
}

.wcsmspro-checkout__title {
	margin: 0 0 4px;
	font-weight: 700;
	font-size: 14px;
}

.wcsmspro-checkout__hint {
	margin: 0 0 10px;
	font-size: 12.5px;
	color: #6b7280;
	line-height: 1.8;
}

.wcsmspro-checkout__actions {
	display: flex;
	gap: 10px;
	margin: 10px 0 0;
}

.wcsmspro-checkout__actions .button {
	background: #1e5f74;
	color: #fff;
	border-radius: 8px;
	border-color: #1e5f74;
	padding: 6px 14px;
	font-size: 13px;
}

.wcsmspro-field label {
	display: block;
	font-weight: 600;
}