/* #guest-manage input {
  background: white;
  border: 1px solid #d1cbcb;
  padding: 5px 5px 5px 5px;
  width: 90px;
  text-align: center;
} */
/* .highlight-error {
  background-color: #ffe6e6 !important; 
} */
 
table#reservationsTable tfoot {
  position: sticky;
  bottom: 0px;
}

.hl-guest-hero {
  background: linear-gradient(120deg, #e3f5ff 0%, #f6fbff 70%, #ffffff 100%);
  border: 1px solid #dbeafe;
  border-radius: 16px;
  padding: 18px;
  margin: 0 0 18px;
  box-shadow: 0 14px 38px rgba(15, 23, 42, 0.08);
  display: grid;
  gap: 14px;
}

.hl-hero-text h2 {
  margin: 4px 0;
  font-size: 20px;
}

.hl-hero-eyebrow {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .08em;
  margin: 0;
  color: #0ea5e9;
  font-weight: 700;
}

.hl-hero-sub {
  margin: 4px 0 0;
  color: #475569;
  max-width: 620px;
}

.hl-hero-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 10px;
}

.hl-hero-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 12px;
  box-shadow: 0 8px 18px rgba(0,0,0,0.05);
}

.hl-hero-label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: #475569;
  margin: 0 0 4px;
}

.hl-hero-value {
  display: block;
  font-size: 32px;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.1;
}

.hl-hero-help {
  display: block;
  font-size: 12px;
  color: #64748b;
  margin-top: 2px;
}

tr.duplicate {
  background: #e1dfdf !important;
}
#guest-checkout-form input {

  background: white;
  border: 1px solid #d1cbcb;
  padding: 5px 5px 5px 5px;
  width: 90px;
  text-align: center;
}

.export-filter input {
  height: 26px;
}

input.guest-input.commission,
input.guest-input.lodging-total {
  margin-left: 15px;
}

/*Save button for listings*/
div#form-section-submit {
  position: fixed !important;
  bottom: 100px !important;
  right: 16px !important;
  max-width: 150px;
}

button#export-csv {
  margin: 0 !important;
}

.edit-listing-form button.preview-btn.buttons.button-5 {
  background: #0a0a0a;
  color: #ffffff;
  font-size: 14px;
  padding: 10px;
  font-family: sans-serif;
  border: black !important;
  border: 1px solid;
  max-width: 150px;
  margin-bottom: 38px;
  /* box-shadow: rgba(6, 24, 44, 0.4) 0px 0px 0px 2px, rgb(6 24 44 / 31%) 0px 4px 6px -1px, rgba(255, 255, 255, 0.08) 0px 1px 0px inset; */
}
.export-filter label,
.filter-forms label,
.form-check-label {
  font-weight: 700;
  font-size: 11px;
  text-transform: uppercase;
  line-height: 25px;
}

#filter_post {
  margin-top: 0px;
  margin-bottom: -37px;
  margin-left: 15px;
}

#task-manage .elementor-container,
#guest-manage .elementor-container {
  box-shadow: rgba(50, 50, 93, 0.25) 0px 6px 12px -2px, rgba(0, 0, 0, 0.3) 0px 3px 7px -3px;
  border-radius: 14px !important;
  overflow: auto;
  background: white;
}

.page-id-11290 .elementor-widget-wrap.elementor-element-populated {
  border-radius: 8px;
  padding: 7px 7px 12px 7px;
}

table.wp-list-table.widefat.striped.guest-tasks,
table.wp-list-table.widefat.striped.guest-check-in {
  overflow: scroll;
  margin-bottom: 10px;
  width: -webkit-fill-available;
}

/* Styling for the guest tasks and guest check-in forms */
.guest-tasks-filter-form,
.guest-check-in-filter-form {
  padding: 0 10px 0 10px;
}

form#filter-form {
  padding: 0 10px 0 10px;
  margin-bottom: 12px;
}

