body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f2f2f2;
}

header {
    background-color: #007bff;
    color: #fff;
    text-align: center;
    padding: 20px;
}

.header-container {
    width: 100%; /* Tambahkan lebar sesuai kebutuhan Anda */
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo-container {
    margin: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    max-height: 15px;
}

.logo-container img {
    display: flex;
    justify-content: center;
    max-width: 100%; /* Batasan lebar gambar menjadi 100% dari lebar parent (logo-container) */
    max-height: 100px; /* Batasan tinggi gambar menjadi 100px */
    display: block; /* Menghilangkan spasi bawah gambar */
    margin: 0 auto; /* Untuk mengatur gambar menjadi tengah */
    height: auto;
    padding: 25px;
}

.header-text {
    text-align: center;
}

/* Styling for body-text */
.body-text {
    text-align: center;
    padding: 2px;
}

/* Styling for the Tanggal Update h3 */
.body-text h3:first-child {
    color: #007bff; /* Blue color for "Tanggal Update" */
    margin: 0;
    padding: 0;
}

/* Styling for the current-date h3 */
.body-text #current-date {
    /* background-color: #007bff; Highlight background color for tanggal current-date */
    color: #000000; /* Highlight text color for tanggal current-date */
    margin: 5px 0;
    padding: 10px;
    border-radius: 5px;
}

.bed-list {
    max-width: 600px;
    margin: 20px auto;
    background-color: #fff;
    border-radius: 15px;
    padding: 50px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.bed-item {
    margin-bottom: 10px;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
}


.bed-item h3 {
    text-align: center;
    background-color: #007bff;
    color: #fff;
    padding: 10px;
    margin-bottom: 10px;
    border-radius: 5px;
}

.bed-item p {
    margin: 5px 0;
    padding: 0;
}

.bed-item .availability {
    font-weight: bold;
}

.bed-item .capacity {
    font-style: normal;
}

.thumb-wrap {
    position: relative;
}

.thumb-content {
    padding-bottom: 30px; /* Lebih banyak ruang antara konten dan bar */
}

/* Tambahkan CSS untuk bar presentase */
.bar-container {
    height: 25px;
    border-radius: 25px;
    display: flex;
    text-align:center;
    align-items: center;
    overflow: hidden; /* Mengatasi overflow jika nilai availabilityPercentage melebihi 100% */
    position: relative; /* Menambahkan posisi relatif untuk child span */
    background-color: #ff0000;
}

.availability-bar {
    height: 100%;
    border-radius: 25px;
    display: flex;
    align-items: center;
    justify-content: center; /* Opsional: Ini akan membuat teks berada di tengah secara horizontal */
    padding: 2px;
    line-height:2;font-size:16px;
    background-color: #4CAF50; /* Warna untuk bar terisi */
    width: 50%;
}

.usage-bar {
    height: 100%;
    border-radius: 25px;
    display: flex;
    align-items: center;
    justify-content: center; /* Opsional: Ini akan membuat teks berada di tengah secara horizontal */
    padding: 2px;
    line-height:2;
    font-size:16px;
    background-color: #ff1900; /* Warna untuk bar terisi */
    margin-left: auto; /* Ini akan membuat bar menjadi rata kanan */
    width: 50%;
}

.availability-bar span {
    padding-left: 5px;
    color: #fff;
}

/* Perubahan pada .bed-list */
.bed-list {
    max-width: 1200px;
    margin: 20px auto;
    background-color: #fff;
    border-radius: 5px;
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

/* Gaya tambahan untuk memperindah tampilan scroll bar jika konten lebih panjang */
/* .bed-list {
    max-height: calc(100vh - 200px);
    overflow-y: auto;
} */