@charset "utf-8";
/* CSS Document */

/* 1) Make all elements use border-box so padding is included in width calculations */
*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 50px;                /* add px unit */
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #888;       /* slightly darker gray for contrast */
}

.container {
  width: 350px;                 /* accommodate 100% inputs inside */
  padding: 30px;                /* nice consistent padding */
  background-color: #FFCD00;
  border: 2px solid #215732;
  border-radius: 25px;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
  color: #215732;
  font-size: 16px;
  text-align: center;
}

/* 2) Ensure form fields fit inside container */
.container input[type="text"],
.container input[type="password"] {
  width: 100%;                  /* full width inside container */
  padding: 8px 10px;            /* comfortable touch targets */
  margin-top: 12px;
  border: 1px solid #215732;
  border-radius: 5px;
  font-size: 1rem;
}

/* 3) Button styling */
.container .btn {
  margin-top: 20px;
  padding: 10px;
  width: 100%;
  background-color: #005a2b;
  color: #fff;
  border: none;
  border-radius: 5px;
  font-size: 1rem;
  cursor: pointer;
}

.container .btn:hover {
  background-color: #00411a;
}

/* 4) Error message stays inside */
.container .error {
  margin-top: 15px;
  color: #b22222;
  font-weight: bold;
}

/* make sure banner never overflows */
.container img.banner {
  display: block;        /* treat like a block so margin auto works */
  max-width: 100%;       /* never wider than its container */
  height: auto;          /* keep its aspect ratio */
  margin: 0 auto 20px;   /* center it, add some space below */
}
