/* =========================
   GLOBAL FONT
========================= */
body {
    font-family: 'Anuphan', 'Mitr', sans-serif;
    background: #f5f7fb; /* เพิ่มพื้นหลังนุ่มๆ */
}

/* หัวข้อ */
h1, h2, h3, h4, h5 {
    font-family: 'Mitr', sans-serif;
    font-weight: 600;
}

/* เนื้อหา */
p, a, button, label {
    font-family: 'Anuphan', sans-serif;
}

/* =========================
   CARD (เพิ่มมิติ)
========================= */
.card {
    border-radius: 16px;
    border: none;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    transition: 0.25s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.12);
}

/* =========================
   FORM STYLE
========================= */

/* label */
.col-form-label {
    font-weight: 500;
    color: #333;
}

/* input / select */
.form-control,
.form-select {
    border-radius: 10px;
    padding: 10px 12px;
    border: 1px solid #ddd;
    transition: all 0.2s ease;
}

/* focus effect */
.form-control:focus,
.form-select:focus {
    border-color: #0d6efd;
    box-shadow: 0 0 0 0.15rem rgba(13,110,253,.25);
}

/* spacing form */
form .row {
    margin-bottom: 12px;
}

/* =========================
   BUTTON
========================= */
.btn {
    border-radius: 10px;
    padding: 8px 18px;
    transition: 0.2s;
}

.btn-primary {
    background: linear-gradient(135deg, #0d6efd, #0a58ca);
    border: none;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #0a58ca, #084298);
}

/* =========================
   NAVBAR
========================= */
.navbar {
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

.navbar-brand {
    font-family: 'Mitr', sans-serif;
    font-weight: 600;
}

/* =========================
   FOOTER FIX
========================= */
footer {
    margin-top: auto;
}