.auth_main {
	background: #f0f1f8;
	min-height: calc(100vh - 280px);
	padding: 32px 16px 48px;
}

.auth_wrapper {
	max-width: 920px;
	margin: 0 auto;
}

.auth_card {
	background: #fff;
	border-radius: 12px;
	box-shadow: 0 4px 24px rgba(52, 0, 107, 0.1);
	overflow: hidden;
}

.auth_tabs {
	display: flex;
	border-bottom: 2px solid #e8e6f0;
}

.auth_tab {
	flex: 1;
	padding: 16px 20px;
	font-size: 16px;
	font-weight: 600;
	font-family: "Poppins", "Nirmala UI", sans-serif;
	color: #666;
	background: #faf9fc;
	border: none;
	cursor: pointer;
	transition: all 0.2s;
}

.auth_tab.active {
	color: #34006b;
	background: #fff;
	border-bottom: 3px solid #34006b;
	margin-bottom: -2px;
}

.auth_panel {
	display: none;
	padding: 28px 32px 36px;
}

.auth_panel.active {
	display: block;
}

.auth_panel h2 {
	margin: 0 0 6px;
	font-size: 22px;
	color: #34006b;
	font-family: "Poppins", "Nirmala UI", sans-serif;
}

.auth_panel .subtitle {
	margin: 0 0 24px;
	color: #666;
	font-size: 14px;
}

.login_mode_tabs {
	display: flex;
	gap: 8px;
	margin-bottom: 20px;
}

.login_mode_btn {
	padding: 8px 18px;
	border: 1px solid #d0cce0;
	border-radius: 8px;
	background: #fff;
	font-size: 14px;
	cursor: pointer;
	color: #444;
}

.login_mode_btn.active {
	background: #34006b;
	color: #fff;
	border-color: #34006b;
}

.form_group {
	margin-bottom: 18px;
}

.form_group label {
	display: block;
	margin-bottom: 6px;
	font-size: 14px;
	font-weight: 500;
	color: #333;
}

.form_group label .req {
	color: #c62828;
}

.form_group input,
.form_group select,
.form_group textarea {
	width: 100%;
	padding: 11px 14px;
	border: 1px solid #d0cce0;
	border-radius: 8px;
	font-size: 14px;
	font-family: inherit;
	box-sizing: border-box;
	transition: border-color 0.2s;
}

.form_group input:focus,
.form_group select:focus {
	outline: none;
	border-color: #34006b;
	box-shadow: 0 0 0 3px rgba(52, 0, 107, 0.12);
}

.form_row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px;
}

.form_row.cols3 {
	grid-template-columns: 1fr 1fr 1fr;
}

.login_otp_step {
	display: none;
	margin-bottom: 8px;
}

.login_otp_step.visible {
	display: block;
}

.login_send_otp_row {
	margin-top: 4px;
	margin-bottom: 16px;
}

.otp_row {
	display: flex;
	gap: 12px;
	align-items: flex-end;
}

.otp_row .form_group {
	flex: 1;
	margin-bottom: 0;
}

.btn_primary {
	background: #34006b;
	color: #fff;
	border: none;
	padding: 12px 28px;
	border-radius: 8px;
	font-size: 15px;
	font-weight: 600;
	cursor: pointer;
	transition: background 0.2s;
}

.btn_primary:hover {
	background: #42079e;
}

.btn_secondary {
	background: #fff;
	color: #34006b;
	border: 1px solid #34006b;
	padding: 11px 22px;
	border-radius: 8px;
	font-size: 14px;
	font-weight: 600;
	cursor: pointer;
	white-space: nowrap;
}

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

.form_actions {
	margin-top: 24px;
	display: flex;
	gap: 12px;
	flex-wrap: wrap;
}

.section_title {
	font-size: 16px;
	font-weight: 600;
	color: #34006b;
	margin: 28px 0 16px;
	padding-bottom: 8px;
	border-bottom: 1px solid #e8e6f0;
}

.section_title:first-of-type {
	margin-top: 0;
}

.udyam_choice {
	background: #f8f6fc;
	border: 1px solid #e8e6f0;
	border-radius: 10px;
	padding: 18px 20px;
	margin-bottom: 24px;
}

.udyam_choice > label:first-child {
	font-weight: 600;
	color: #333;
	margin-bottom: 12px;
	display: block;
}

.radio_group {
	display: flex;
	gap: 24px;
}

.radio_group label {
	display: flex;
	align-items: center;
	gap: 8px;
	font-weight: 500;
	cursor: pointer;
}

.reg_block {
	display: none;
}

.reg_block.visible {
	display: block;
}

.udyam_verify_row {
	display: flex;
	gap: 12px;
	align-items: flex-end;
	margin-bottom: 18px;
	flex-wrap: wrap;
}

