#content-table td{
  border: 1px solid #ddd;
}
#content-table ul,td {
  margin: 0;
  padding-left: 10px;
}
#breakeWord{
  max-width: 100px;
  word-wrap: break-word;
  padding-bottom: 0px;
  padding-top: 0px;
}
th,td{
  border: 1px solid #ddd;
  width:5%;
}
table {
  table-layout: fixed;
}
@media screen and (min-width: 900px) {
  #content-table {
    width: 70%;
   }
}
#otaimage{
  width:100%;
  height: 40px;
  padding-bottom: 10px;
}

#headerimage{
  background-color: #37474f !important;
  padding-bottom: 0px;
}
#headerimage a{
  font-size: 130%;
  
}
#contentTitles{
  color: white;
  border-color: darkslategray;
  background-color: darkslategray;
}

#agodaContentReport{
  margin-top: 5px;
}
.mr-10{
  margin-right: 10px;
}

#restrictionLogReport {
  white-space: nowrap;
}

.selected-channel {
    margin-top: 25px;
    background-color: #6a6e6c;
    color: white;
    width: 90px;
    height: 30px;
    border: 1px solid #d8dbda;
}

.unselected-channel {
    margin-top: 25px;
    background-color: #d8dbda;
    color: black;
    width: 90px;
    height: 30px;
    border: 1px solid #6a6e6c;
}

.fixed-column {
  position: sticky;
  left: 0;
  background-color: white;
  z-index: 1;
  border-right: 1px solid #ddd;
}

.table-container {
  overflow-y: auto;
  max-height: 700px;
}
.table-container .date-heading th {
  position: sticky;
  top: 0;
  background: white;
  z-index: 4;
}
.table-container .dyna-heading th {
  position: sticky;
  top: 40px;
  background: white;
  z-index: 3;
}
.table-container .sticky-available-rooms th {
  position: sticky;
  top: 70px;
  background: white;
  z-index: 2;
}
.table-container .room-heading th {
  position: sticky;
  top: 120px;
  background: white;
  z-index: 1;
}
.table-container .room th {
  position: sticky;
  top: 0;
  background: #37474f;
  z-index: 1;
}

.table thead tr.sticky-tableRow {
  opacity: 1 !important;
}

.table thead th.sticky-header {
  position: sticky;
  top: 0;
  background-color: #37474f;
  z-index: 1;
  box-shadow: 0 2px 2px -1px rgba(0, 0, 0, 0.4);
}

.table tbody tr {
  z-index: 2;
}


/* Specific Styles for Bookings Table */

.bookings-table {
  width: 100%;
  border-collapse: collapse;
}
.bookings-table thead, .bookings-table tbody tr {
  display: table;
  width: 100%;
  table-layout: fixed;
}
.bookings-table thead {
  width: calc(100% - 1em);
}
.bookings-sticky-head {
  position: sticky;
  top: 0;
  background-color: #37474f;
  color: white;
  z-index: 100;
  box-shadow: 0 2px 2px -1px rgba(0, 0, 0, 0.4);
}
.bookings-table th, .bookings-table td {
  padding: 10px;
  border: 1px solid #ddd;
}
.bookings-table tbody {
  display: block;
  overflow-y: auto;
  max-height: 500px;
}

.review-upload {
  margin-bottom: 16px;
}

.upload-group {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.upload-item {
  flex: 1;
  text-align: center;
}

.upload-item img {
  max-width: 100px;
  height: auto;
}

.custom-file-upload {
  display: inline-block;
  padding: 6px 12px;
  cursor: pointer;
  background-color: #eee;
  border-radius: 4px;
  font-size: 13px;
  border: 1px solid #ccc;
}

.custom-file-upload input[type="file"] {
  display: none;
}

.room-name-row {
  background-color: #2c3e50;
  color: white;
  font-weight: bold;
}

.room-name-cell {
  padding: 10px;
  font-size: 15px;
}

.room-btn {
  background-color: #59ac6c;
  color: white;
  border-radius: 20px;
  min-width: 80px;
  margin-left: 10px;
  padding: 6px 12px;
  text-align: center;
}

.calendar-wrapper {
  position: relative;
}

.calendar-custom-buttons {
  position: absolute;
  top: 8px;
  left: 10px;
  display: flex;
}

.room-type-filters {
  margin-bottom: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.room-type-filters .btn {
  margin: 0;
}

.dropdown-filter {
  position: relative;
  z-index: 9999;
  pointer-events: auto;
  -webkit-appearance: menulist;
  appearance: menulist;
  overflow: visible;
}

.customer-cell {
  position: relative;
  vertical-align: middle;
}

.customer-icons {
  position: absolute;
  right: 5px;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.customer-icons .info-icon {
  color: #0e203f;
  cursor: pointer;
  transition: color 0.2s ease;
}

.customer-icons {
  position: absolute;
  top: 10px;
  right: 5px;
}

.customer-icons .message-icon {
  color: #3c8dbc;
  cursor: pointer;
  transition: color 0.2s ease;
}

.mark-no-show {
  cursor: pointer;
  color: red;
  display: block;
  margin-top: 5px;
  text-decoration: none;
}

.mark-no-show:hover {
  text-decoration: underline;
}


.message-modal-header {
  padding: 5px;
}

.message-form-wrapper {
  padding-top: 10px;
}

.message-container {
  position: relative;
  padding: 0;
}

.textarea-wrapper {
  position: relative;
}

.message-textarea {
  width: 100%;
  padding: 10px 35px 50px 50px;
  resize: none;
  min-height: 100px;
}

.attachment-label {
  position: absolute;
  bottom: 12px;
  right: 12px;
  cursor: pointer;
  font-size: 18px;
  color: #666;
}

.attachment-label:hover {
  color: #007bff;
}

.attachment-preview-inside {
  position: absolute;
  bottom: 10px;
  left: 10px;
  display: flex;
  align-items: center;
  gap: 4px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 4px;
  padding: 2px 4px;
  box-shadow: 0 0 3px rgba(0, 0, 0, 0.15);
}

.attachment-img-inside {
  height: 35px;
  width: 35px;
  object-fit: cover;
  border-radius: 4px;
}

.attachment-remove-inside {
  cursor: pointer;
  color: red;
  font-size: 14px;
  font-weight: bold;
}

.send-btn {
  float: right;
  margin-top: 10px;
}

.msg-form-wrapper {
  padding-top: 10px;
}

.msg-container {
  position: relative;
  padding: 0;
}

.msg-textarea {
  padding: 10px 40px 60px 10px;
  resize: none;
  min-height: 100px;
}

.msg-attachment-label {
  position: absolute;
  bottom: 12px;
  right: 30px;
  cursor: pointer;
  font-size: 18px;
  color: #666;
}

.msg-attachment-label:hover {
  color: #007bff;
}

.msg-attachment-preview {
  position: absolute;
  bottom: 10px;
  left: 25px;
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 6px;
  padding: 3px 6px;
  box-shadow: 0 0 3px rgba(0,0,0,0.15);
}

.msg-attachment-img {
  height: 40px;
  width: 40px;
  object-fit: cover;
  border-radius: 5px;
  cursor: pointer;
}

.msg-attachment-remove {
  cursor: pointer;
  color: red;
  font-size: 16px;
  font-weight: bold;
}

.msg-attachment-input {
  display: none !important;
}

.msg-send-btn {
  margin-left: 15px;
  margin-top: 15px;
}


