/* Login Page Styles */
body {
    font-family: 'Kanit', sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    margin: 0;
}

.login-box {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    width: 100%;
    max-width: 380px;
    animation: slideIn 0.5s ease-out;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.login-box h2 {
    text-align: center;
    color: #667eea;
    margin-bottom: 1.5rem;
    font-size: 28px;
    font-weight: 700;
}

.login-box input {
    width: 100%;
    padding: 12px 15px;
    margin: 12px 0;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    box-sizing: border-box;
    font-family: 'Kanit', sans-serif;
    font-size: 14px;
    transition: all 0.3s;
}

.login-box input:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.login-box button {
    width: 100%;
    padding: 12px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    font-family: 'Kanit', sans-serif;
    margin-top: 10px;
    transition: transform 0.2s, box-shadow 0.2s;
}

.login-box button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
}

.login-box button:active {
    transform: translateY(0);
}

.error {
    color: #dc3545;
    text-align: center;
    display: none;
    margin-bottom: 15px;
    padding: 10px;
    background: #fee;
    border-radius: 8px;
    font-size: 14px;
}

.error.show {
    display: block;
}

/* Responsive */
@media (max-width: 480px) {
    .login-box {
        padding: 2rem;
        max-width: 90%;
    }

    .login-box h2 {
        font-size: 24px;
    }
}