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

body {
  background: linear-gradient(135deg, #aba9ad 0%, #313438 100%);
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  padding: 20px;
  animation: fadeInBody 1s ease-in-out;
}

@keyframes fadeInBody {
  from { opacity: 0; transform: scale(0.98); }
  to { opacity: 1; transform: scale(1); }
}

.container {
  background-color: #fff;
  padding: 40px 30px;
  border-radius: 16px;
  box-shadow: 0 15px 25px rgba(0, 0, 0, 0.15);
  width: 100%;
  max-width: 400px;
  text-align: center;
  animation: slideIn 0.8s ease;
}

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

.container h2 {
  margin-bottom: 24px;
  color: #333;
  position: relative;
  padding-left: 30px;
  font-size: 24px;
}

.container h2::before {
  content: "🔐";
  font-size: 24px;
  position: absolute;
  left: 0;
  top: 0;
}

.container input {
  width: 100%;
  padding: 12px 16px;
  margin: 10px 0;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 16px;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.container input:focus {
  outline: none;
  border-color: #2575fc;
  box-shadow: 0 0 5px rgba(37, 117, 252, 0.5);
}

.container button {
  width: 100%;
  padding: 12px;
  margin-top: 20px;
  background-color: #2575fc;
  border: none;
  color: white;
  font-size: 16px;
  font-weight: bold;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s, transform 0.2s;
}

.container button:hover {
  background-color: #1a5ed9;
  transform: scale(1.02);
}

.msg {
  margin-top: 15px;
  font-size: 14px;
  color: green;
  animation: fadeIn 0.4s ease-in-out;
}

.msg.error {
  color: red;
}

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

@media (max-width: 480px) {
  .container {
    padding: 30px 20px;
    border-radius: 12px;
  }

  .container h2 {
    font-size: 20px;
    padding-left: 26px;
  }

  .container h2::before {
    font-size: 20px;
    top: 1px;
  }

  .container input, .container button {
    font-size: 15px;
    padding: 10px 14px;
  }
}
