css * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    font-family: Arial, sans-serif;
}

.navbar {
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 40px;
    background-color: white;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    height: 50px;
    position: sticky;
    top: 0;
    z-index: 1000;
}

/* Flex item untuk spacing seimbang */
.navbar > div {
    flex: 1;
}

.logo {
    width: 200px;
    cursor: pointer;
}

/* tengah navbar */
.middle-navbar {
    border: 2px solid black;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6px 16px;
    border-radius: 40px;
    background-color: white;
    max-width: 100%;
    margin: 0 auto;
}

.middle-navbar ul {
    display: flex;
    list-style: none;
    gap: 60px;
    justify-content: center;
    padding: 0;
    margin: 0;
}

.middle-navbar ul li a {
    text-decoration: none;
    color: black;
    cursor: pointer;
    border-radius: 20px;
    background-color: transparent;
    padding: 8px 16px;
    transition: background-color 0.3s ease, color 0.3s ease;
    display: inline-block;
    box-sizing: border-box;
}

.middle-navbar ul li a:hover {
    background-color: #f0f0f0;
}

.nav-link.active {
    background-color: black;
    color: white;
    border-radius: 20px;
    padding: 10px 20px;
    transition: 0.3s;
}

.right-navbar {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 30px;
}

.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-toggle {
    background-color: #ff5722;
    color: white;
    padding: 10px 15px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-family: Arial, sans-serif;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: background-color 0.3s ease;
}

.dropdown-toggle:hover {
    background-color: #e84141;
}

.back-btn {
    background-color: #ff5722;
    color: white;
    border: none;
    padding: 3px 20px;
    font-size: 15px;
    font-weight: bold;
    border-radius: 8px;
    cursor: pointer;
    height: 40px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.logout-btn {
    background-color: #ff5722;
    color: white;
    border: none;
    padding: 3px 20px;
    font-size: 15px;
    font-weight: bold;
    border-radius: 8px;
    cursor: pointer;
    height: 40px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}
.dropdown-menu {
    display: none;
    position: absolute;
    right: 0;
    background-color: white;
    min-width: 150px;
    box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    z-index: 999;
    overflow: hidden;
}

.dropdown:hover .dropdown-menu {
    display: block;
}

.dropdown-item {
    color: #333;
    padding: 12px 16px;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: Arial, sans-serif;
    transition: background-color 0.2s ease;
}

.dropdown-item:hover {
    background-color: #f0f0f0;
}

.logout-item {
    width: 100%;
    border: none;
    background: none;
    text-align: left;
    padding: 12px 16px;
    font-size: 14px;
    cursor: pointer;
}

.logout-item:hover {
    background-color: #f0f0f0;
}

.container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-top: 70px;
    margin-bottom: 40px;
}

.room-card {
    display: flex;
    gap: 100px;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    background-color: white;
    width: 1000px;
    align-items: center;
    justify-content: center;
    height: 300px;
    margin-bottom: 35px;
}

.room-image {
    border-radius: 10px;
    width: 400px;
}

.room-content a {
    text-decoration: none;
    color: #00bfff;
}

.room-content h3 {
    margin-top: 15px;
    margin-bottom: 15px;
}

.facilities,
.seats {
    margin-top: 20px;
}

.seats {
    margin-bottom: 5px;
}

.book-btn {
    margin-top: 25px;
    background-color: #ff5722;
    color: white;
    padding: 3px 40px;
    border: none;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease;
    height: 70px;
    font-size: 15px;
}

.book {
    display: flex;
    justify-content: center;
}

.book-btn:hover {
    background-color: #e64a19;
}

.pagination {
    display: flex;
    justify-content: center;
    margin-top: 30px;
}

.pagination a {
    color: black;
    padding: 8px 16px;
    text-decoration: none;
    transition: background-color 0.3s;
    border: 1px solid #ddd;
    margin: 0 4px;
    border-radius: 5px;
}

.pagination a.active {
    background-color: #ff5722;
    color: white;
    border: 1px solid #ff5722;
}

.pagination a:hover:not(.active) {
    background-color: #ddd;
}

body::-webkit-scrollbar {
    display: none;
}
