body {
    font-family: "Noto Sans Thai", sans-serif !important;
    background: #f0f2f5;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
}

.login-container {
    background: white;
    padding: 2.5em;
    border-radius: 12px;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.1);
    text-align: center;
    max-width: 400px;
    /* จำกัดความกว้างของ login-container */
    width: 100%;
    /* ให้ login-container ขยายตามขนาดของหน้าจอ */
}

.logo {
    width: 80px;
    margin-bottom: 20px;
}

h1 {
    color: #333;
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 10px;
}

h2 {
    color: #666;
    font-size: 16px;
    font-weight: 400;
    margin-bottom: 20px;
}

h3 {
    color: #333;
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 30px;
}

.input-container {
    position: relative;
    margin-bottom: 25px;
}

.input-container input {
    width: 100%;
    padding: 15px 15px 15px 45px;
    border: 1px solid #ddd;
    border-radius: 30px;
    box-sizing: border-box;
    font-size: 16px;
    font-family: 'Poppins', sans-serif;
    transition: border-color 0.3s;
}

.input-container input:focus {
    border-color: #007BFF;
    outline: none;
}

.input-container .icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #888;
}

.login-button,
.register-button {
    width: 100%;
    padding: 15px;
    border: none;
    border-radius: 30px;
    font-size: 16px;
    cursor: pointer;
    margin-bottom: 15px;
    font-family: 'Poppins', sans-serif;
    transition: background 0.3s;
}

.login-button {
    background: #007BFF;
    color: white;
    font-weight: 600;
}

.login-button:hover {
    background: #0056b3;
}

.register-button {
    background: #6c757d;
    color: white;
    font-weight: 600;
}

.register-button:hover {
    background: #5a6268;
}

/* Responsive Design */
@media (max-width: 768px) {
    .login-container {
        padding: 2em;
    }

    .input-container input {
        padding: 12px 12px 12px 40px;
    }

    .login-button,
    .register-button {
        padding: 12px;
        font-size: 14px;
    }
}