#guest-checkout-form {
  margin-bottom: 10px;
}

.elementor-shortcode {
  margin-bottom: -10px;
}

#guest-checkout-form .table-responsive,
.guest-tasks-form .table-responsive {
  /* margin-bottom: 20px; */
  clear: both;
}

.guest-tasks-form .table-responsive {
  padding-top: 5px;
  top: -10px;
  position: relative;
}

.guest-tasks-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 10px;
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  margin: 35px 0 0px 0;
}

.guest-tasks-toolbar .toolbar-left,
.guest-tasks-toolbar .toolbar-right {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.guest-tasks-toolbar label {
  margin: 0;
  font-weight: 600;
  color: #374151;
}

.toolbar-checkall {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  color: #1f2937;
}

.toolbar-filter select,
.guest-tasks-toolbar .dropdown,
.guest-tasks-toolbar input.datepicker {
  min-width: 140px;
}

.guest-tasks-toolbar .btn {
  height: 34px;
}

@media (max-width: 900px) {
  .guest-tasks-toolbar {
    flex-direction: column-reverse;
    align-items: flex-start;
  }
  .guest-tasks-toolbar .toolbar-left,
  .guest-tasks-toolbar .toolbar-right {
    width: 100%;
    justify-content: flex-start;
  }
}

.task-filter-panel {
  margin: 16px 0 12px;
  padding: 12px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.task-filter-top {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
}
.task-filter-search {
  flex: 1 1 260px;
  min-width: 220px;
}
.task-filter-search .input-icon {
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid #d1d5db;
  border-radius: 10px;
  padding: 6px 10px;
  background: #fff;
}
.task-filter-search input {
  border: 0;
  outline: 0;
  background: transparent;
  width: 100%;
}
.task-filter-status {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}
.task-status-chip {
  border: 1px solid #d1d5db;
  background: #fff;
  border-radius: 999px;
  padding: 6px 12px;
  font-weight: 600;
  color: #111827;
  cursor: pointer;
  transition: all .15s ease;
}
.task-status-chip:hover {
  border-color: #0ea5e9;
  color: #0ea5e9;
}
.task-status-chip.is-active {
  background: #0ea5e9;
  border-color: #0ea5e9;
  color: #fff;
  box-shadow: 0 8px 16px rgba(14, 165, 233, 0.15);
}
.task-filter-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
  margin-left: auto;
  color: #1f2937;
  font-weight: 600;
}
.task-filter-clear {
  background: none;
  border: 0;
  color: #2563eb;
  font-weight: 600;
  cursor: pointer;
  padding: 6px 8px;
  border-radius: 6px;
}
.task-filter-clear:hover {
  background: #e0e7ff;
}
.tasks-empty-state {
  margin: 10px 0 0;
  padding: 12px;
  background: #fff7ed;
  border: 1px solid #fed7aa;
  color: #92400e;
  border-radius: 10px;
}

@media (max-width: 900px) {
  .task-filter-top {
    flex-direction: column;
  }
  .task-filter-meta {
    width: 100%;
    justify-content: space-between;
  }
}

.guest-tasks-form th:nth-child(1) {
  width: 5%;
} /* Select */
.guest-tasks-form th:nth-child(2) {
  width: 9%;
} /* Status */
.guest-tasks-form th:nth-child(3) {
  width: 12%;
} /* Created */
.guest-tasks-form th:nth-child(4) {
  width: 9%;
} /* Category */
.guest-tasks-form th:nth-child(5) {
  width: 10%;
} /* Assignee */
.guest-tasks-form th:nth-child(6) {
  width: 6%;
} /* Room */
.guest-tasks-form th:nth-child(15) {
  width: 10%; /* Completed At */
}
.guest-tasks-form td:nth-child(2) {
  text-align: left;
}

.task-status-cell {
  display: flex;
  align-items: center;
  gap: 6px;
}

.task-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 2px 8px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 13px;
  text-transform: capitalize;
  background: #eef2ff;
  color: #233876;
}

