/* ตั้งค่าส่วนกลาง */
body {
    font-family: 'Kanit', sans-serif;
    background: linear-gradient(to right, #284CD1, #0A299B);
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

/* ฟอร์มล็อกอิน */
form {
    background-color: #fff;
    padding: 50px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    width: 400px;
}

/* หัวข้อฟอร์ม */
form h2 {
    margin-bottom: 20px;
    color: #333;
    font-size: 24px;
    font-weight: 600;
}

/* ช่องกรอกข้อมูล */
input[type="text"], input[type="password"] {
    width: 100%;
    padding: 10px;
    margin: 10px 0;
    border: 2px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
    color: #333;
    transition: border-color 0.3s ease;
}

/* เปลี่ยนสีกรอบเมื่อมีการโฟกัส */
input[type="text"]:focus, input[type="password"]:focus {
    border-color: #3721ff;
    outline: none;
}

/* ปุ่มเข้าสู่ระบบ */
button {
    width: 100%;
    padding: 12px;
    background-color: #07AFB1;
    border: none;
    color: #fff;
    font-size: 16px;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

/* เปลี่ยนสีเมื่อเลื่อนเมาส์ไปที่ปุ่ม */
button:hover {
    background-color: #45a049;
}

/* เพิ่มการเว้นระยะให้กับข้อความลิงค์หากต้องการให้มีลิงค์เพิ่มเติม เช่น ลืมรหัสผ่าน */
.login-container a {
  display: block;
  width: 200px;
  height: 40px;
  line-height: 40px;
  font-size: 18px;
  font-family: sans-serif;
  text-decoration: none;
  color: #333;
  border: 2px solid #333;
  letter-spacing: 2px;
  text-align: center;
  position: relative;
  transition: all .35s;
}

.login-container a span {
  position: relative;
  z-index: 2;
}

.login-container a:hover {
  color: #fff;
}

.login-container a:hover:after {
  width: 100%;
}
