/* Import Google Font (IBM Plex Sans Thai) */
@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Sans+Thai:wght@300;400;500;600&display=swap');

body {
    font-family: 'IBM Plex Sans Thai', sans-serif;
    background-color: #f4f7f6; /* สีพื้นหลังที่สะอาดตา */
}

/* --- Navigation Bar --- */
.navbar-brand {
    font-weight: 600;
}

/* --- Card Styles (สำหรับ Login, Register, Hub) --- */
.auth-container {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: calc(100vh - 80px); /* 80px คือความสูงของ navbar โดยประมาณ */
}

.auth-card, .hub-card {
    width: 100%;
    max-width: 500px; /* ขนาดกล่อง Login/Register */
    border: none;
    border-radius: 0.75rem; /* ทำให้ขอบมนขึ้น */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    background-color: #ffffff;
}

.hub-card {
    max-width: 600px; /* กล่องหน้าแรกให้ใหญ่ขึ้น */
}

.auth-card .card-header, .hub-card .card-header {
    background-color: transparent;
    border-bottom: 0;
    padding: 2rem 2rem 0.5rem 2rem;
}

.auth-card .card-header h3, .hub-card .card-header h3 {
    font-weight: 600;
    color: #333;
}

.auth-card .card-body, .hub-card .card-body {
    padding: 1rem 2rem 2rem 2rem;
}

/* --- Hub Page (index.php) --- */
.hub-icon {
    font-size: 2.5rem;
    color: #0d6efd; /* สีหลักของ Bootstrap */
}

.hub-card .list-group-item {
    padding: 1.25rem 1.5rem;
    border-left: 0;
    border-right: 0;
}

.hub-card .list-group-item:first-child {
    border-top-left-radius: 0;
    border-top-right-radius: 0;
}