/* Reset CSS */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, font, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
    margin: 0;
    padding: 0;
    border: 0;
    outline: 0;
    font-size: 100%;
    vertical-align: baseline;
    background: transparent;
}

/* ตั้งค่าพื้นหลัง และจัดกึ่งกลาง */
body {
    background: url(../img/bg1.png) center/cover no-repeat;
    min-height: 100vh;
    font: 14px Arial, sans-serif;
    color: #000;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* กล่อง login */
#content {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(5px);
    border-radius: 20px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.25);
    width: 400px;
    padding: 40px 30px;
    text-align: center;
    position: relative;
}

/* หัวข้อ */
#content h1 {
    color: #026824;
    font-size: 28px;
    margin-bottom: 25px;
}

/* ฟอร์ม input */
#content form input[type="text"],
#content form input[type="password"] {
    width: 90%;
    padding: 15px 10px;
    margin: 10px 0;
    border: 1px solid #ccc;
    border-radius: 10px;
    font-size: 16px;
    background: #f9f9f9;
    transition: 0.3s;
}

#content form input[type="text"]:focus,
#content form input[type="password"]:focus {
    background: #fff;
    border: 1px solid #00b894;
    box-shadow: 0 0 5px rgba(0,184,148,0.5);
}

/* ปุ่ม login */
#content form input[type="submit"],
.big-button {
    width: 45%;
    padding: 12px 0;
    margin-top: 20px;
    font-size: 16px;
    border-radius: 30px;
    border: none;
    cursor: pointer;
    transition: 0.3s;
}

/* ปุ่ม login */
#content form input[type="submit"] {
    background: linear-gradient(135deg, #00b894, #00cec9);
    color: #fff;
    margin-right: 5%;
}

#content form input[type="submit"]:hover {
    background: linear-gradient(135deg, #00cec9, #00b894);
    transform: scale(1.05);
}

/* ปุ่ม กลับ */
.big-button {
    background: linear-gradient(135deg, #fdcb6e, #e17055);
    color: #fff;
    margin-left: 3%;
}

.big-button:hover {
    background: linear-gradient(135deg, #e17055, #fdcb6e);
    transform: scale(1.05);
}

/* อื่นๆ */
h1,h2,h3,h4,h5,h6 {
    color: #333;
}
a {
    text-decoration: none;
}
a:hover {
    text-decoration: underline;
}
