/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #74ebd5 0%, #ACB6E5 100%);
  padding: 20px;
}

.container,
.login-container {
  background: #ffffff;
  padding: 50px 40px;
  border-radius: 16px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  text-align: center;
  max-width: 500px;
  width: 100%;
  animation: fadeIn 1s ease-in-out;
}

.container img,
.login-container img {
  width: 80px;
  max-width: 60%;
  margin-bottom: 20px;
}

h1 {
  font-size: 2rem;
  color: #007BFF;
  margin-bottom: 20px;
  word-wrap: break-word;
}

p {
  color: #555;
  font-size: 1.1rem;
  margin-bottom: 30px;
}

.btn,
input[type="submit"] {
  display: inline-block;
  padding: 12px 24px;
  font-size: 1rem;
  border-radius: 8px;
  background: #007BFF;
  color: #fff;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn:hover,
input[type="submit"]:hover {
  background: #0056b3;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 123, 255, 0.3);
}

/* Login form */
form {
  display: flex;
  flex-direction: column;
  gap: 20px;
  text-align: left;
}

.form-group {
  position: relative;
}

.form-group input {
  width: 100%;
  padding: 12px 15px;
  font-size: 1rem;
  border-radius: 8px;
  border: 1px solid #ccc;
  outline: none;
  transition: all 0.3s ease;
}

.form-group input:focus {
  border-color: #007BFF;
  box-shadow: 0 0 5px rgba(0,123,255,0.3);
}

.form-group label {
  position: absolute;
  left: 15px;
  top: 12px;
  color: #888;
  font-size: 0.9rem;
  pointer-events: none;
  transition: 0.2s;
}

.form-group input:not(:placeholder-shown) + label {
  opacity: 0;
  visibility: hidden;
}

/* Animation */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Responsive */
@media (max-width: 768px) {
  .container,
  .login-container {
    padding: 40px 25px;
    max-width: 95%;
  }
  h1 { font-size: 1.7rem; }
}

@media (max-width: 480px) {
  .container,
  .login-container {
    padding: 30px 20px;
  }
  h1 { font-size: 1.4rem; }
  p { font-size: 1rem; }
  .btn,
  input[type="submit"] {
    width: 100%;
    padding: 14px;
    font-size: 1.1rem;
  }
}
