/* assets/css/custom.css - CSS ส่วนปรับแต่งของเรา */

/* กำหนดตัวแปรสีหลักจาก config.php (จะถูก override ด้วย inline style ใน header.php) */
:root {
    --bs-primary: #fa7921;
    --bs-info: #0dcaf0;
    --bs-success: #10b981;
    --bs-danger: #dc3545; /* เพิ่มสี danger */
    --bs-warning: #ffc107; /* เพิ่มสี warning */
    --bs-light: #f8f9fa;
    --bs-dark: #212529;
}

/* Base Styles */
body {
        font-family: 'Kanit', sans-serif;
    /*font-family: 'Sarabun', sans-serif;  ใช้ font ที่รองรับภาษาไทย
    transition: background-color 0.3s ease, color 0.3s ease;*/
        display: flex;
        flex-direction: column;
        min-height: 100vh;
        background: linear-gradient(135deg, #ffe0e0cc, #fffce03b, #fff0e0cc) !important;
}
/* Card Shadows */
.card.shadow-sm {
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075) !important;
}

/* Custom Navbar height (optional) */
.navbar {
    min-height: 60px;
}

/* Footer Styling */
.footer {
    background-color: var(--bs-light);
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}
.footer .text-muted {
    color: var(--bs-dark) !important;
}

/* Override input focus color */
.form-control:focus,
.form-select:focus,
.btn-outline-primary:focus {
    border-color: var(--bs-primary);
    box-shadow: 0 0 0 0.25rem rgba(var(--bs-primary-rgb), .25);
}

/* Utility classes for theme colors */
.text-primary-custom { color: var(--bs-primary) !important; }
.bg-primary-custom { background-color: var(--bs-primary) !important; }
.border-primary-custom { border-color: var(--bs-primary) !important; }

/* ... เพิ่ม custom styles อื่นๆ ที่นี่ ... */