.room-card img {
    object-fit: cover;
    /* height: 180px; */
}
.object-fit-cover {
    object-fit: cover;
}

.carousel-inner {
    /* height: 600px; */
    width: 100%;
    margin: 0 auto;
}

.carousel-inner img {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.edit-table th {
    width: 25%;
    white-space: nowrap;
}
.edit-table td {
    width: 75%;
}

 /* 搜尋框調整 */
.dataTables_filter input {
    width: 250px !important; /* 縮小搜尋框 */
    height: 30px;
    font-size: 14px;
    padding: 5px;
}

/* 選擇每頁顯示筆數的下拉選單 */
.dataTables_length select {
    width: 80px;
    height: 30px;
}

/* 儲存按鈕美化 */
.save-btn {
    background-color: #28a745;
    color: white;
    border: none;
    padding: 5px 10px;
    font-size: 14px;
    border-radius: 5px;
    cursor: pointer;
    display: block;
    width: 60px;
    margin: auto;
}

/* 調整按鈕間距 */
table.dataTable tbody td:last-child {
    text-align: center;
}
.edit { background-color: #ffffcc; }


/* 讓 Show entries 和 Search 在同一行 */
.top-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

/* 讓搜尋框對齊 */
.dataTables_filter {
    margin-left: auto;
}

/* 設定分頁按鈕之間的間距 */
.dataTables_paginate .paginate_button {
            margin: 0 5px; /* 左右各 5px */
            padding: 5px 10px; /* 增加內距，讓按鈕更明顯 */
            border-radius: 5px; /* 圓角 */
            border: 1px solid #ddd; /* 增加邊框 */
            background-color: #f8f8f8; /* 淡灰色背景 */
            transition: all 0.3s ease-in-out;
        }

/* 滑鼠懸停時的效果 */
.dataTables_paginate .paginate_button:hover {
    background-color: #007bff; /* 藍色背景 */
    color: white;
    border-color: #007bff;
}

/* 目前選中的分頁按鈕 */
.dataTables_paginate .paginate_button.current {
    background-color: #007bff;
    color: white;
    border-color: #007bff;
    font-weight: bold;
}

.custom-tabs .nav-link {
  color: #0d6efd; /* Bootstrap 藍色 */
  border: none;
  border-radius: 0.5rem 0.5rem 0 0;
  padding: 0.6rem 1.2rem;
  margin-right: 5px;
  background-color: #f8f9fa;
  transition: all 0.3s ease;
}

.custom-tabs .nav-link:hover {
  background-color: #e2e6ea;
  color: #0a58ca;
}

.custom-tabs .nav-link.active {
  color: #000;
  background-color: white;
  font-weight: bold;
  border-bottom: 3px solid #0d6efd;
}
