:root {
    --primary-color: #0d6efd; /* สีฟ้าน้ำเงิน แบบ Union Thai */
    --secondary-color: #6c757d;
    --bg-color: #f4f6f9;
    --card-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

body {
    background-color: var(--bg-color);
    font-family: 'Sarabun', sans-serif; /* ใช้ฟอนต์ไทยสวยๆ */
}

/* Login Page Style */
.login-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #0d6efd 0%, #0043a8 100%);
}

.login-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
    width: 100%;
    max-width: 400px;
}

.brand-logo {
    width: 80px;
    height: 80px;
    background-color: #e9ecef;
    border-radius: 50%;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--primary-color);
}

/* Dashboard & App Layout */
.main-content {
    padding: 20px;
    margin-bottom: 60px; /* เผื่อพื้นที่ให้ Bottom Nav ในมือถือ */
}

.card-custom {
    border: none;
    border-radius: 12px;
    box-shadow: var(--card-shadow);
    transition: transform 0.2s;
}

.card-custom:active {
    transform: scale(0.98);
}

/* Mobile Bottom Navigation */
.bottom-nav {
    position: fixed;
    bottom: 0;
    width: 100%;
    background: white;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
    display: flex;
    justify-content: space-around;
    padding: 10px 0;
    z-index: 1000;
}

.nav-item-link {
    text-align: center;
    color: #adb5bd;
    text-decoration: none;
    font-size: 0.8rem;
}

.nav-item-link.active {
    color: var(--primary-color);
    font-weight: bold;
}

.nav-icon {
    font-size: 1.2rem;
    display: block;
    margin-bottom: 2px;
}

/* Helper Classes */
.cursor-pointer { cursor: pointer; }
.text-xs { font-size: 0.8rem; }