/* ========================================
   ADMIN LAYOUT STYLES
   ======================================== */

/* Global Overflow Fix */
html,
body {
  overflow-x: hidden;
  max-width: 100%;
}

/* Layout Container */
.admin-layout {
  display: flex;
  min-height: 100vh;
  background: #f5f5f5;
  overflow-x: hidden;
  width: 100%;
}

/* ========================================
   SIDEBAR STYLES
   ======================================== */
.admin-sidebar {
  width: 250px;
  background: #ffffff;
  border-right: 1px solid #e5e7eb;
  position: fixed;
  left: 0;
  top: 0;
  height: 100vh;
}

.sidebar-brand {
  padding: 24px 20px;
  border-bottom: 1px solid #e5e7eb;
  display: flex;
  justify-content: center;
  height: 80px;
}

.brand-name {
  font-family: "Poppins", sans-serif;
  font-size: 28px;
  font-weight: 600;
  color: var(--heading-font);
  margin: 0;
}

.sidebar-nav {
  padding: 20px 0;
  height: calc(100vh - 80px);
  overflow-y: auto;
  scrollbar-width: none;
  /* Firefox */
}

/* Hide scrollbar for Chrome, Safari and Opera */
.sidebar-nav::-webkit-scrollbar {
  display: none;
}

.nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-item {
  margin-bottom: 4px;
}

.nav-link {
  display: flex;
  align-items: center;
  padding: 8px 20px;
  color: #9e9e9e;
  text-decoration: none;
  transition: all 0.3s ease;
  gap: 12px;
}

.nav-icon {
  width: 20px;
  height: 20px;
  object-fit: contain;
  transition: filter 0.3s ease;
  /* Grey filter for inactive state */
  filter: brightness(0) saturate(100%) invert(68%) sepia(0%) saturate(0%) hue-rotate(180deg) brightness(92%) contrast(87%);
}

.nav-text {
  font-size: 14px;
  font-weight: 500;
  transition: color 0.3s ease;
}

/* Active State */
.nav-link.active {
  background: #e8f5e9;
  color: #212121;
}

.sidebar-nav .nav-link {
  border-radius: 15px;
  margin-left: 10px;
  margin-right: 10px;
}

.sidebar-nav .nav-link.active {
  border-radius: 10px;
  margin-left: 10px;
  margin-right: 10px;
  margin-top: 10px;
}

.nav-link.active .nav-icon {
  /* Black filter for active state */
  filter: brightness(0) saturate(100%) invert(0%) sepia(0%) saturate(0%) hue-rotate(0deg) brightness(0%) contrast(100%);
}

.nav-link.active .nav-text {
  color: #212121;
}

/* Hover State */
.nav-link:hover {
  background: #e8f5e9;
}

.sidebar-nav .nav-link:hover {
  border-radius: 15px;
  margin-left: 10px;
  margin-right: 10px;
}

.nav-link:hover .nav-icon {
  /* Black filter for active state */
  filter: brightness(0) saturate(100%) invert(0%) sepia(0%) saturate(0%) hue-rotate(0deg) brightness(0%) contrast(100%);
}

/* ========================================
   SUBMENU STYLES
   ======================================== */
@import url("submenu.css");

/* ========================================
   MAIN CONTENT AREA
   ======================================== */
.admin-main {
  margin-left: 250px;
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  max-width: calc(100% - 250px);
  overflow-x: hidden;
}

/* ========================================
   HEADER STYLES
   ======================================== */
.admin-header {
  /* background: #FFFFFF; */
  background: transparent;
  /* border-bottom: 1px solid #E5E7EB; */
  padding: 0 32px;
  height: 80px;
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: 100%;
}

.header-left {
  display: flex;
  align-items: center;
  gap: 16px;
  flex: 1;
}

.page-title {
  font-size: 20px;
  font-weight: 600;
  color: #212121;
  margin: 0;
  white-space: nowrap;
}

.header-controls {
  display: flex;
  align-items: center;
  gap: 16px;
}

.header-select {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  background: #777b850d;
  border: 1px solid #777b8526;
  border-radius: 8px;
  padding: 8px 12px;
  min-width: 140px;
}

.flag-icon {
  width: 20px;
  height: 14px;
  object-fit: cover;
  display: none;
  /* Hide flag as per design image */
}

.header-select select {
  border: none;
  outline: none;
  background: transparent;
  font-size: 14px;
  color: #4b5563;
  cursor: pointer;
  appearance: none;
  padding-right: 20px;
  flex: 1;
  font-weight: 500;
}

.header-select i {
  position: absolute;
  right: 12px;
  font-size: 12px;
  color: #111827;
  pointer-events: none;
}

.header-search {
  position: relative;
  display: flex;
  align-items: center;
}

.search-icon {
  position: absolute;
  left: 12px;
  color: #6b7280;
  font-size: 14px;
}

.search-input {
  padding: 6px 12px 6px 36px;
  border: 1px solid #777b8526;
  background: #f3f4f6;
  border-radius: 8px;
  font-size: 14px;
  outline: none;
  width: 400px;
  color: #4b5563;
  transition: all 0.3s ease;
  height: 34px;
}

.search-input:focus {
  background: #ffffff;
  box-shadow: 0 0 0 1px #e5e7eb;
}

.icon-btn {
  width: 21px;
  height: 21px;
  border: none;
  background: transparent;
  color: #9e9e9e;
  font-size: 15px;
  cursor: pointer;
  transition: color 0.3s ease;
}

.icon-btn:hover {
  color: #212121;
}

.icon-btn:focus {
  outline: none;
  border: none;
}

.user-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  cursor: pointer;
}

/* ========================================
   CONTENT AREA
   ======================================== */
.admin-content {
  padding: 24px 32px;
  flex: 1;
}

/* Filter Tabs Wrapper */
.filter-tabs-wrapper {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
  /* flex-wrap: wrap; */
}

/* Bootstrap Nav Tabs Override */
.filter-tabs.nav-tabs {
  border-bottom: none;
  display: flex;
  gap: 12px;
  flex-wrap: nowrap;
  /* Changed to wrap to prevent cutting off */
  margin-bottom: 1px;
}

.filter-tabs .nav-item {
  margin-bottom: 0;
}

.filter-tab.nav-link {
  padding: 6px 16px;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 400;
  color: #6b7280;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 8px;
}

.filter-tab.nav-link:hover {
  background: #f5f5f5;
  border-color: #e5e7eb;
}

.filter-tab.nav-link.active {
  background: #e8f5e9;
  /* Light teal bg matching sidebar active */
  color: #005c5c;
  /* Dark teal text */
  border-color: #005c5c;
  font-weight: 600;
}