.task-status--pending {
  background: #ffe9d6;
  color: #c44900;
}

.task-status--completed {
  background: #e3f7ec;
  color: #21794f;
}

.task-status--declined {
  background: #ffe3e6;
  color: #c32135;
}

.task-status--read {
  background: #e5edff;
  color: #1f4ab8;
}

.task-created__relative {
  font-weight: 500;
  color: #1f2937;
  line-height: 1.4;
  cursor: pointer;
}

.page-id-11290 div#c27-site-wrapper {
  padding-bottom: 120px;
}
/* ELementor css Management Dashboard */

.elementor-11290 .elementor-element.elementor-element-9355458 .elementor-heading-title {
  color: #181818;
  font-family: "RocknRoll One", Sans-serif;
  font-size: 32px;
  font-weight: 600;
  text-align: center;
  margin-top: 25px;
}

.elementor-11290 .elementor-element.elementor-element-efe675e .elementor-heading-title {
  color: #000000;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu,
    Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
  font-size: 24px;
  font-weight: 600;
  text-align: center;
  margin-top: 12px !important;
}

.elementor-11290 .elementor-element.elementor-element-12e43ab .elementor-heading-title {
  color: #000000;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu,
    Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
  font-size: 24px;
  font-weight: 600;
  text-align: center;
  margin-top: 12px !important;
}

section#task-manage {
  margin-top: 3px;
  margin-bottom: 60px;
}

.elementor-column.elementor-col-100.elementor-top-column.elementor-element.elementor-element-6737ccd,
.elementor-column.elementor-col-100.elementor-top-column.elementor-element.elementor-element-c7531b2 {
  background: white;
  border-radius: 12px;
}

/* Mobile-friendly table styling */
.guest-tasks th,
.guest-tasks td,
.guest-check-in th,
.guest-check-in td {
  line-height: 18px;
  padding: 10px 2px;
  text-align: center;
  font-size: 13px;
}

.guest-tasks th,
.guest-check-in th {
  background-color: #f2f7f9;
  text-transform: uppercase;
  font-size: 12px;
  color: #353434;
}

#task-manage .elementor-container {
  overflow-y: hidden;
}

.guest-tasks-filter-form select#filter_post {
  /* width: 120px; */
}

select#guest-hotel-select {
  top: -1px;
  /* width: 120px; */
}

.currency-filter {
  display: ruby;
  padding-top: 6px;
}

.currency-select {
  display: inline;
}

.guest-tasks tr:nth-child(even),
.guest-check-in tr:nth-child(even) {
  background-color: #f9f9f9;
}

/* Hover effect */
.guest-tasks tr:hover,
.guest-check-in tr:hover {
  background-color: #f9f9f9;
}

.guest-tasks tr.is-new-task {
  animation: hl-task-flash 2.4s ease-out;
}

@keyframes hl-task-flash {
  0% {
    background-color: #fff7ed;
  }
  100% {
    background-color: transparent;
  }
}

/* Update button styles */
.guest-tasks button,
.guest-check-in button {
  background-color: #05af00;
  border: 1px solid white;
  color: white;
  border: none;
  padding: 5px 8px;
  border-radius: 5px;
  cursor: pointer;
}

button.save-guest-checkout {
  border: 1px solid white;
}

button.duplicate-guest {
  background: none;
  color: #21b3cf;
  border: 1px solid;
}

button.delete-guest {
  background: none;
  color: #ff5f5f;
  border: 1px solid;
}

button.reservation-view-btn {
  background: none;
  color: #454545;
  border: 1px solid;
}

button.save-guest-checkout.update-button {
  width: 80px;
  height: 30px;
  color: #208d8f;
  background: #ffffff;
  border: 1px solid #208d8f;
}

