* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

body {
	font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
	min-height: 100vh;
	background: var(--surface);
}

.login_wrapper {
	display: flex;
	min-height: 100vh;
}

.login_left {
	flex: 1;
	background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 60px;
	position: relative;
	overflow: hidden;
}

.login_left::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background-image: radial-gradient(circle at 20% 50%, rgba(255,255,255,0.1) 0%, transparent 50%), radial-gradient(circle at 80% 80%, rgba(255,255,255,0.1) 0%, transparent 50%);
}

.login_left_content {
	position: relative;
	z-index: 1;
	color: white;
	max-width: 500px;
}

.login_logo {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 40px;
}

.login_logo_icon {
	width: 48px;
	height: 48px;
	background: white;
	border-radius: 12px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 24px;
	font-weight: bold;
	color: var(--primary);
}

.login_logo_text h1 {
	font-size: 28px;
	font-weight: 700;
}

.login_left_content h2 {
	font-size: 36px;
	font-weight: 700;
	margin-bottom: 16px;
	line-height: 1.2;
}

.login_left_content p {
	font-size: 18px;
	opacity: 0.9;
	line-height: 1.6;
	margin-bottom: 40px;
}

.login_stats {
	display: flex;
	gap: 40px;
}

.stat_item {
	text-align: left;
}

.stat_number {
	font-size: 28px;
	font-weight: 700;
	margin-bottom: 4px;
}

.stat_label {
	font-size: 16px;
	opacity: 0.8;
}

.login_images {
	display: flex;
	gap: 16px;
	margin-top: 40px;
}

.login_image {
	width: 160px;
	height: 100px;
	background: rgba(255,255,255,0.2);
	border-radius: 12px;
	overflow: hidden;
}

.login_image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.login_right {
	flex: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 60px 40px;
}

.login_card {
	width: 100%;
	max-width: 420px;
	background: white;
	border-radius: 16px;
	padding: 40px;
	box-shadow: 0 10px 40px rgba(0,0,0,0.08);
}

.login_header {
	text-align: center;
	margin-bottom: 32px;
}

.login_header h2 {
	font-size: 34px;
	font-weight: 700;
	color: var(--text-dark);
	margin-bottom: 8px;
}

.login_header p {
	font-size: 16px;
	color: var(--muted);
}

.login_tabs {
	display: flex;
	background: var(--surface);
	border-radius: 8px;
	padding: 4px;
	margin-bottom: 24px;
}

.login_tab {
	flex: 1;
	padding: 10px 16px;
	text-align: center;
	font-size: 16px;
	font-weight: 500;
	color: var(--muted);
	border: none;
	background: transparent;
	border-radius: 6px;
	cursor: pointer;
	transition: all 0.3s;
}

.login_tab.active {
	background: white;
	color: var(--primary);
	box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.form_group {
	margin-bottom: 20px;
}

.form_label {
	display: block;
	font-size: 16px;
	font-weight: 500;
	color: var(--text-gray);
	margin-bottom: 8px;
}

.form_input {
	width: 100%;
	padding: 12px 16px;
	font-size: 16px;
	border: 1px solid var(--border);
	border-radius: 8px;
	transition: all 0.3s;
	background: var(--surface);
}

.form_input:focus {
	outline: none;
	border-color: var(--primary);
	background: white;
	box-shadow: 0 0 0 3px rgba(7, 193, 96, 0.1);
}

.form_input::placeholder {
	color: var(--muted);
}

.code_group {
	display: flex;
	gap: 12px;
}

.code_input {
	flex: 1;
}

.send_code_btn {
	padding: 12px 16px;
	font-size: 16px;
	font-weight: 500;
	color: var(--primary);
	background: rgba(7, 193, 96, 0.1);
	border: 1px solid rgba(7, 193, 96, 0.2);
	border-radius: 8px;
	cursor: pointer;
	white-space: nowrap;
	transition: all 0.3s;
}

.send_code_btn:hover {
	background: rgba(7, 193, 96, 0.15);
}

.send_code_btn:disabled {
	color: var(--muted);
	background: var(--surface);
	border-color: var(--border);
	cursor: not-allowed;
}

.login_btn {
	width: 100%;
	padding: 14px;
	font-size: 20px;
	font-weight: 600;
	color: white;
	background: var(--primary);
	border: none;
	border-radius: 8px;
	cursor: pointer;
	transition: all 0.3s;
	margin-top: 8px;
}

.login_btn:hover {
	background: var(--secondary);
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(7, 193, 96, 0.3);
}

.back_home {
	position: absolute;
	top: 24px;
	left: 24px;
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 20px;
	color: white;
	text-decoration: none;
	transition: color 0.3s;
	z-index: 10;
}

.back_home:hover {
	color: var(--text-dark);
}

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

.agreement {
	margin-top: 20px;
	text-align: center;
	font-size: 14px;
	color: var(--muted);
}

.agreement a {
	color: var(--primary);
	text-decoration: none;
}

.agreement a:hover {
	text-decoration: underline;
}

@media (max-width: 900px) {
	.login_wrapper {
		flex-direction: column;
	}
	
	.login_left {
		display: none;
	}
	
	.login_right {
		padding: 40px 20px;
	}
	
	.login_card {
		padding: 32px 24px;
	}
}
