* {
	box-sizing: border-box;
}

body {
	font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
	background: linear-gradient(135deg, #e3f2fd, #fff);
	display: flex;
	justify-content: center;
	align-items: center;
	height: 100vh;
	margin: 0;
}

.login-card {
	background: white;
	padding: 30px;
	border-radius: 20px;
	box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
	width: 320px;
	text-align: center;
}

.login-card h2 {
	margin-bottom: 25px;
	font-size: 24px;
	color: #333;
}

input[type="text"], input[type="email"], input[type="password"] {
	width: 100%;
	padding: 12px;
	margin: 8px 0;
	border: 1px solid #ccc;
	border-radius: 12px;
	font-size: 15px;
}

button {
	width: 100%;
	padding: 12px;
	background: #ff66b2;
	color: white;
	border: none;
	border-radius: 12px;
	font-size: 16px;
	margin-top: 10px;
	cursor: pointer;
	transition: transform 0.3s ease, background-color 0.3s ease;
}

button:hover {
    transform: scale(1.05);
	background: #df5399;
}

.message {
	margin-top: 15px;
	font-weight: bold;
	font-size: 14px;
}

.error {
	color: #d8000c;
}

.success {
	color: #4BB543;
}

.strength {
  font-size: 0.9em;
  margin-top: 4px;
}

.weak {
	color: red;
}

.medium {
	color: orange;
}

.strong {
	color: green;
}

.toggle-password {
	cursor: pointer;
	position: absolute;
	right: 10px;
	top: 50%;
	transform: translateY(-50%);
	font-size: 0.9em;
	user-select: none;
	color: #444;
}

.field-wrapper {
	position: relative;
}

.bottom-links {
	margin-top: 16px;
	font-size: 0.9em;
	text-align: center;
}

.bottom-links a {
	color: #3a83f5;
	text-decoration: none;
}

.password-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.password-wrapper input {
  flex: 1;
  padding-right: 40px;
}

.toggle-password {
  position: absolute;
  right: 10px;
  cursor: pointer;
  width: 24px;
  height: 24px;
  color: #666;
  display: flex;
  align-items: center;
  justify-content: center;
}

.eye-icon {
  width: 24px;
  height: 24px;
  stroke: #444;
}

.back-button {
	max-width: 100px;
	position: absolute;
	top: 10px;
	left: 10px;
	font-size: 18px;
	padding: 8px 16px;
	background-color: transparent;
	color: #818080;
	border: none;
	border-radius: 5px;
	cursor: pointer;
	text-align: center;
}

.back-button:hover {
	color: #535353;
	background-color: transparent;
	transform: scale(1.07);
}