.udyam_verify_row .udyam_no_group {
	flex: 0 1 320px;
	max-width: 320px;
	margin-bottom: 0;
}

.udyam_verify_row .udyam_no_group input {
	width: 100%;
}

.udyam_otp_step {
	display: none;
	margin-bottom: 20px;
	padding: 16px;
	background: #f8f6fc;
	border-radius: 10px;
	border: 1px solid #e8e6f0;
}

.udyam_otp_step.visible {
	display: block;
}

.bihar_msme_result {
	display: none;
}

.bihar_msme_result.visible {
	display: block;
}

.msme_success_msg {
	color: #2e7d32;
	font-size: 14px;
	font-weight: 600;
	margin: 0 0 16px;
}

.msme_data_card {
	background: #f8f6fc;
	border: 1px solid #e8e6f0;
	border-radius: 10px;
	overflow: hidden;
	margin-bottom: 20px;
}

.msme_data_table {
	width: 100%;
	border-collapse: collapse;
	font-size: 14px;
}

.msme_data_table th,
.msme_data_table td {
	padding: 12px 16px;
	text-align: left;
	border-bottom: 1px solid #e8e6f0;
	vertical-align: top;
}

.msme_data_table th {
	width: 38%;
	background: #fff;
	color: #34006b;
	font-weight: 600;
}

.msme_data_table tr:last-child th,
.msme_data_table tr:last-child td {
	border-bottom: none;
}

.status_active {
	color: #2e7d32;
	font-weight: 600;
}

#udyamFormPhase.hidden {
	display: none;
}

.otp_msg {
	font-size: 13px;
	color: #2e7d32;
	margin-top: 8px;
	display: none;
}

.otp_msg.show {
	display: block;
}

.app_alert_root {
	position: fixed;
	inset: 0;
	z-index: 10000;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 20px;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.25s ease, visibility 0.25s ease;
}

.app_alert_root.open {
	opacity: 1;
	visibility: visible;
}

.app_alert_backdrop {
	position: absolute;
	inset: 0;
	background: rgba(26, 16, 48, 0.55);
	backdrop-filter: blur(4px);
}

.app_alert_dialog {
	position: relative;
	width: 100%;
	max-width: 420px;
	background: #fff;
	border-radius: 14px;
	padding: 28px 28px 24px;
	text-align: center;
	box-shadow: 0 20px 50px rgba(52, 0, 107, 0.25);
	transform: scale(0.92) translateY(12px);
	transition: transform 0.25s ease;
}

.app_alert_root.open .app_alert_dialog {
	transform: scale(1) translateY(0);
}

.app_alert_icon {
	width: 56px;
	height: 56px;
	margin: 0 auto 16px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
}

.app_alert_icon svg {
	width: 28px;
	height: 28px;
}

.app_alert_icon--success {
	background: #e8f5e9;
	color: #2e7d32;
}

.app_alert_icon--error {
	background: #ffebee;
	color: #c62828;
}

.app_alert_icon--warning {
	background: #fff8e1;
	color: #f57c00;
}

.app_alert_icon--info {
	background: #ede7f6;
	color: #34006b;
}

.app_alert_title {
	margin: 0 0 10px;
	font-size: 20px;
	font-weight: 700;
	color: #1a1a2e;
	font-family: "Poppins", "Nirmala UI", sans-serif;
}

.app_alert_message {
	margin: 0 0 22px;
	font-size: 15px;
	line-height: 1.55;
	color: #555;
}

.app_alert_timer {
	display: none;
	height: 4px;
	margin: -8px 0 18px;
	background: #ede7f6;
	border-radius: 4px;
	overflow: hidden;
}

.app_alert_timer.active {
	display: block;
}

.app_alert_timer_bar {
	display: block;
	height: 100%;
	width: 100%;
	background: #34006b;
	border-radius: 4px;
	transform-origin: left center;
	animation: appAlertTimerShrink var(--app-alert-timer-ms, 3s) linear forwards;
}

@keyframes appAlertTimerShrink {
	from {
		transform: scaleX(1);
	}
	to {
		transform: scaleX(0);
	}
}

.app_alert_btn {
	min-width: 120px;
	padding: 12px 32px;
	background: #34006b;
	color: #fff;
	border: none;
	border-radius: 8px;
	font-size: 15px;
	font-weight: 600;
	cursor: pointer;
	font-family: "Poppins", "Nirmala UI", sans-serif;
	transition: background 0.2s;
}

.app_alert_btn:hover {
	background: #42079e;
}

@media (max-width: 768px) {
	.auth_panel {
		padding: 20px 16px 28px;
	}
	.form_row,
	.form_row.cols3 {
		grid-template-columns: 1fr;
	}
	.otp_row {
		flex-direction: column;
		align-items: stretch;
	}
}