.badge-count {
  background: #005c5c;
  color: #ffffff;
  padding: 2px 8px;
  border-radius: 50%;
  /* Make it circular as per image */
  font-size: 10px;
  font-weight: 600;
  width: 16px;
  height: 16px;
  text-align: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.filter-tab.nav-link.active .badge-count {
  background: #005c5c;
  color: #ffffff;
}

.filter-actions {
  margin-left: auto;
  display: flex;
  gap: 12px;
}

.sort-btn {
  padding: 8px 16px;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  color: #212121;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.sort-btn:hover {
  background: #f5f5f5;
  border-color: #d1d5db;
}

.add-hotel-btn {
  background: var(--admin-primary);
  border: none;
  border-radius: 8px;
  font-weight: 500;
  color: #ffffff;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
  text-decoration: none;
  padding: 8px 16px;
  font-size: 13px;
  display: flex;
  align-items: center;
}

.add-hotel-btn-sing-up {
  padding: 8px 32px;
  background: var(--admin-primary);
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  color: #ffffff;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
  text-decoration: none;
  display: inline-block;
}

.add-hotel-btn:hover,
.add-hotel-btn-sing-up:hover {
  background: #004949;
  transform: translateY(-1px);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.table-container {
  background: #ffffff;
  border-radius: 12px;
  overflow-x: auto;
  overflow-y: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  -webkit-overflow-scrolling: touch;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
}

.data-table th {
  padding: 16px;
  text-align: left;
  font-size: 14px;
  font-weight: 600;
  color: #6b7280;
  border-bottom: 1px solid #e5e7eb;
  white-space: nowrap;
}

.data-table td {
  padding: 16px;
  font-size: 13px;
  color: #212121;
  border-bottom: 1px solid #e5e7eb;
  white-space: nowrap;
}

.data-table tbody tr {
  transition: background-color 0.3s ease;
}

/* Status-based row styling - Applied via JavaScript */
.data-table tbody tr.row-active {
  background-color: #ffffff;
}

.data-table tbody tr.row-inactive {
  background-color: #ffebee;
  border-bottom: 1px solid red !important;
}

.status-badge {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 3px 8px;
  border-radius: 8px;
  text-align: center;
  line-height: 24px;
  font-size: 16px;
  font-weight: 600;
}

.status-active {
  color: #1e8e1b;
  font-size: 13px;
  font-family: Inter;
  font-weight: 500;
  line-height: 21px;
  background: #1e8e1b1a;
}

.status-inactive {
  background: #8e1b1b1a;
  color: #8e1b1b;
  font-size: 13px;
  font-family: Inter;
  font-weight: 500;
  line-height: 21px;
}

.status-pending {
  background: rgba(255, 193, 7, 0.15);
  color: #b45309;
  /* Darker orange/brown for contrast */
  font-size: 12px;
  font-family: Inter;
  font-weight: 400;
  line-height: 21px;
}

/* ========================================
   TAB CONTENT STYLES
   ======================================== */
.tab-content {
  width: 100%;
}

.tab-pane {
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
}

.tab-pane.active {
  opacity: 1;
}

/* Loading animation for table */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.table-loading {
  animation: fadeIn 0.4s ease-in-out;
}

.pillowo-select-wrapper1 {
  width: fit-content;
}

@media (max-width: 1499px) {
  .form-label {
    font-size: 13px;
  }
}

@media (max-width: 1439px) {
  .search-input {
    width: fit-content;
  }

  .form-label {
    font-size: 13.2px;
  }

  .filter-tabs-wrapper {
    white-space: nowrap;
    overflow: hidden;
    overflow-x: scroll;
    scrollbar-width: none;
  }
}

@media (max-width: 1279px) {
  .flex-class {
    display: flex;
    width: 100%;
    margin: 16px 0;
  }

  .width {
    width: 100%;
  }

  .h5.fw-bold.mb-0 {
    width: 100% !important;
  }

  .dashboard-section-title {
    margin-top: 10px;
    margin-bottom: 5px !important;
  }

  .dashboard-section-title1 {
    margin-bottom: 10px;
  }

  .margin-3 {
    margin-top: 10px;
  }

  .margin-b {
    margin-bottom: 10px;
  }

  .search-input {
    width: 160px;
  }

  .step-progress-item {
    width: 10px;
  }

  .filter-tabs-wrapper {
    white-space: nowrap;
    overflow: hidden;
    overflow-x: scroll;
    scrollbar-width: none;
  }

  .modal-big-width {
    width: 100% !important;
  }
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */

/* Large tablets (992px to 1199px) */
@media (min-width: 992px) and (max-width: 1199px) {

  /* .booking-info-group {
        width: 50% !important;
    } */
  .booking-info-group {
    margin-bottom: 0 !important;
  }

  .amenities-card {
    flex-direction: row !important;
    width: 100% !important;
  }

  .amenities-tabs-list {
    min-height: fit-content !important;
  }

  .amenities-card .card-body .nav {
    flex-wrap: nowrap;
    flex-direction: row !important;
    height: auto;
    overflow-x: scroll;
    scrollbar-width: none;
  }

  .nav-pills.amenities-tabs .nav-link {
    white-space: nowrap;
  }

  .amenities-card .card-body {
    overflow: hidden;
  }

  .add-hotel-flex {
    flex-wrap: nowrap;
    flex-direction: column;
  }

  .step-progress-item {
    width: 70px;
  }

  .search-input {
    width: 135px;
  }

  .header-left {
    gap: 10px;
  }

  .filter-tabs-wrapper {
    gap: 8px;
  }

  .filter-tabs.nav-tabs {
    gap: 5px;
  }

  .filter-tab.nav-link {
    padding: 8px 10px;
    font-size: 12px;
    gap: 4px;
  }

  .badge-count {
    font-size: 9px;
    padding: 1px 4px;
  }

  .filter-actions {
    gap: 6px;
  }

  .sort-btn {
    padding: 8px 10px;
    font-size: 12px;
    gap: 3px;
  }

  .steps .col-md-4,
  .steps .col-md-6 {
    width: 100% !important;
  }

  .review-item-group {
    gap: 10px !important;
  }

  .gap-5 {
    gap: 1rem !important;
  }
}

/* Tablet and below (991px) */
@media (max-width: 991px) {
  .modal-show-here {
    max-width: 100% !important;
    margin: 0 50px;
  }

  .no-end {
    justify-content: start !important;
  }

  .inventory-footer {
    flex-wrap: wrap;
    gap: 10px;
    width: 100%;
  }

  .pagination-group,
  .btn-inv-nav {
    width: 100%;
  }

  .facilities-modal-body {
    flex-direction: column !important;
    width: 100%;
  }

  .facilities-sidebar {
    width: 100% !important;
    overflow-y: visible;
  }

  .amenities-card {
    flex-direction: row !important;
    width: 100% !important;
  }

  .amenities-tabs-list {
    min-height: fit-content !important;
  }

  .amenities-card .card-body .nav {
    flex-wrap: nowrap;
    flex-direction: row !important;
    height: auto;
    overflow-x: scroll;
    scrollbar-width: none;
  }

  .nav-pills.amenities-tabs .nav-link {
    white-space: nowrap;
  }

  .amenities-card .card-body {
    overflow: hidden;
  }

  .add-hotel-flex {
    flex-wrap: nowrap;
    flex-direction: column;
  }

  .admin-sidebar {
    width: 180px;
  }

  .admin-main {
    margin-left: 180px;
    max-width: calc(100% - 180px);
  }

  .admin-header {
    padding: 0 20px;
    height: 70px;
  }

  .header-content {
    flex-wrap: nowrap;
    gap: 12px;
    align-items: center;
  }

  .header-left {
    flex-wrap: nowrap;
    gap: 12px;
    width: auto;
    flex: 1;
  }

  .page-title {
    font-size: 16px;
    white-space: nowrap;
    width: auto;
  }

  .header-select {
    min-width: 90px;
    padding: 6px 10px;
    font-size: 12px;
  }

  .header-select select {
    font-size: 12px;
  }

  .header-search {
    min-width: 140px;
    flex: 1;
  }

  .search-icon {
    font-size: 12px;
  }

  .header-right {
    width: auto;
  }

  .header-controls {
    gap: 12px;
    width: auto;
  }

  .user-avatar {
    width: 40px;
    height: 40px;
  }

  .admin-content {
    padding: 18px 16px;
  }

  .filter-tabs-wrapper {
    flex-direction: row;
    align-items: center;
    gap: 10px;
    flex-wrap: nowrap;
  }

  .filter-tabs.nav-tabs {
    width: auto;
    flex: 1;
    gap: 6px;
    flex-wrap: nowrap;
  }

  .filter-tab.nav-link {
    padding: 6px 10px;
    font-size: 11px;
    white-space: nowrap;
    gap: 5px;
  }

  .badge-count {
    font-size: 9px;
    padding: 2px 4px;
  }

  .filter-actions {
    margin-left: auto;
    width: auto;
    gap: 8px;
    flex-wrap: nowrap;
  }

  .sort-btn {
    padding: 6px 10px;
    font-size: 11px;
    white-space: nowrap;
    gap: 4px;
  }

  .table-container {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .data-table {
    min-width: 900px;
  }

  .steps .col-md-4,
  .steps .col-md-6 {
    width: 100% !important;
  }

  .login-box {
    padding-bottom: 30px !important;
    padding-top: 100px !important;
  }

  .add-hotel-btn-sing-up {
    padding: 10px 20px;
  }

  .review-item-group {
    gap: 10px !important;
  }

  .amendment-input-group {
    margin-bottom: 0px !important;
  }

  .hotel-detail-img {
    max-height: 300px !important;
  }
}

/* Tablet portrait and below (768px) */
@media (max-width: 768px) {
  .admin-sidebar {
    width: 160px;
  }

  .admin-main {
    margin-left: 160px;
    max-width: calc(100% - 160px);
  }

  .brand-name {
    font-size: 20px;
  }

  .nav-link {
    padding: 10px 10px;
    gap: 6px;
  }

  .nav-icon {
    width: 16px;
    height: 16px;
  }

  .nav-text {
    font-size: 12px;
  }

  .admin-header {
    padding: 0 14px;
    height: 65px;
  }

  .header-content {
    flex-wrap: nowrap;
    gap: 10px;
    align-items: center;
  }

  .header-left {
    gap: 8px;
    flex-wrap: nowrap;
    width: auto;
    flex: 1;
  }

  .page-title {
    font-size: 14px;
    white-space: nowrap;
    width: auto;
  }

  .header-select {
    padding: 5px 8px;
    font-size: 11px;
    min-width: 75px;
  }

  .header-select select {
    font-size: 11px;
  }

  .flag-icon {
    width: 16px;
    height: 12px;
  }

  .header-select i {
    font-size: 9px;
  }

  .search-icon {
    left: 10px;
  }

  .header-right {
    width: auto;
  }

  .header-controls {
    gap: 10px;
    width: auto;
  }

  .admin-content {
    padding: 14px 10px;
  }

  .filter-tabs-wrapper {
    gap: 8px;
    margin-bottom: 18px;
    flex-direction: row;
    align-items: center;
    flex-wrap: wrap;
  }

  .filter-tabs.nav-tabs {
    gap: 6px;
    flex-wrap: nowrap;
    width: auto;
    flex: 1;
  }

  .filter-tab.nav-link {
    padding: 5px 8px;
    font-size: 11px;
    gap: 5px;
    white-space: nowrap;
  }

  .badge-count {
    padding: 1px 4px;
    font-size: 9px;
    text-align: center;
  }

  .filter-actions {
    gap: 6px;
    flex-wrap: nowrap;
    margin-left: auto;
    width: auto;
  }

  .sort-btn {
    padding: 5px 8px;
    font-size: 11px;
    gap: 4px;
    white-space: nowrap;
  }

  .data-table th,
  .data-table td {
    padding: 10px 6px;
    font-size: 13px;
  }

  .data-table th {
    font-size: 12px;
  }

  .data-table {
    min-width: 700px;
  }

  .status-badge {
    padding: 5px;
    font-size: 13px;
  }

  .booking-info-group {
    margin-bottom: 0 !important;
  }
}

/* Mobile (576px and below) */
/* ========================================
   RESPONSIVE LAYOUT & SIDEBAR
   ======================================== */

/* Sidebar Toggle Button - Default Hidden */
.sidebar-toggle-btn {
  display: none;
  margin-right: 12px;
  font-size: 20px;
  color: #212121;
  background: transparent;
  border: none;
  cursor: pointer;
}

/* Overlay for Mobile Sidebar */
.sidebar-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 998;
  /* Below Sidebar, Above Header/Content */
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

body.sidebar-open .sidebar-overlay {
  opacity: 1;
  visibility: visible;
}

/* Tablet Layout (991px and below) */
@media (max-width: 991px) {

  /* Show Toggle Button */
  .sidebar-toggle-btn {
    display: block;
  }

  /* 1. Sidebar becomes Icon-Only by default on Tablet */
  .admin-sidebar {
    width: 80px;
    transition:
      width 0.3s ease,
      transform 0.3s ease;
    z-index: 1000;
  }

  .admin-main {
    margin-left: 80px;
    max-width: calc(100% - 80px);
    transition: margin-left 0.3s ease;
  }

  /* Minimal Header on Tablet */
  .admin-header {
    padding: 0 16px;
    height: 70px;
  }

  .page-title {
    display: none;
  }

  .header-select-wrapper {
    width: 140px;
  }

  .header-search {
    min-width: 140px;
    flex: 1;
  }

  .search-input {
    width: 100%;
    padding-left: 32px;
  }

  /* Simplified Sidebar Styling */
  .sidebar-brand {
    padding: 10px;
    justify-content: center;
  }

  .brand-name {
    display: none;
  }

  .sidebar-brand::after {
    content: "P";
    font-family: "Poppins", sans-serif;
    font-size: 28px;
    font-weight: 600;
    color: var(--heading-font);
  }

  .nav-text {
    display: none;
  }

  .nav-link {
    justify-content: center;
    padding: 12px;
  }

  .nav-icon {
    width: 24px;
    height: 24px;
    margin: 0;
  }

  /* === OPEN STATE (via Toggle) === */
  body.sidebar-open .admin-sidebar {
    width: 250px;
  }

  body.sidebar-open .brand-name {
    display: block;
  }

  body.sidebar-open .sidebar-brand::after {
    display: none;
  }

  body.sidebar-open .nav-text {
    display: block;
  }

  body.sidebar-open .nav-link {
    justify-content: flex-start;
    padding: 12px 20px;
  }

  body.sidebar-open .nav-icon {
    margin-right: 12px;
  }

  /* Content - Responsive Tables */
  .filter-tabs-wrapper {
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 4px;
  }

  .filter-tabs-wrapper::-webkit-scrollbar {
    height: 0;
    background: transparent;
  }
}

/* Mobile Layout (767px and below) */
@media (max-width: 767px) {

  /* Sidebar Hidden Off-Canvas */
  .admin-sidebar {
    width: 250px;
    /* Full width when shown */
    transform: translateX(-100%);
    /* Hidden */
    position: fixed;
    left: 0;
    top: 0;
    height: 100vh;
  }

  /* Main Content Full Width */
  .admin-main {
    margin-left: 0;
    max-width: 100%;
  }

  /* Header Compact */
  .admin-header {
    padding: 0 12px;
  }

  .header-content {
    gap: 10px;
  }

  .header-select-wrapper {
    width: 100px;
  }

  .pillowo-selected-header {
    padding: 6px 8px;
  }

  .pillowo-selected-header .text {
    font-size: 11px;
  }

  .search-input {
    padding-left: 30px;
  }

  /* Open State Mobile - Slide In */
  body.sidebar-open .admin-sidebar {
    transform: translateX(0);
    box-shadow: 4px 0 15px rgba(0, 0, 0, 0.1);
  }

  /* Ensure Sidebar looks normal when opened */
  .sidebar-brand {
    justify-content: center;
    padding: 24px 20px;
  }

  .brand-name {
    display: block;
    font-size: 24px;
    writing-mode: horizontal-tb;
    /* Reset if needed */
    text-orientation: mixed;
  }

  .sidebar-brand::after {
    display: none;
  }

  .nav-text {
    display: block;
  }

  .nav-link {
    justify-content: flex-start;
    padding: 12px 20px;
  }

  .nav-icon {
    width: 20px;
    height: 20px;
    margin-right: 12px;
  }

  /* Util */
  .filter-actions {
    margin-left: 0;
  }
}

/* ========================================
   EXPANDABLE HOTEL NAMES
   ======================================== */
.hotel-name-clickable {
  cursor: pointer;
  color: #005c5c;
  transition: color 0.3s ease;
  position: relative;
}

.hotel-name-clickable:hover {
  color: #003939;
  text-decoration: underline;
}

.hotel-name-clickable.expanded {
  color: #212121;
}

/* ========================================
   ADD HOTEL FORM STYLES (REFINED)
   ======================================== */

/* Form Header */
.form-header {
  margin-bottom: 24px;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #212121;
  text-decoration: none;
  font-size: 16px;
  font-weight: 600;
  transition: color 0.3s ease;
}

.back-link:hover {
  color: var(--admin-primary);
}

.back-link i {
  font-size: 14px;
  margin-right: 5px;
}

/* Step Progress Indicator */
.step-progress-container {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 48px;
  /* Increased to accommodate absolute labels */
  padding: 0 10px;
}

.step-progress-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  width: 32px;
  /* Fixed width matching circle */
  flex: 0 0 auto;
}

.step-circle {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #9e9e9e;
  border: 1px solid #e5e7eb;
  color: #fff;
  font-weight: 600;
  font-size: 14px;
  transition: all 0.3s ease;
  z-index: 2;
  /* Above connector */
}

/* Active Styling */
.step-progress-item.active .step-circle {
  border: 2px solid var(--admin-primary);
  color: var(--admin-primary);
  background: #ffffff;
}

.step-progress-item.active .step-label {
  color: #111827;
  font-weight: 600;
}

/* Completed Styling */
.step-progress-item.completed .step-circle {
  background: var(--admin-primary);
  border-color: var(--admin-primary);
  color: #ffffff;
}

.step-circle .step-number {
  display: block;
}

.step-progress-item.active .step-circle .step-number {
  display: block;
}

.step-progress-item.completed .step-circle .step-number {
  display: none;
}

.step-circle i {
  display: none;
  font-size: 14px;
}

.step-progress-item.completed .step-circle i {
  display: block;
}

.step-progress-item .step-label {
  position: absolute;
  top: 40px;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  font-size: 12px;
  color: #000000;
  font-weight: 500;
  text-align: center;
  line-height: 1.4;
}

/* Booking Form Stepper Styles */
.stepper-wrapper {
  display: flex;
  align-items: center;
  margin-bottom: 40px;
}

.step-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.step-item .step-label {
  font-size: 16px;
  font-weight: 500;
  color: #111827;
}

.step-line {
  width: 60px;
  height: 2px;
  background-color: #e5e7eb;
  margin: 0 16px;
}

/* Booking Form Step States */
.step-item.active .step-circle {
  border: 2px solid var(--admin-primary);
  color: var(--admin-primary);
  background: #ffffff;
  font-weight: 600;
}

.step-item.pending .step-circle {
  background: #9ca3af;
  color: #ffffff;
  border: none;
  font-weight: 600;
}

.step-item.completed .step-circle {
  background: var(--admin-primary);
  color: #ffffff;
  border: none;
  font-weight: 600;
}

.step-connector {
  flex: 1;
  height: 2px;
  background: #9e9e9e;
  margin-top: 15px;
  /* Center of 32px circle */
  margin-left: 10px;
  margin-right: 10px;
}

/* Color connector after completed steps */
.step-progress-item.completed+.step-connector {
  background: var(--admin-primary);
}

/* Form Sections (Accordion) */
.form-sections {
  display: flex;
  flex-direction: column;
  margin-bottom: 18px;
}

.form-section {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  overflow: hidden;
}

.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 24px;
  cursor: pointer;
  background: #ffffff;
  transition: background-color 0.3s ease;
}

.section-header:hover {
  background: #f9fafb;
}

.form-section.active .section-header {
  border-bottom: 1px solid #e5e7eb;
}

.section-title {
  font-size: 14px;
  font-weight: 500;
  color: #111827;
  margin: 0;
}

.section-toggle {
  color: #111827;
  font-size: 14px;
  transition: transform 0.3s ease;
}

.form-section.active .section-toggle {
  transform: rotate(180deg);
}

.section-content {
  max-height: 0;
  overflow: hidden;
  padding: 0 24px;
  opacity: 0;
  transition:
    max-height 0.4s ease-out,
    padding 0.3s ease,
    opacity 0.3s ease;
}

.form-section.active .section-content {
  max-height: fit-content;
  padding: 15px 24px;
  opacity: 1;
}

.section-content.allow-overflow,
.form-section.allow-overflow {
  overflow: visible !important;
}

/* Form Controls */
.form-label {
  margin-bottom: 6px;
  display: block;
}

.form-control,
.form-select {
  font-size: 14px;
  padding: 12px 16px;
  border: 1px solid #e5e7eb;
  /* border-radius: 16px !important; */
  /* Strict 16px Radius */
  color: #111827;
  transition: all 0.2s ease;
  background-color: #ffffff;
}

.form-control:focus,
.form-select:focus {
  border-color: var(--admin-primary);
  box-shadow: none;
  outline: none;
}

.form-control::placeholder {
  color: #9ca3af;
  /* Placeholder Gray */
  opacity: 1;
}

/* Input Group / Upload Button Styles */
.input-with-button {
  display: flex;
  gap: 12px;
}

.input-with-button .form-control {
  flex: 1;
}

.btn-upload {
  background-color: #005c5c;
  /* Teal */
  color: #ffffff;
  border: none;
  border-radius: 16px;
  /* Match Input Radius */
  padding: 0 24px;
  font-weight: 500;
  font-size: 14px;
  cursor: pointer;
  transition: none;
  display: flex;
  align-items: center;
  white-space: nowrap;
}

/* Upload button hover removed */

/* Add Link */
.link-add {
  color: #198754;
  /* Green */
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  float: right;
  /* Right align in label row */
}

.link-add:hover {
  text-decoration: underline;
  color: #157347;
}

/* Radio Buttons (Bootstrap Override) */
.form-check-input:checked {
  background-color: var(--admin-primary);
  border-color: var(--admin-primary);
}

.form-check-input1:checked {
  border-radius: 4px;
  border: 1px solid #005c5c;
  background-color: rgba(0, 92, 92, 0.1);
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3cpath fill='none' stroke='%23005C5C' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='M6 10l3 3l6-6'/%3e%3c/svg%3e");
}

.form-check-input:focus {
  border-color: var(--admin-primary);
  box-shadow: none;
}

/* Form Navigation */
.form-navigation {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 20px;
  border-right: 1px solid #e5e7eb;
  background: #fff;
  box-shadow: 0 2px 24px 0 rgba(17, 24, 39, 0.05);
  padding: 10px;
  border-radius: 12px;
}

.form-navigation .btn {
  padding: 12px 32px;
  font-size: 14px;
  font-weight: 600;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.form-navigation .btn-outline-secondary {
  border: 1px solid #e5e7eb;
  color: #374151;
  background: white;
}

.form-navigation .btn-outline-secondary:hover {
  background: #f3f4f6;
  border-color: #d1d5db;
}

.form-navigation .btn-primary {
  background: var(--admin-primary);
  border: none;
  color: #ffffff;
}

.form-navigation .btn-primary:hover {
  background: #004949;
  box-shadow:
    0 4px 6px -1px rgba(0, 0, 0, 0.1),
    0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

/* Responsive Styles */
@media (max-width: 991px) {
  .step-progress-container {
    overflow-x: auto;
    padding-bottom: 35px;
    scrollbar-width: none;
  }

  .step-circle {
    width: 28px;
    height: 28px;
    font-size: 12px;
  }

  .step-label {
    font-size: 11px;
  }

  .stepper-line {}
}

/* ========================================
   Step 2: Amenities Tabs Styles
   ======================================== */
.nav-pills.amenities-tabs .nav-link {
  color: #4b5563;
  font-weight: 500;
  transition: all 0.2s ease;
}

.nav-pills.amenities-tabs .nav-link:hover {
  background-color: #f9fafb;
  color: #111827;
}

.nav-pills.amenities-tabs .nav-link.active {
  background-color: rgba(0, 92, 92, 0.15);
  color: #005c5c;
  font-weight: 600;
}

.amenities-card {
  border-radius: 12px !important;
}

.amenities-tabs-list {
  min-height: 600px;
}

/* ========================================
   Step 3: Room Details Styles
   ======================================== */
.room-facilities-wrapper {
  position: relative;
}

.room-facilities-input {
  padding-right: 100px !important;
}

.room-facilities-btn {
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  margin-right: 15px;
  z-index: 5;
  background-color: transparent;
  color: #008080;
  border: 1px solid #008080;
  font-weight: 400;
  padding: 1px 14px;
  font-size: 12px;
}

.room-facilities-btn:hover {
  background-color: #008080;
  color: white;
}

.pricing-section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.pricing-section-title {
  font-size: 16px;
  font-weight: 500;
  color: #111827;
}

.btn-remove-pricing {
  background-color: #005c5c;
  color: white;
  border: none;
  font-size: 0.875rem;
  padding: 0.25rem 1rem;
  border-radius: 8px;
}

.btn-remove-pricing:hover {
  background-color: #004d4d;
  color: white;
}

.btn-add-room-type {
  color: #008080;
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
  /* margin-top: ; */
}

.btn-add-room-type:hover {
  color: #005c5c;
  text-decoration: underline;
}

.infant-rate-group {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.infant-rate-radio-group {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.add-room-btn-container {
  text-align: center;
}

/* ========================================
   Room Facilities Modal Styles
   ======================================== */
.facilities-modal-body {
  display: flex;
  height: 500px;
  /* Fixed height for consistency */
  gap: 1.5rem;
  /* Space between sidebar and content */
  padding: 0 1.5rem 1.5rem 1.5rem;
  /* Padding around the boxes */
}

.facilities-sidebar {
  width: 280px;
  background-color: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  /* Rounded corners */
  padding: 1.5rem 1rem;
  overflow-y: auto;
  scrollbar-width: none;
}

.facility-tab {
  padding: 6px 1.25rem;
  cursor: pointer;
  border-radius: 8px;
  color: #6b7280;
  font-weight: 500;
  transition: all 0.2s;
  font-size: 0.95rem;
}

.facility-tab:hover {
  background-color: #f9fafb;
}

.facility-tab.active {
  background-color: #d6eaea;
  /* Light teal to match screenshot */
  color: #111827;
  /* Darker text */
  font-weight: 500;
}

.facilities-content {
  flex-grow: 1;
  background-color: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  /* Rounded corners */
  padding: 1rem 1.5rem;
  overflow-y: auto;
  /* Enable scrolling for content */
}

.facility-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: -4px;
  /* More spacing */
}

.facility-name {
  font-weight: 400;
  color: #1f2937;
  font-size: 14px;
}

.facility-radios {
  display: flex;
  gap: 2rem;
  /* Wider gap between Yes/No groups if needed, or within group */
}

.facility-radios .form-check {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* Remove focus shadow from close button */
.modal-header .btn-close:focus {
  box-shadow: none;
  outline: none;
}

/* Custom Scrollbar for modal content */
.facilities-content::-webkit-scrollbar {
  width: 6px;
}

.facilities-content::-webkit-scrollbar-track {
  background: #f1f1f1;
}

.facilities-content::-webkit-scrollbar-thumb {
  background: #d1d5db;
  border-radius: 4px;
}

.facilities-content::-webkit-scrollbar-thumb:hover {
  background: #9ca3af;
}

/* Modal Footer */
.modal-footer {
  padding: 1rem 1.5rem;
}

.btn-teal {
  background-color: #005c5c;
  border-color: #005c5c;
  color: #fff;
}

.btn-teal:hover {
  background-color: #004a4a;
  border-color: #004a4a;
  color: #fff;
}

/* .modal-title {
    padding: 20px;
} */
/* ========================================
   STEP 4 : PHOTOS & VIDEOS
   ======================================== */

/* Left mini sidebar */
.photos-sidebar-card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 8px;
}

.photo-nav-item {
  padding: 12px 14px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  color: #6b7280;
  cursor: pointer;
  transition: all 0.25s ease;
}

.photo-nav-item:hover {
  background: #f3f4f6;
}

.photo-nav-item.active {
  background: #d6eaea;
  color: #111827;
  font-weight: 600;
}

/* Right content wrapper */
.photo-content-area {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Card base */
.upload-section-card,
.gallery-section-card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
}

.select-wrap {
  position: relative;
}

.select-wrap select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: none !important;
  /* Remove Bootstrap arrow */
  cursor: pointer;
}

.select-wrap i {
  position: absolute;
  right: 15px;
  pointer-events: none;
  color: #6b7280;
}

/* Select wrapper */
.select-wrap {
  position: relative;
}

.select-wrap i {
  position: absolute;
  right: 16px;
  pointer-events: none;
  color: #6b7280;
}

/* Upload dashed box */
.upload-dashed-box {
  border: 2px dashed #d1d5db;
  border-radius: 12px;
  min-height: 180px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
  background: #fafafa;
}

.upload-dashed-box:hover {
  border-color: #005c5c;
  background: #f5fdfc;
}

.upload-cloud-icon {
  font-size: 28px;
  color: #6b7280;
}

.upload-text {
  font-size: 14px;
  color: #6b7280;
}

.upload-link {
  color: #005c5c;
  font-weight: 600;
  text-decoration: none;
}

.upload-link:hover {
  text-decoration: underline;
}

/* Gallery header */
.gallery-section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.gallery-section-title {
  font-size: 15px;
  font-weight: 600;
  color: #111827;
  margin: 0;
}

.gallery-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Buttons */
.btn-delete-icon {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  border: 1px solid #e5e7eb;
  background: #ffffff;
  color: #6b7280;
  cursor: pointer;
  transition: all 0.25s ease;
  font-size: 14px;
}

.btn-delete-icon:hover {
  background: #fee2e2;
  border-color: #fca5a5;
}

.btn-set-cover {
  padding: 7px 14px;
  background: #005c5c;
  color: #ffffff;
  border: none;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 400;
  transition: all 0.25s ease;
}

.btn-set-cover:hover {
  background: #004a4a;
}

/* Gallery grid */
.gallery-grid {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* Set cover placeholder */
.set-cover-box {
  width: 130px;
  height: 130px;
  padding: 4px;
  border: 1px dashed #d1d5db;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 12px;
  color: #6b7280;
  gap: 6px;
  cursor: pointer;
  transition: all 0.25s ease;
}

.set-cover-box:hover {
  border-color: #005c5c;
  color: #005c5c;
}

/* Image thumb */
.gallery-thumb-item {
  position: relative;
  width: 90px;
  height: 90px;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid #e5e7eb;
}

.video-item {
  position: relative;
  width: 300px;
  height: auto;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid #e5e7eb;
}

.gallery-thumb-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Custom Checkbox on Image */
.gallery-check-box {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 20px;
  height: 20px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
  border: 2px solid #ffffff;
  background: rgba(0, 0, 0, 0.1);
  z-index: 10;
}

.gallery-check-box.checked {
  background: #005c5c;
  border-color: #005c5c;
  color: #ffffff;
}

.gallery-check-box.unchecked {
  background: transparent;
  border: 2px solid #ffffff;
}

.gallery-check-box i {
  font-size: 10px;
  display: none;
}

.gallery-check-box.checked i {
  display: block;
}

/* ========================================
   STEP 5 – POLICIES
   ======================================== */

.policy-options {
  margin-top: 20px;
}

.policy-options .form-check {
  display: flex;
  align-items: center;
  gap: 10px;
}

.policy-options .form-check-label {
  font-size: 14px;
  color: #111827;
  cursor: pointer;
}

.policy-options .form-check-input {
  cursor: pointer;
}

/* ========================================
   STEP 5: POLICIES ACCORDION
   ======================================== */

/* Policy Accordion Container */
.policy-accordion {
  display: flex;
  flex-direction: column;
}

/* Individual Policy Section (Card) */
.policy-section {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
}

/* Policy Header (Clickable) */
.policy-header {
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  transition: background-color 0.2s ease;
  user-select: none;
}

.policy-header:hover {
  background: #f9fafb;
}

.policy-title {
  font-size: 16px;
  font-weight: 600;
  color: #111827;
  margin: 0;
}

.policy-header i {
  font-size: 14px;
  color: #6b7280;
  transition: transform 0.3s ease;
}

.policy-section.active .policy-header i {
  transform: rotate(180deg);
}

/* Policy Content (Collapsible) */
.policy-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.policy-section.active .policy-content {
  max-height: 1000px;
  padding: 0 24px 24px 24px;
}

/* Radio Button Groups */
.policy-radio-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.radio-option {
  display: flex;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  margin: 0;
}

/* Radio Option Text (Default/Hotel Policy) */
.radio-option span {
  color: #424242;
  font-size: 14px;
  font-family: "Inter", sans-serif;
  font-weight: 400;
  line-height: 20px;
  word-wrap: break-word;
}

/* Policy Questions (Radio Button Labels) */
.policy-question {
  margin-bottom: 0;
}

.question-label {
  display: block;
  color: #6b7280;
  font-size: 14px;
  font-family: "Inter", sans-serif;
  font-weight: 400;
  line-height: 22px;
  word-wrap: break-word;
  margin-bottom: 12px;
}

.radio-inline {
  display: flex;
  gap: 24px;
  align-items: center;
}

/* Help Text */
.policy-help-text {
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 16px;
  font-size: 13px;
  color: #6b7280;
  line-height: 1.6;
}

.policy-help-text p {
  margin: 0;
  color: #374151;
}

.policy-help-text strong {
  color: #111827;
  font-size: 17px;
  font-family: Inter;
  font-weight: 600;
  word-wrap: break-word;
}

.policy-help-text ul {
  margin: 8px 0 0 0;
  padding-left: 20px;
}

.policy-help-text li {
  margin-bottom: 6px;
  color: #6b7280;
}

/* Form Controls within Policy Sections */
.policy-content .form-label {
  font-size: 14px;
  font-weight: 600;
  color: #374151;
  margin-bottom: 8px;
}

.policy-content .form-control {
  font-size: 14px;
}

.policy-content textarea.form-control,
textarea.form-control {
  resize: vertical;
  min-height: 100px;
}

.policy-content .custom-input {
  border: 1px solid #d1d5db;
  border-radius: 8px;
  padding: 10px 14px;
}

.policy-content .custom-input:focus,
.policy-content select:focus,
.policy-content textarea:focus,
.policy-content input:focus {
  outline: none;
  border-color: #005c5c;
  box-shadow: none;
}

/* Global Custom Radio Styles */
input[type="radio"],
.form-check-input[type="radio"] {
  appearance: none;
  -webkit-appearance: none;
  width: 20px !important;
  /* Larger for better visibility */
  height: 20px !important;
  border: 1px solid #d1d5db;
  /* Gray border for unchecked */
  border-radius: 50%;
  margin-right: 8px;
  cursor: pointer;
  position: relative;
  outline: none;
  background-color: #fff;
  transition: all 0.2s ease;
  padding: 0;
  /* Critical for centering */
  display: flex;
  /* Robust centering */
  align-items: center;
  justify-content: center;
}

input[type="radio"]:checked,
.form-check-input[type="radio"]:checked {
  border-color: #005c5c;
  background-color: #fff;
  /* Keep background white for the ring effect */
}

input[type="radio"]:checked::after,
.form-check-input[type="radio"]:checked::after {
  content: "";
  width: 14px;
  /* Inner dot size - proportional to 24px outer */
  height: 14px;
  border-radius: 50%;
  background-color: #005c5c;
  /* Teal dot */
  display: block;
  /* Flex container handles positioning */
  position: static;
  /* Reset absolute if swapping to flex */
  transform: none;
  /* Reset transform */
}

input[type="radio"]:hover,
.form-check-input[type="radio"]:hover {
  border-color: #005c5c;
}

/* ========================================
   POLICY EDIT UI - STEP 5
   ======================================== */

/* Policy Summary Cards */
.policy-summary-cards {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 16px;
}

.policy-summary-card {
  background: rgba(224, 224, 224, 0.2);
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 9px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  transition: all 0.2s ease;
}

.policy-summary-card:hover {
  background: #f3f4f6;
  border-color: #d1d5db;
}

.policy-summary-text {
  flex: 1;
  margin: 0;
  color: var(--tertiary, #6c6c6c);
  font-size: 14px;
  font-family: "Inter", sans-serif;
  font-weight: 500;
  line-height: 22px;
  word-wrap: break-word;
}

.policy-card-actions {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}

/* Policy Icon Buttons (Edit & Delete) */
.btn-policy-icon {
  width: 20px;
  height: 20px;
  border-radius: 6px;
  border: 1px solid transparent;
  background: transparent;
  color: #111827;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.25s ease;
  padding: 0;
}

.btn-policy-icon:hover {
  background: #f9fafb;
  border-color: #d1d5db;
}

.btn-policy-icon.btn-edit:hover {
  background: #d6eaea;
  border-color: #005c5c;
  color: #005c5c;
}

.btn-policy-icon.btn-delete:hover {
  background: #fee2e2;
  border-color: #dc2626;
  color: #dc2626;
}

.btn-policy-icon i {
  font-size: 13px;
}

/* Add More Policy Link */
.link-add-policy {
  display: block;
  text-align: center;
  color: var(--admin-primary, #005c5c);
  font-size: 16px;
  font-family: "Inter", sans-serif;
  font-weight: 600;
  text-decoration: none;
  margin-top: 12px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.link-add-policy:hover {
  color: #004242;
  text-decoration: underline;
}

.link-add-policy i {
  font-size: 14px;
  margin-right: 4px;
}

/* Link Add (Step 1 and other steps) */
.link-add {
  color: var(--admin-primary, #005c5c);
  font-size: 16px;
  font-family: "Inter", sans-serif;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
}

.link-add:hover {
  color: #004242;
  text-decoration: underline;
}

/* Policy Edit UI Form Labels */
.policy-edit-ui .form-label {
  color: #111827;
  font-size: 14px;
  font-family: "Inter", sans-serif;
  font-weight: 500;
  margin-bottom: 8px;
  word-wrap: break-word;
}

/* Cancellation Policy Checkbox Labels */
.policy-default-ui .form-check-label {
  color: #111827;
  font-size: 14px;
  font-family: "Inter", sans-serif;
  font-weight: 500;
  line-height: 22px;
  word-wrap: break-word;
}

/* Policy Section Headings (Cancellation charges, Non-refundable, etc.) */
.policy-section-heading {
  color: #111827;
  font-size: 14px;
  font-family: "Inter", sans-serif;
  font-weight: 600;
  word-wrap: break-word;
  margin-bottom: 5px;
}

/* ========================================
   PDF UPLOAD & PREVIEW - STEP 6
   ======================================== */
.pdf-upload-area-bg {
  border-radius: 12px;
  border: 1px solid #e5e7eb;
  background: #fff;

  /* New webapp white theme */
  box-shadow: 0 4px 24px 0 rgba(17, 24, 39, 0.05);
  padding: 15px;
}

/* PDF Upload Drag & Drop Area */
.pdf-upload-area {
  border: 2px dashed #d1d5db;
  border-radius: 12px;
  padding: 40px 20px;
  text-align: center;
  background: #fff;
  cursor: pointer;
  transition: all 0.3s ease;
}

.pdf-upload-area:hover {
  border-color: #005c5c;
  background: #f0f9f9;
}

.pdf-upload-area .upload-icon {
  font-size: 48px;
  color: #6b7280;
  margin-bottom: 16px;
}

.pdf-upload-area .upload-text {
  color: #374151;
  font-size: 16px;
  font-family: "Inter", sans-serif;
  font-weight: 500;
  margin-bottom: 8px;
}

.pdf-upload-area .upload-subtext {
  color: #6b7280;
  font-size: 14px;
  font-family: "Inter", sans-serif;
  margin: 0;
}

.pdf-upload-area .upload-link {
  color: #005c5c;
  font-weight: 600;
  text-decoration: none;
}

.pdf-upload-area .upload-link:hover {
  text-decoration: underline;
}

/* PDF Preview Card */
.pdf-preview-card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 14px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-top: 16px;
  transition: all 0.2s ease;
  cursor: pointer;
}

.pdf-preview-card:hover {
  background: #f9fafb;
  border-color: #d1d5db;
}

.pdf-preview-content {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
}

.pdf-preview-card .pdf-icon {
  font-size: 24px;
  color: #005c5c;
  flex-shrink: 0;
}

.pdf-info {
  flex: 1;
}

.pdf-filename {
  color: #111827;
  font-size: 14px;
  font-family: "Inter", sans-serif;
  font-weight: 500;
  margin: 0 0 2px 0;
}

.pdf-filesize {
  color: #6b7280;
  font-size: 12px;
  font-family: "Inter", sans-serif;
  margin: 0;
}

.btn-pdf-delete {
  width: 32px;
  height: 32px;
  border-radius: 6px;
  border: 1px solid #e5e7eb;
  background: #ffffff;
  color: #6b7280;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.25s ease;
  padding: 0;
  flex-shrink: 0;
}

.btn-pdf-delete:hover {
  background: #fee2e2;
  border-color: #dc2626;
  color: #dc2626;
}

.btn-pdf-delete i {
  font-size: 13px;
}

/* ================================
   PILLOWO CUSTOM SELECT
================================ */

.pillowo-select-wrapper {
  width: 100%;
}

.pillowo-label {
  font-size: 13px;
  font-weight: 500;
  color: #111827;
  margin-bottom: 8px;
  display: block;
}

.pillowo-select {
  position: relative;
  user-select: none;
}

.pillowo-selected {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  /* Matched input padding */
  border-radius: 16px;
  border: 1px solid #e5e7eb;
  background: #ffffff;
  cursor: pointer;
  transition: all 0.25s ease;
  /* Ensure uniform height with inputs */
}

.pillowo-selected-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px !important;
  /* Matched input padding */
  border-radius: 8px;
  border: 1px solid #777b8526;
  background: #777b850d;
  cursor: pointer;
  transition: all 0.25s ease;
}

.pillowo-selected .icon {
  font-size: 18px;
}

.pillowo-selected .text {
  flex: 1;
  font-size: 14px;
  color: #111827;
}

.pillowo-selected .text.placeholder {
  color: #6b7280;
}

.pillowo-selected .arrow {
  font-size: 12px;
  color: #005c5c;
  transition: transform 0.25s ease;
}

.pillowo-select.active .pillowo-selected {
  border-color: #005c5c;
  box-shadow: 0 0 0 2px rgba(0, 92, 92, 0.15);
}

.pillowo-select.active .arrow {
  transform: rotate(180deg);
}

/* Options dropdown */
.pillowo-options {
  position: absolute;
  top: calc(100% + 2px);
  left: 0;
  right: 0;
  background: #ffffff;
  border-radius: 14px;
  border: 1px solid #e5e7eb;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
  list-style: none;
  padding: 8px;
  margin: 0;
  display: none;
  z-index: 999999999999;
  max-height: 200px;
  overflow-y: auto;
  white-space: nowrap;
}

.pillowo-select.active .pillowo-options {
  display: block;
  margin-top: 5px;
  scrollbar-width: none;
}

.pillowo-select.active .pillowo-option {
  position: relative;
}

.pillowo-options li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 2px 5px;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.pillowo-options li .icon {
  font-size: 18px;
}

.pillowo-options li .text {
  font-size: 14px;
  color: #111827;
}

.pillowo-options li:hover {
  background: #e8f5f5;
}

.pillowo-options li.selected {
  background: #005c5c;
}

.pillowo-options li.selected .text {
  color: #ffffff;
}

/* Helper class to allow dropdown overflow dynamically */

/* ========================================
   PDF PREVIEW - STEP 7
   ======================================== */
.pdf-preview-container {
  background: #ffffff;
  display: none;
  /* Toggled via JS */
}

.pdf-thumbnail-wrapper {
  width: 120px;
  height: 160px;
  overflow: hidden;
  flex-shrink: 0;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  background: #f9fafb;
  display: flex;
  justify-content: center;
  align-items: center;
}

.pdf-thumbnail-canvas {
  height: 100%;
  width: 100%;
  object-fit: contain;
}

.pdf-no-file-alert {
  display: none;
  background: #f9fafb;
  border: 1px dashed #d1d5db;
  text-align: center;
  color: #6b7280;
  padding: 24px;
  border-radius: 8px;
}

/* ========================================
   STEP 7: FINAL REVIEW REFINEMENTS
   ======================================== */

/* Grid Layout for Preview Section */
.step7-preview-grid {
  display: flex;
  gap: 32px;
  align-items: flex-start;
}

/* Left Column: PDF Thumbnail */
.step7-preview-left {
  flex-shrink: 0;
  width: 200px;
}

/* Right Column: Details */
.step7-preview-right {
  flex: 1;
}

/* Thumbnail Styling */
.step7-thumbnail-box {
  width: 100%;
  background: #f3f4f6;
  border: 1px solid #e5e7eb;
  border-radius: 4px;
  overflow: hidden;
  position: relative;
  aspect-ratio: 1 / 1.414;
  display: flex;
  justify-content: center;
  align-items: center;
}

.step7-thumbnail-box::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.08);
  z-index: 1;
  pointer-events: none;
}

.step7-thumbnail-canvas {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Details Typography */
.step7-heading-text {
  font-size: 16px;
  font-weight: 500;
  color: #111827;
  margin-bottom: 10px;
}

.step7-info-row {
  margin-bottom: 3px;
  font-size: 14px;
  color: #374151;
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.step7-info-label {
  font-family: Inter;
  font-size: 14px;
  font-style: normal;
  font-weight: 600;
  color: #212121;
  min-width: auto;
}

.step7-info-value {
  font-family: Inter;
  font-size: 14px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
  color: #6c6c6c;
}

/* Document Link Styling */
.step7-doc-link {
  color: #005c5c;
  text-decoration: underline;
  font-weight: 500;
}

/* Action Buttons */
.step7-actions {
  margin-top: 14px;
  display: flex;
  gap: 16px;
}

.step7-btn {
  padding: 6px 24px;
  border-radius: 6px;
  font-weight: 500;
  font-size: 14px;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-block;
  text-align: center;
}

.step7-btn-outline {
  background: #ffffff;
  border: 1px solid #d1d5db;
  color: #005c5c;
}

.step7-btn-primary {
  background: #005c5c;
  border: 1px solid #005c5c;
  color: #ffffff;
}

.step7-btn-outline:hover {
  background: #f9fafb;
}

.step7-btn-primary:hover {
  background: #004242;
}

/* PDF Icon Overlay on Thumbnail */
.step7-pdf-icon-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: white;
  color: black;
  padding: 8px 12px;
  border-radius: 4px;
  font-weight: bold;
  text-transform: uppercase;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step7-pdf-icon-overlay i {
  font-size: 34px;
}

/* Step 7 Success UI */
.step7-success-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  margin: 0 auto;
  height: 93vh;
}

.step7-success-title {
  font-size: 24px;
  font-weight: 700;
  color: #111827;
}

.step7-success-text {
  font-size: 16px;
  color: #6b7280;
  line-height: 1.5;
  max-width: 500px;
  margin: 0 auto;
}

/* ========================================
   MODAL STYLES (Refactored)
   ======================================== */

/* General Modal Elements */
.modal-header-title {
  color: var(--Heading-font, #212121);
  font-size: 18px;
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  word-wrap: break-word;
}

.modal-subtitle {
  color: #111827;
  font-size: 18px;
  font-family: "Inter", sans-serif;
  font-weight: 600;
  word-wrap: break-word;
}

.btn-custom {
  padding: 8px 24px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  border: none;
  cursor: pointer;
}

.btn-decline {
  background-color: #fee2e2;
  color: #991b1b;
}

.btn-approve {
  background-color: #d1fae5;
  color: #065f46;
}

.btn-outline-teal {
  background-color: white;
  color: #005c5c;
  border: 1px solid #005c5c;
}

.btn-solid-teal {
  background-color: #005c5c;
  color: white;
}

/* Approval & Info Tables */
.approval-table,
.info-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  white-space: nowrap;
}

.approval-table th,
.info-table th {
  background-color: #f3f4f6;
  color: #6b7280;
  font-size: 14px;
  font-weight: 500;
  padding: 12px 24px;
}

.approval-table th:first-child {
  text-align: left;
}

.approval-table th:nth-child(2) {
  text-align: center;
}

.approval-table th:last-child {
  text-align: center;
}

.info-table th {
  text-align: left;
  color: #6b7280 !important;
  font-family: "Inter", sans-serif;
  font-weight: 400;
}

.approval-table th:first-child,
.info-table th:first-child {
  border-top-left-radius: 8px;
  border-bottom-left-radius: 8px;
}

.approval-table th:last-child,
.info-table th:last-child {
  border-top-right-radius: 8px;
  border-bottom-right-radius: 8px;
}

.info-table th:last-child {
  width: 1%;
  white-space: nowrap;
  padding-right: 8px;
  text-align: center;
}

.approval-table td,
.info-table td {
  padding: 6px 24px;
  /* Reduced from 20px to match image better */
  vertical-align: middle;
  font-size: 14px;
}

.approval-table td:first-child {
  text-align: left;
}

.approval-table td:nth-child(2) {
  text-align: center;
}

.approval-table td:last-child {
  text-align: center;
}

.info-table td {
  color: #6b7280;
  font-family: "Inter", sans-serif;
  font-weight: 400;
}

.info-table td:last-child {
  text-align: center;
}

.approval-category {
  color: #111827;
  font-weight: 500;
}

.approval-link {
  color: var(--Primary-color, #005c5c);
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.approval-link:hover {
  color: #004949;
}

.approval-update-btn {
  background-color: #005c5c;
  color: white;
  border: none;
  padding: 8px 24px;
  border-radius: 8px;
  /* Updated from pill to 8px */
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s;
  width: 120px;
  /* Fixed width for standard appearance */
}

.approval-update-btn:hover {
  background-color: #004949;
}

.info-icon {
  color: #6b7280;
  font-size: 18px;
  cursor: pointer;
}

/* Comparison View */
.compare-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 4px;
}

.value-box {
  flex: 1;
  border-radius: 8px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.value-box-old {
  background-color: #f3f4f6;
}

.value-box-new {
  background-color: #ecfdf5;
  border: 1px solid #d1fae5;
}

.value-label {
  font-size: 14px;
  font-family: "Inter", sans-serif;
  font-weight: 600;
  line-height: 21px;
  word-wrap: break-word;
}

.value-box-old .value-label {
  color: var(--Light-font-for-light-theme, #777b85);
}

.value-box-new .value-label {
  color: var(--Heading-font, #212121);
}

.value-text {
  font-size: 14px;
  font-weight: 600;
  color: #111827;
}

.arrow-separator {
  color: #005c5c;
  font-size: 20px;
}

/* Decline Reason */
.decline-label {
  font-size: 14px;
  font-weight: 600;
  color: #111827;
  margin-bottom: 8px;
  display: block;
}

.decline-textarea {
  width: 100%;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 12px;
  font-size: 14px;
  color: #111827;
  resize: vertical;
  min-height: 120px;
}

.decline-textarea:focus {
  outline: none;
  border-color: #005c5c;
}

.booking-modal-title {
  color: var(--Heading-font, #212121);
  font-size: 24px;
  font-family: "Poppins", sans-serif;
  font-weight: 600;
}

.back-arrow-icon {
  cursor: pointer;
  font-size: 14px;
}

.text-nowrap {
  white-space: nowrap !important;
}

.modal-footer-custom {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  padding-top: 20px;
}

.modal-action-btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-top: 24px;
  width: 100%;
}

.action-modal-btn {
  flex: 1 0 calc(25% - 15px);
  /* Encourages 4 buttons in first row, 3 in second */
  text-align: center;
  white-space: nowrap;
  padding: 10px 15px;
  /* Improved padding for better UI */
}

/* last mediq */

@media (max-width: 1279px) {
  .step-progress-item {
    width: 40px;
  }
}

.whitte-space {
  white-space: nowrap;
}

/* Search Input in Custom Select */
.pillowo-selected input.select-search-input {
  flex: 1;
  border: none;
  background: transparent;
  outline: none;
  font-size: 14px;
  color: #111827;
  width: 100%;
  padding: 0;
  margin: 0;
}

.pillowo-selected input.select-search-input::placeholder {
  color: #6b7280;
}

/* Add Button in Custom Select */
.btn-select-add {
  background: #005c5c;
  color: #fff;
  border: none;
  border-radius: 4px;
  padding: 2px 8px;
  font-size: 12px;
  font-weight: 600;
  margin-right: 8px;
  cursor: pointer;
  transition: background 0.2s ease;
}

.btn-select-add:hover {
  background: #004242;
}

.form-control,
.form-select,
.pillowo-selected {
  padding: 7px 16px !important;
  height: 34px;
}

.pillowo-selected {
  height: 34px !important;
  min-height: 34px;
}

.fw-semibold {
  font-weight: 400 !important;
}

.form-check-label {
  font-size: 13px;
}

.fs-5 {
  font-size: 16px !important;
}

.form-control-manual {
  border-radius: 16px 0px 0px 16px !important;
}

.input-group-text {
  font-size: 13px;
}

/* ========================================
   HOTEL STATUS TOGGLE BUTTON
   ======================================== */
.hotel-status-toggle {
  margin-right: 12px;
}

/* Switch Styling */
.switch {
  position: relative;
  display: inline-block;
  width: 40px;
  height: 20px;
  margin-bottom: 0;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ff6b6b;
  /* Red for Deactive */
  transition: 0.4s;
  border-radius: 34px;
}

.slider:before {
  position: absolute;
  content: "";
  height: 16px;
  width: 16px;
  left: 2px;
  bottom: 2px;
  background-color: white;
  transition: 0.4s;
  border-radius: 50%;
}

input:checked+.slider {
  background-color: #10b981;
  /* Green for Active */
}

input:focus+.slider {
  box-shadow: 0 0 1px #10b981;
}

input:checked+.slider:before {
  transform: translateX(20px);
}

/* Text Styling */
#toggleText {
  font-size: 14px;
  min-width: 60px;
  text-align: right;
}

.logo-img img {
  height: 45px;
}

/* Inactive Row Tooltip */
.row-tooltip-wrapper {
  position: relative;
}

.row-inactive-tooltip {
  display: none;
  position: absolute;
  top: 30px;
  left: 20px;
  background-color: #111827;
  color: #ffffff;
  padding: 12px 16px;
  border-radius: 6px;
  width: 280px;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.2);
  z-index: 9999;
  font-size: 13px;
  pointer-events: none;
  white-space: normal;
  text-align: left;
}

.row-inactive-tooltip::before {
  content: "";
  position: absolute;
  top: -6px;
  left: 15px;
  border-width: 0 6px 6px 6px;
  border-style: solid;
  border-color: transparent transparent #111827 transparent;
}

.clickable-row:hover .row-inactive-tooltip {
  display: block;
}

.tooltip-title {
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 4px;
  display: block;
  color: #fff;
}

.tooltip-desc {
  color: #d1d5db;
  font-size: 12px;
  line-height: 1.4;
}