.sma-auth-card {
	max-width: 480px;
	margin: 0 auto 28px;
	padding: 24px 22px;
	background: #ffffff;
	border: 1px solid #e5e7eb;
	border-radius: 12px;
	box-shadow: 0 6px 24px rgba(15, 23, 42, 0.06);
	direction: rtl;
	text-align: right;
}

.sma-auth-header {
	margin-bottom: 16px;
}

.sma-auth-title {
	margin: 0 0 6px;
	font-size: 18px;
	font-weight: 700;
	color: #111827;
}

.sma-auth-subtitle {
	margin: 0;
	font-size: 13px;
	color: #6b7280;
	line-height: 1.7;
}

.sma-label {
	display: block;
	margin-bottom: 6px;
	font-size: 13px;
	font-weight: 600;
	color: #374151;
}

.sma-input {
	width: 100%;
	height: 44px;
	padding: 0 14px;
	margin-bottom: 12px;
	font-size: 15px;
	border: 1px solid #d1d5db;
	border-radius: 8px;
	background: #f9fafb;
	color: #111827;
	box-sizing: border-box;
	transition: border-color 0.2s, box-shadow 0.2s, background-color 0.2s;
}

.sma-input:focus {
	outline: none;
	border-color: #2563eb;
	background: #ffffff;
	box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.14);
}

.sma-btn {
	width: 100%;
	height: 44px;
	border: 0;
	border-radius: 8px;
	font-size: 14px;
	font-weight: 700;
	cursor: pointer;
	transition: opacity 0.2s, transform 0.1s;
}

.sma-btn:disabled {
	opacity: 0.6;
	cursor: not-allowed;
}

.sma-btn-primary {
	background: #1d4ed8;
	color: #ffffff;
}

.sma-btn-primary:hover:not(:disabled) {
	background: #1e40af;
}

.sma-notice {
	padding: 10px 12px;
	margin-bottom: 14px;
	border-radius: 8px;
	font-size: 13px;
	line-height: 1.6;
}

.sma-notice.is-error {
	background: #fef2f2;
	color: #991b1b;
	border: 1px solid #fecaca;
}

.sma-notice.is-success {
	background: #ecfdf5;
	color: #065f46;
	border: 1px solid #a7f3d0;
}

.sma-sent-info {
	margin: 0 0 12px;
	font-size: 13px;
	color: #374151;
}

.sma-step-actions {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-top: 12px;
	gap: 8px;
}

.sma-link-btn {
	background: none;
	border: 0;
	padding: 4px 0;
	font-size: 13px;
	color: #1d4ed8;
	cursor: pointer;
	text-decoration: underline;
}

.sma-link-btn:disabled {
	color: #6b7280;
	text-decoration: none;
	cursor: default;
}

.sma-divider {
	position: relative;
	text-align: center;
	margin-top: 20px;
}

.sma-divider::before {
	content: "";
	position: absolute;
	top: 50%;
	left: 0;
	right: 0;
	border-top: 1px solid #e5e7eb;
}

.sma-divider span {
	position: relative;
	display: inline-block;
	padding: 0 10px;
	background: #ffffff;
	font-size: 12px;
	color: #6b7280;
}

.sma-logged-in-notice {
	padding: 12px 16px;
	background: #f0fdf4;
	border: 1px solid #bbf7d0;
	border-radius: 8px;
	color: #166534;
	font-size: 14px;
}

.sma-hamkar-gate-wrap {
	padding: 48px 16px;
	min-height: 55vh;
	display: flex;
	align-items: center;
	justify-content: center;
}

.sma-hamkar-gate-wrap .sma-auth-card {
	width: 100%;
	margin: 0 auto;
}

.sma-gate-badge {
	display: inline-block;
	margin-bottom: 10px;
	padding: 4px 10px;
	border-radius: 999px;
	background: #eff6ff;
	color: #1d4ed8;
	font-size: 12px;
	font-weight: 700;
}

.sma-tabs {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 6px;
	padding: 4px;
	margin-bottom: 16px;
	background: #f3f4f6;
	border-radius: 10px;
}

.sma-tab-btn {
	height: 38px;
	border: 0;
	border-radius: 8px;
	background: transparent;
	color: #4b5563;
	font-size: 13px;
	font-weight: 600;
	cursor: pointer;
	transition: background-color 0.2s, color 0.2s, box-shadow 0.2s;
}

.sma-tab-btn.is-active {
	background: #ffffff;
	color: #1d4ed8;
	box-shadow: 0 1px 4px rgba(15, 23, 42, 0.08);
}

.sma-gate-actions {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin-top: 16px;
}

.sma-btn-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	text-decoration: none;
}

.sma-btn-secondary {
	background: #f3f4f6;
	color: #1f2937;
}

.sma-btn-secondary:hover {
	background: #e5e7eb;
	color: #111827;
}
