/* Google Font */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600&display=swap');

body {
  font-family: 'Poppins', sans-serif;
  background: linear-gradient(135deg, #00c6ff, #0072ff);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100vh;
  margin: 0;
  color: #333;
  padding: 10px;
  box-sizing: border-box;
}

.container {
  background: white;
  width: 100%;
  max-width: 380px;
  padding: 30px 25px;
  border-radius: 20px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.15);
  text-align: center;
  animation: fadeIn 0.8s ease-in-out;
}
.abes-logo {
  width: 80px;
  max-width: 25%;
  height: auto;
  margin-bottom: 12px;
}

/* 📱 Mobile optimization */
@media (max-width: 480px) {
  .abes-logo {
    width: 60px;
    max-width: 30%;
    margin-bottom: 8px;
  }
}

h2 {
  margin-bottom: 20px;
  color: #1a1a1a;
  font-weight: 600;
  font-size: 1.4rem;
}

input {
  width: 100%;
  padding: 12px;
  margin: 10px 0;
  border-radius: 10px;
  border: 1px solid #ccc;
  font-size: 15px;
  transition: all 0.2s ease;
  box-sizing: border-box;
}

input:focus {
  border-color: #0072ff;
  outline: none;
  box-shadow: 0 0 5px rgba(0, 114, 255, 0.3);
}

button {
  width: 100%;
  padding: 12px;
  background: linear-gradient(to right, #0072ff, #00c6ff);
  border: none;
  border-radius: 10px;
  color: white;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0,114,255,0.3);
}

.msg {
  margin-top: 10px;
  font-size: 14px;
  color: red;
}

.success {
  color: green;
}

label {
  font-size: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 10px 0;
}

label input[type="checkbox"] {
  accent-color: #0072ff;  /* blue tick */
  width: 16px;
  height: 16px;
}


/*Footer centered */
.footer {
  text-align: center;
  width: 100%;
  margin-top: 15px;
  font-size: 13px;
  color: white;
  opacity: 0.9;
  position: relative;
  bottom: 0;
}

.footer a {
  color: #fff;
  font-weight: 600;
  text-decoration: none;
}

.footer a:hover {
  text-decoration: underline;
}

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

/*Mobile responsive*/
@media (max-width: 480px) {
  .container {
    padding: 25px 20px;
  }
  h2 {
    font-size: 1.3rem;
  }
  input, button {
    font-size: 14px;
  }
}