/* รีเซ็ตบางค่าเบื้องต้น */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Prompt', sans-serif;
    background-color: #f4f4f4;
}

/* สไตล์ของ Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #1e2a38;
    padding: 10px 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    position: sticky;
    top: 0;
    z-index: 999;
}

/* โลโก้ */
.logo-container {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo-img {
    height: 50px;
    width: 50px;
    border-radius: 50%;
    margin-right: 10px;
}

.logo-text {
    color: #000000;
    font-size: 20px;
    font-weight: bold;
}

/* เมนูนำทาง */
.nav-links {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 15px;
}

.nav-links li {
    position: relative;
}

.nav-links a {
    text-decoration: none;
    color: #ffffffcc;
    font-size: 16px;
    padding: 8px 12px;
    border-radius: 8px;
    transition: background-color 0.3s, color 0.3s;
}

.nav-links a:hover,
.nav-links a.active {
    background-color: #00b894;
    color: #fff;
}

/* ผู้ใช้ล็อกอิน */
.user-info {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #000000;
}

.user-name {
    font-weight: 500;
}

.btn-logout {
    background-color: #d63031;
    color: #fff;
    padding: 6px 12px;
    border-radius: 6px;
    text-decoration: none;
    transition: background-color 0.3s;
}

.btn-logout:hover {
    background-color: #c0392b;
}
