* {
  box-sizing: border-box;
  font-family: 'Kanit', sans-serif;
}

/* style.css */

/* ให้ body มีพื้นหลังเต็มจอ */
body {
  margin: 0;
  padding: 0;
  min-height: 100vh;
  background: url('images/bg.jpg') no-repeat center center;
  background-size: cover;
  font-family: 'Kanit', sans-serif;
}

/* กล่องฟอร์ม */
.container {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
}


.logo {
  text-align: center;
  margin-top: 60px;
}


.logo img {
  width: 150px; /* You can adjust size */
  height: auto;
}

.logo-in-form {
  text-align: center;
  margin-top: 10px;
}



.logo-in-form img {
  width: 150px; /* You can adjust size */
  height: auto;
}

.menu {

	margin-top: 40px;
	width: 100%;
	text-align: center;

}


.form-container {
  background: rgba(255, 255, 255, 0.5); /* พื้นหลังฟอร์มขาวใส */
  padding-left: 30px;
  padding-right: 30px;
  border-radius: 10px;
  box-shadow: 0px 0px 20px rgba(0,0,0,0.3);
  text-align: center;
  max-width: 380px;
  width: 100%;
}

input[type="text"], 
input[type="email"], 
input[type="password"] {
  width: 100%;
  padding: 12px 15px;
  margin: 8px 0;
  border: 1px solid #ccc;
  border-radius: 5px;
}

button[type="submit"] {
  width: 100%;
  padding: 12px;
  background: #4CAF50;
  color: white;
  border: none;
  border-radius: 5px;
  margin-top: 10px;
  font-size: 16px;
  cursor: pointer;
}

button[type="submit"]:hover {
  background: #45a049;
}

.error {
  color: red;
  margin-top: 10px;
}




h2 {
  margin-bottom: 1rem;
  color: #8b4513;
}


p.error {
  color: red;
  margin-top: 0.5rem;
}

@media (max-width: 480px) {
  .form-container {
    /*margin: 1rem;*/
  }
}


#menuModal a {
  text-decoration: none;
  color: #007bff;
  display: block;
  padding: 10px 0;
}
#menuModal a:hover {
  text-decoration: underline;
}

