.lrs-box {
	max-width: 420px;
	margin: 20px auto;
	padding: 28px;
	border: 1px solid #e2e2e2;
	border-radius: 12px;
	background: #fff;
	box-shadow: 0 2px 10px rgba(0,0,0,0.04);
	font-family: Tahoma, "Iranian Sans", sans-serif;
}

.lrs-tabs {
	display: flex;
	gap: 8px;
	margin-bottom: 18px;
	border-bottom: 1px solid #eee;
}

.lrs-tab {
	flex: 1;
	background: none;
	border: none;
	padding: 10px 0;
	font-size: 15px;
	cursor: pointer;
	color: #777;
	border-bottom: 2px solid transparent;
}

.lrs-tab.active {
	color: #1f6feb;
	border-bottom-color: #1f6feb;
	font-weight: bold;
}

.lrs-subtabs {
	display: flex;
	gap: 6px;
	margin-bottom: 14px;
}

.lrs-subtab {
	flex: 1;
	background: #f5f6f8;
	border: none;
	border-radius: 8px;
	padding: 8px 6px;
	font-size: 13px;
	cursor: pointer;
	color: #555;
}

.lrs-subtab.active {
	background: #1f6feb;
	color: #fff;
}

.lrs-panel { display: none; }
.lrs-panel.active { display: block; }

.lrs-subpanel { display: none; }
.lrs-subpanel.active { display: block; }

.lrs-box label {
	display: block;
	margin: 10px 0 4px;
	font-size: 13px;
	color: #333;
}

.lrs-box input[type="text"],
.lrs-box input[type="email"],
.lrs-box input[type="password"] {
	width: 100%;
	box-sizing: border-box;
	padding: 10px 12px;
	border: 1px solid #dcdcdc;
	border-radius: 8px;
	font-size: 14px;
}

.lrs-otp-row {
	display: flex;
	gap: 8px;
}

.lrs-otp-row input { flex: 1; }

.lrs-btn {
	width: 100%;
	margin-top: 18px;
	padding: 11px 0;
	background: #1f6feb;
	color: #fff;
	border: none;
	border-radius: 8px;
	font-size: 15px;
	cursor: pointer;
}

.lrs-btn:hover { background: #1a5fc9; }
.lrs-btn:disabled { opacity: 0.6; cursor: not-allowed; }

.lrs-btn-outline {
	width: auto;
	white-space: nowrap;
	margin-top: 0;
	background: #fff;
	color: #1f6feb;
	border: 1px solid #1f6feb;
	padding: 0 14px;
}

.lrs-btn-secondary {
	display: inline-block;
	width: auto;
	text-decoration: none;
	text-align: center;
	background: #eee;
	color: #333;
}

.lrs-row-between {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-top: 12px;
	font-size: 13px;
}

.lrs-checkbox {
	display: flex;
	align-items: center;
	gap: 6px;
	margin: 0;
}

.lrs-link {
	background: none;
	border: none;
	color: #1f6feb;
	cursor: pointer;
	font-size: 13px;
	padding: 0;
}

.lrs-back { margin-bottom: 14px; }

.lrs-hint {
	font-size: 12px;
	color: #888;
	margin: 6px 0 0;
}

.lrs-alert {
	margin-bottom: 14px;
	padding: 10px 12px;
	border-radius: 8px;
	font-size: 13px;
}

.lrs-alert.lrs-error {
	background: #fdecea;
	color: #b3261e;
	border: 1px solid #f5c2c0;
}

.lrs-alert.lrs-success {
	background: #eaf7ed;
	color: #1e7e34;
	border: 1px solid #c3e6cb;
}

.lrs-loading {
	text-align: center;
	margin-top: 14px;
}

.lrs-spinner {
	display: inline-block;
	width: 20px;
	height: 20px;
	border: 3px solid #ddd;
	border-top-color: #1f6feb;
	border-radius: 50%;
	animation: lrs-spin 0.8s linear infinite;
}

@keyframes lrs-spin {
	to { transform: rotate(360deg); }
}

.lrs-logged-in {
	text-align: center;
}
