* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	-webkit-tap-highlight-color: transparent;
}

body {
	font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	min-height: 100vh;
	padding: 20px;
	color: #333;
	overflow-x: hidden;
	display: flex;
	align-items: center;
	justify-content: center;
}

.auth-container {
	width: 100%;
	max-width: 500px;
}

.auth-card {
	background: white;
	border-radius: 20px;
	padding: 40px 30px;
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
	animation: slideUp 0.5s ease-out;
}

@keyframes slideUp {
	from {
		opacity: 0;
		transform: translateY(30px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.auth-header {
	text-align: center;
	margin-bottom: 30px;
}

.auth-header h1 {
	color: #667eea;
	font-size: 32px;
	margin-bottom: 10px;
	font-weight: 700;
}

.subtitle {
	color: #666;
	font-size: 16px;
	line-height: 1.5;
}

/* Tab Navigation */
.tab-nav {
	display: flex;
	gap: 10px;
	margin-bottom: 30px;
	border-bottom: 2px solid #e0e0e0;
}

.tab-btn {
	flex: 1;
	padding: 12px 20px;
	background: transparent;
	border: none;
	border-bottom: 3px solid transparent;
	color: #666;
	font-size: 16px;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.3s ease;
	position: relative;
	bottom: -2px;
}

.tab-btn:hover {
	color: #667eea;
}

.tab-btn.active {
	color: #667eea;
	border-bottom-color: #667eea;
}

/* Form Container */
.form-container {
	display: none;
}

.form-container.active {
	display: block;
	animation: fadeIn 0.3s ease-in;
}

@keyframes fadeIn {
	from {
		opacity: 0;
	}
	to {
		opacity: 1;
	}
}

/* Form Groups */
.form-group {
	margin-bottom: 20px;
}

.form-group label {
	display: block;
	margin-bottom: 8px;
	color: #333;
	font-weight: 600;
	font-size: 14px;
}

.form-group input {
	width: 100%;
	padding: 12px 15px;
	border: 2px solid #e0e0e0;
	border-radius: 10px;
	font-size: 16px;
	transition: all 0.3s ease;
	background: #f8f9fa;
}

.form-group input:focus {
	outline: none;
	border-color: #667eea;
	background: white;
	box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.form-hint {
	display: block;
	margin-top: 5px;
	color: #999;
	font-size: 12px;
}

/* Buttons */
.btn {
	padding: 14px 30px;
	border: none;
	border-radius: 10px;
	font-size: 16px;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.3s ease;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.btn-primary {
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	color: white;
}

.btn-primary:hover {
	transform: translateY(-2px);
	box-shadow: 0 10px 20px rgba(102, 126, 234, 0.3);
}

.btn-primary:active {
	transform: translateY(0);
}

.btn-block {
	width: 100%;
	margin-top: 10px;
}

/* Alerts */
.alert {
	padding: 12px 15px;
	border-radius: 10px;
	margin-bottom: 20px;
	font-size: 14px;
	animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
	from {
		opacity: 0;
		transform: translateY(-10px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.alert-error {
	background: #fee;
	color: #c33;
	border: 1px solid #fcc;
}

.alert-error .error-item {
	margin: 5px 0;
}

.alert-success {
	background: #efe;
	color: #3c3;
	border: 1px solid #cfc;
}

/* Info Section */
.info-section {
	margin-top: 30px;
	padding-top: 30px;
	border-top: 2px solid #e0e0e0;
}

.info-section h3 {
	color: #667eea;
	font-size: 18px;
	margin-bottom: 15px;
}

.info-section ul {
	list-style: none;
	padding: 0;
}

.info-section li {
	padding: 8px 0;
	padding-left: 25px;
	position: relative;
	color: #666;
	line-height: 1.6;
}

.info-section li:before {
	content: "✓";
	position: absolute;
	left: 0;
	color: #667eea;
	font-weight: bold;
}

/* Responsive Design */
@media (max-width: 600px) {
	.auth-card {
		padding: 30px 20px;
	}

	.auth-header h1 {
		font-size: 26px;
	}

	.subtitle {
		font-size: 14px;
	}

	.tab-btn {
		padding: 10px 15px;
		font-size: 14px;
	}

	.form-group input {
		padding: 10px 12px;
		font-size: 14px;
	}

	.btn {
		padding: 12px 20px;
		font-size: 14px;
	}
}

/* Loading State */
.btn:disabled {
	opacity: 0.6;
	cursor: not-allowed;
}

