
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css');
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600&display=swap');

* {
  box-sizing: border-box;
  font-family: 'Inter', sans-serif;
}

html, body {
  width: 100%;
  overflow-x: hidden;
}


body {
  background: rgb(245, 245, 245);
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  min-height: 100vh;
  padding-top: 120px;
}

.login-container {
  background: white;
  border-radius: 6px;
  box-shadow: 0 6px 10px rgba(0, 0, 0, 0.1);
  padding: 40px 30px;
  width: 100%;
  max-width: 400px;
}

.login-container h2 {
  margin-bottom: 20px;
  font-weight: 600;
  color: #333;
}

.form-group {
  position: relative;
  margin-bottom: 25px;
}

.form-group input {
  width: 100%;
  padding: 16px 44px 14px 14px;
  font-size: 15px;
  border: 1px solid #ccc;
  border-radius: 5px;
  outline: none;
}

.form-group label {
  position: absolute;
  top: 14px;
  left: 14px;
  background: white;
  padding: 0 4px;
  font-size: 14px;
  color: #888;
  transition: 0.2s ease all;
  pointer-events: none;
}

.form-group input:focus {
  border-color: rgb(39, 129, 137);
}

.form-group input:focus + label,
.form-group input:not(:placeholder-shown) + label {
  top: -10px;
  left: 10px;
  font-size: 12px;
  color: rgb(39, 129, 137);
}


input:-webkit-autofill {
	box-shadow: 0 0 0px 1000px white inset !important;
	-webkit-box-shadow: 0 0 0px 1000px white inset !important;
	background-color: white !important;
	color: #000 !important;
}

.toggle-password {
	position: absolute;
	top: 50%;
	right: 14px;
	transform: translateY(-50%);
	cursor: pointer;
	font-size: 18px;
	color: #999;
	display: flex;
	align-items: center;
	justify-content: center;
	height: 100%;
}

.form-actions {
	text-align: right;
	margin-top: -10px;
	margin-bottom: 20px;
}

.form-actions a {
	text-decoration: none;
	font-size: 14px;
	color: #2a7ca3;
	font-weight: 500;
}

.login-btn {
  background-color: rgb(39, 129, 137);
  color: white;
  border: none;
  padding: 14px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 10px;
  width: 100%;
  cursor: pointer;
  transition: background 0.3s ease;
}

.login-btn:hover {
  background-color: rgb(31, 110, 117);
}

.powered-by {
  text-align: center;
  margin-top: 25px;
}

.powered-by img {
  max-width: 160px;
  opacity: 0.6;
}

.footer-text {
  position: absolute;
  bottom: 30px;
  width: 100%;
  text-align: center;
  font-size: 12px;
  color: #aaa;
}

@media (max-width: 480px) {
  .login-container {
	padding: 30px 20px;
  }
}