body {
  margin: 0;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: #001d3d;
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
}

.container {
  background: #003566;
  padding: 2.5rem 2rem;
  border-radius: 16px;
  width: 360px;
  text-align: center;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
}

h1 {
  color: white;
  margin-bottom: 1.5rem;
  font-size: 1.8rem;
  letter-spacing: 0.5px;
}

form {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.input-box {
  width: 100%;
  margin: 1rem 0;
  text-align: left;
  position: relative;
}

.input-box label {
  font-size: 0.85rem;
  color: white;
  display: block;
  margin-bottom: 0.4rem;
  margin-left: 3px;
}

.input-box input {
  width: 100%;
  padding: 0.7rem 40px 0.7rem 12px;
  border: 1.5px solid #ccc;
  border-radius: 8px;
  outline: none;
  font-size: 0.95rem;
  background: white;
  color: #000814;
  box-sizing: border-box;
}

.input-box input:focus {
  border-color: #FFD60A;
  box-shadow: 0 0 4px #FFD60A;
}

.eye-icon {
  position: absolute;
  right: 12px;
  top: 38px;
  color: #777;
  cursor: pointer;
  font-size: 1.1rem;
  transition: 0.2s;
}

.eye-icon:hover {
  color: #FFD60A;
}

.btn {
  background: #FFC300;
  color: #000814;
  border: none;
  padding: 0.7rem;
  margin-top: 1.2rem;
  width: 70%;
  border-radius: 10px;
  font-size: 1rem;
  cursor: pointer;
  font-weight: bold;
  transition: 0.3s;
}

.btn:hover {
  background: #FFD60A;
}

.link {
  margin-top: 1rem;
  font-size: 0.9rem;
}

.link a {
  color: #FFD60A;
  text-decoration: none;
  font-weight: bold;
}

.link a:hover {
  text-decoration: underline;
}

/* Responsive */
@media (max-width:480px){
  body{padding:1rem;}
  .container{width:100%;padding:2rem 1.2rem;border-radius:12px;}
  h1{font-size:1.5rem;}
  .input-box input{font-size:0.9rem;padding:0.65rem 36px 0.65rem 10px;}
  .btn{width:80%; font-size:0.95rem;}
  .link{font-size:0.85rem;}
}
@media (max-width:320px){
  h1{font-size:1.3rem;}
  .btn{width:90%;}
}

/* Message card */
.message-card {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  padding: 1rem 1.5rem;
  border-radius: 10px;
  font-weight: bold;
  color: white;
  z-index: 999;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
  opacity: 0;
  transition: all 0.5s ease;
}

.message-card.show {
  opacity: 1;
}

.success {
  background-color: #4BB543; /* green */
}

.error {
  background-color: #FF4C4C; /* red */
}