/* css/style.css */
body {
    font-family: 'Sarabun', sans-serif;
    background-color: #f0f4f8; /* สีพื้นหลังโทนอ่อน */
    color: #333;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

.container {
    background-color: #ffffff;
    padding: 30px 40px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 500px;
}

.login-container {
    max-width: 400px;
}

h1, h2 {
    color: #003366; /* สีน้ำเงินเข้ม */
    text-align: center;
    margin-bottom: 25px;
}

.form-group {
    margin-bottom: 20px;
}

label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #003366;
}

input[type="text"],
input[type="password"],
select,
textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-sizing: border-box;
    font-size: 16px;
}

input:focus, select:focus, textarea:focus {
    border-color: #ffc107; /* สีเหลือง */
    outline: none;
}

.btn {
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 5px;
    background-color: #0056b3; /* สีน้ำเงิน */
    color: white;
    font-size: 18px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.btn-primary {
    background-color: #0056b3;
}

.btn-primary:hover {
    background-color: #003366; /* สีน้ำเงินเข้มขึ้น */
}

.btn-warning {
    background-color: #ffc107; /* สีเหลือง */
    color: #333;
}

.btn-warning:hover {
    background-color: #e0a800;
}

.alert {
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 5px;
    text-align: center;
}

.alert-danger {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}
.alert-success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.header {
    text-align: center;
    margin-bottom: 20px;
}

.header img {
    max-width: 100px;
    margin-bottom: 10px;
}