/* ตั้งค่าพื้นฐาน */
body, html {
    height: 100%;
    margin: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #1e90ff; /* สีพื้นหลัง */
    backdrop-filter: blur(10px);
}

/* กล่อง login */
.login-wrapper {
    display: flex;
    justify-content: center;

    height: 500px;
    backdrop-filter: blur(5px);
}

.login-box {
    margin-top: 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 40px;
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
    backdrop-filter: blur(8px);
    text-align: center;
    color: white;
    max-width: 400px;
    width: 100%;
}

.login-box h2 {
    margin-bottom: 20px;
}

.login-box input {
    width: 100%;
    padding: 10px;
    margin: 10px 0;
    border: none;
    border-radius: 5px;
    outline: none;
    transition: box-shadow 0.3s ease;
}

.login-box input:focus,
.login-box input:active,
.login-box input:not(:placeholder-shown) {
    box-shadow: 0 0 10px rgb(214, 252, 1);
}


.login-box button {
    margin-top: 10px;
    width: 100%;
    padding: 10px;
    border: none;
    border-radius: 5px;
    background-color: #00bcd4;
    color: white;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.login-box button:hover {
    background-color: #0097a7;
    transform: scale(1.05);
    font-size: large;
}

.error {
    background-color: rgba(255, 0, 0, 0.2);
    padding: 10px;
    margin-bottom: 15px;
    border-radius: 5px;
    color: #ffebee;
}

.exit {
    margin-top: 30px;
    display: inline-block;
    width: 350px;
    padding: 10px 20px;
    background-color: #ff4d4d;
    color: white;
    text-decoration: none;
    font-size: 1.2rem;
    border: none;
    border-radius: 5px;
    transition: background-color 0.3s, transform 0.2s;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.exit:hover {
    background-color: #e600005e;
    transform: scale(1.05);
    text-decoration: none;
}