button.save-guest-checkout.update-button.edit {
  color: #ffffff;
  background: #21b3cf;
  border: 1px solid #208d8f;
}

/* button.save-guest-checkout.checkout-button {
  width: 80px;
  height: 30px;
  color: #ffffff;
  background: #0073aa;
  border: 1px solid #004a77;
}

button.save-guest-checkout.edit.checkout-button {
  background-color: #11d911;
  color: white;
  border: 1px solid #12a512;
} */

.filter-forms {
  align-items: center;
  gap: 10px;
}

.hotel-filter {
  float: left;
  margin-top: 0px;
  margin-right: 10px;
}

.new-reservation {
  float: left;
  margin-right: 15px;
  top: 1px;
  position: relative;
}

.export-filter {
  display: inline-block;
  gap: 3px;
  float: right;
  /* width: 438px; */
}

.export-filter input {
  display: inline-block;
  width: 69px !important;
}

.filter-forms form {
  margin: 0;
}

.filter-forms div {
  margin-bottom: 10px;
}

.col-form-label.adults {
  margin-left: 5px;
}

.row.space div,
.calculated-fields div,
.form-field.row.adults div, 
.form-field.row.children div,
.form-field.row.adults label, 
.form-field.row.children label,
.form-field.row.currency .col-sm-2,
.form-field.row.currency label {
  padding: 0;
}

.form-field.row.currency label.currency {
  display: contents;
}

.form-field.row.adults, .form-field.row.children {
  display: inline-block;
  margin: 0 auto 0 auto;
  --bs-gutter-x: none;
}

#notes,
#checkin_date,
#checkout_date,
.guest-tasks-form .btn,
.bulk-actions .btn-primary,
.filter-forms .btn-primary,
.filter-forms .btn-outline-primary,
.filter-forms .dropdown-menu,
#reservationForm .btn-primary,
#reservationForm .btn-secondary,
#reservationForm .dropdown-menu,
#reservationForm  label,
.guest-tasks-filter-form .dropdown-menu,
.filter-forms .datepicker,
.export-filter .datepicker {
  font-size: 10px !important;
  height: 30px !important;
  padding: 4px 12px !important;
}

.filter-forms select.dropdown-menu {
  display: inline-block;
  position: relative;
  box-shadow: none;
  border: 1px solid #ccc;
}

.filter-forms .currency-filter select.dropdown-menu {
  min-width: 45px;
  top: -1px;
}

.valid-row {
  background-color: #e6ffe6 !important;
  /* Light green background */
}

.invalid-row {
  background-color: #ffe6e6 !important;
  /* Light red background */
}

.currency-select select,
.currency-select label {
  margin-right: 0px;
}

.currency-postfix {
  margin-left: 5px;
  cursor: pointer;
  color: #0073aa;
  /* WordPress blue color */
  display: inline-flex;
  align-items: center;
}

.currency-postfix::after {
  content: "▼";
  /* Unicode character for down arrow */
  font-size: 10px;
  margin-left: 3px;
}

.currency-selector {
  width: 60px;
}

.currency-field {
  display: flex;
  align-items: center;
  justify-content: center;
}

.currency-field input {
  flex: 1;
}

#filter-form span.accommodation-charge {
  font-size: 14px;
}

.currency-field .currency-postfix {
  margin-left: 5px;
  white-space: nowrap;
}

#end-date-picker,
#apply-filters {
  margin-right: 5px;
}

#start-date-picker,
#end-date-picker {
  font-size: 10px;
  min-width: 75px;
}

/* Ensure action buttons are centered and aligned */
.action-buttons {
  display: flex;
  gap: 5px;
  justify-content: center;
  align-items: center;
}

/* Optional: Adjust table responsiveness */
.table-responsive {
  overflow-x: auto;
  overflow-y: auto;
    position: sticky;
    bottom: 0;
    background: transparent;
    z-index: 3;
    max-height: 70vh;
}

