/* --- Reset & Base --- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  background: linear-gradient(to right, #4b6cb7, #182848);
  color: #333;
}

/* --- Login Wrapper --- */
.login-wrapper {
  width: 100%;
  max-width: 400px;
  padding: 20px;
}

/* --- Card --- */
.login-card {
  background-color: #fff;
  border-radius: 15px;
  padding: 30px 25px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
  text-align: center;
  transition: transform 0.3s ease;
}

.login-card:hover {
  transform: translateY(-5px);
}

.login-header .logo {
  width: 60px;
  margin-bottom: 15px;
}

.login-header h2 {
  margin-bottom: 25px;
  color: #182848;
}

/* --- Input Groups --- */
.input-group {
  position: relative;
  margin-bottom: 20px;
}

.input-group i {
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  color: #4b6cb7;
}

.input-group input {
  width: 100%;
  padding: 12px 12px 12px 40px;
  border: 1px solid #ccc;
  border-radius: 8px;
  outline: none;
  transition: border 0.3s ease;
}

.input-group input:focus {
  border-color: #4b6cb7;
}

/* --- Button --- */
.btn-login {
  width: 100%;
  padding: 12px;
  border: none;
  background: #4b6cb7;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.btn-login:hover {
  background: #182848;
}

/* --- Message --- */
.login-message {
  margin-top: 15px;
  font-size: 14px;
  color: red;
}

/* --- Footer Note --- */
.footer-note {
  margin-top: 20px;
  font-size: 12px;
  color: #999;
}

/* --- Responsive --- */
@media screen and (max-width: 500px) {
  .login-card {
    padding: 25px 15px;
  }
}