/* Optional: Adjust input field widths for better alignment */
.guest-input {
  width: 100%;
  box-sizing: border-box;
}

.filter-forms .btn-primary {
  margin: 0;
}

.validation-modal .modal-dialog {
  max-width: none;
}

.validation-table,
.guest-tasks-form .wp-list-table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
}

.validation-table th,
.validation-table td,
.guest-tasks-form .wp-list-table th,
.guest-tasks-form .wp-list-table td  {
  border: 1px solid #ddd;
  padding: 8px;
  text-align: left;
}

.validation-table th,
.guest-tasks-form .wp-list-table th {
  background-color: #f2f2f2;
  font-weight: bold;
}

.validation-table td[title],
.guest-tasks-form .wp-list-table td[title] {
  cursor: help; /* Show a tooltip for invalid cells */
}

.validation-table td:hover[title]::after,
.guest-tasks-form .wp-list-table td:hover[title]::after {
  content: attr(title);
  position: absolute;
  background: #f8d7da;
  color: #ff5f5f;
  border: 1px solid #f5c6cb;
  border-radius: 4px;
  padding: 5px;
  font-size: 12px;
  z-index: 10;
}

/* Make modal scrollable */
.modal-body {
  max-height: 55vh; /* Limit height to 70% of the viewport */
  overflow-y: auto; /* Enable vertical scrolling */
}

/* Style the table for small screens */
.validation-table,
.guest-tasks-form .wp-list-table  {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem; /* Adjust font size for smaller devices */
}

.validation-table th,
.validation-table td,
.guest-tasks-form .wp-list-table th,
.guest-tasks-form .wp-list-table td  {
  border: 1px solid #ddd;
  padding: 8px;
  text-align: left;
  word-wrap: break-word; /* Handle long text */
}
.fa-file-export:before {
  content: "\f56e";
  padding-right: 5px;
}
.guest-tasks-form .wp-list-table tr {
  max-height: 40px; 
  overflow: hidden; 
  white-space: nowrap; 
  text-overflow: ellipsis; 
}

.guest-tasks-form tr.completed {
  text-decoration: line-through;
  opacity: 0.3;
}



.guest-tasks-form .wp-list-table tbody td:first-child {
  vertical-align: middle;
  text-align: center; 
}
button.save-guest-checkout.checkout-button.update-button {
  color: #208d8f;
  background: #ffffff;
  border: 1px solid #208d8f;
}
button.save-guest-checkout.update-button:hover, button.save-guest-checkout.update-button:active {
  color: #ffffff;
  background: #21b3cf;
  border: 1px solid #208d8f;
}

.error-count {
  color: #ff5f5f;
  font-weight: 700;
  font-size: 12px;
  margin-top: 5px;
}

.modal-body .text-success {
  margin-top: 8px;
}

#validation-modal {
  background: #000000d9;
  z-index: 10000;
}

.bulk-actions {
  vertical-align: middle;
  padding-left: 22px;
  height: 10px;
  margin-top: 0px;
  float: left;
}

.bulk-actions .form-check-label {
  top: -6px;
  position: relative;
}

input#check_all_tasks_checkbox {
  top: -4px;
  position: relative;
  margin-right: 5px;
}

.guest-tasks-form {
  clear: both;
  top: -15px;
  position: relative;
  margin-bottom: -17px;
}

/* Hide horizontal scrolling if not necessary */
@media (max-width: 576px) {
  .modal-content {
    margin: 5px;
  }

  .validation-table {
    font-size: 0.8rem;
  }

  .error-count {
    font-size: 0.9rem;
  }
}

@media (max-width: 430px) {
  .currency-filter {
    display: none;
  }
  button#export-csv {
    margin-top: 8px !important;
  }
}

tfoot .total-row {
  font-weight: 700;
  background: #f9f9f9;
}

tfoot .total-row td {
  text-align: right;
}

tfoot .total-row td:first-child {
  text-align: left;
}
