/* =============================================================
   PKWORLD Guest Site — User Dashboard v2
   Phase 7 — P7
   Brand: Teal #1B4353 | Green #3CB54B | Font: Roboto
   ============================================================= */

/* ── Brand colour overrides ───────────────────────────────── */
.bg-green  { background-color: #3CB54B !important; }
.text-green { color: #3CB54B !important; }
.text-darkblue  { color: #1B4353 !important; }
.text-darkblue1 { color: rgba(27,67,83,0.65) !important; }

/* ── Page background ──────────────────────────────────────── */
section.userdashboardSec {
  padding: 40px 0;
  background: #f0f4f7 !important;
}

/* ── Sidebar ──────────────────────────────────────────────── */
.usersidebar {
  position: sticky;
  top: 80px;
}

.usersidebar ul.nav {
  background: #fff;
  border-radius: 12px;
  border: 1px solid #e8ecef;
  box-shadow: 0 2px 12px rgba(27,67,83,0.07);
  overflow: hidden;
  margin-top: 0;
}

.usersidebar ul.nav a.nav-link {
  font-family: 'Roboto', sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: #1B4353;
  padding: 13px 20px;
  border-bottom: 1px solid #f0f2f4;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: background 0.15s, color 0.15s;
}

.usersidebar ul.nav a.nav-link:last-child {
  border-bottom: none;
}

.usersidebar ul.nav a.nav-link:hover {
  background: #f5feff;
  color: #1B4353;
}

.usersidebar ul.nav a.nav-link.active {
  background: #3CB54B;
  color: #fff;
  border-bottom-color: transparent;
}

.usersidebar ul.nav a.nav-link.active img {
  filter: brightness(0) invert(1);
}

.usersidebar ul.nav a.nav-link img {
  width: 18px;
  height: 18px;
  object-fit: contain;
  flex-shrink: 0;
}

/* ── Profile avatar ring ──────────────────────────────────── */
.wrappers {
  width: 130px;
  height: 130px;
  position: relative;
  border: 4px solid #3CB54B;
  border-radius: 50%;
  background-size: cover;
  background-position: center;
  margin: 0 auto 16px;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(60,181,75,0.22);
}

/* ── Dashboard main card ──────────────────────────────────── */
.userdashboardSec .card {
  border-radius: 12px !important;
  border: 1px solid #e8ecef !important;
  box-shadow: 0 2px 12px rgba(27,67,83,0.07) !important;
}

/* ── Booking list row ─────────────────────────────────────── */
.booking_box {
  padding: 12px 0;
  transition: background 0.12s;
}

.userhotalstatus a.btn {
  font-family: 'Roboto', sans-serif;
  font-size: 13px;
  font-weight: 600;
  width: 120px;
  border-radius: 6px;
  padding: 5px 0;
  text-align: center;
}

.userheader h3 {
  font-family: 'Roboto', sans-serif;
  font-weight: 700;
  color: #1B4353;
}

.userheader p {
  font-family: 'Roboto', sans-serif;
  font-size: 12px;
  color: rgba(27,67,83,0.6);
}

/* ── Form controls ────────────────────────────────────────── */
.userdashboardSec .form-control {
  font-family: 'Roboto', sans-serif;
  font-size: 14px;
  border: 1.5px solid #dde3e8;
  border-radius: 8px;
  color: #1B4353;
  height: 44px;
}

.userdashboardSec .form-control:focus {
  border-color: #1B4353;
  box-shadow: 0 0 0 3px rgba(27,67,83,0.10);
}

/* ── Save / cancel buttons ────────────────────────────────── */
.userdashboardSec .btn.bg-green {
  font-family: 'Roboto', sans-serif !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  border-radius: 8px !important;
  padding: 10px 32px !important;
}

/* ── Section headings inside cards ───────────────────────── */
.userdashboardSec .fnt-18 {
  font-family: 'Roboto', sans-serif;
  color: #1B4353;
  font-weight: 700;
}

/* ── Booking detail — accordion dropdown ─────────────────── */
.greendropdown {
  background: #3CB54B !important;
  border-color: #3CB54B !important;
  border-radius: 10px !important;
}

.greendropdown.yellowDropdown {
  background: #1B4353 !important;
  border-color: #1B4353 !important;
}

.greendropdown .btn-link {
  color: #fff !important;
  text-decoration: none !important;
  font-family: 'Roboto', sans-serif;
}

/* ── Booking detail table ─────────────────────────────────── */
.bookingTable {
  font-family: 'Roboto', sans-serif;
  font-size: 13px;
  color: #1B4353;
}

.bookingTable thead th {
  background: #f5feff;
  color: #1B4353;
  font-weight: 700;
  padding: 10px 14px;
  border-bottom: 2px solid #e8ecef;
}

.bookingTable tbody td {
  padding: 10px 14px;
  border-bottom: 1px solid #f0f2f4;
}

.bookingTable tbody tr:nth-child(odd) td {
  background: #f9fbfd;
}

/* ── Cancellation countdown ───────────────────────────────── */
span.timerBx {
  display: block;
  font-family: 'Roboto', sans-serif;
  font-size: 28px;
  font-weight: 700;
  color: #1B4353;
  background: #f0f4f7;
  border-radius: 8px;
  padding: 8px 14px;
  text-align: center;
  min-width: 60px;
}

/* ── Review section ───────────────────────────────────────── */
.reviewCount {
  background: #3CB54B;
  padding: 3px 10px;
  font-size: 17px;
  border-radius: 8px;
  margin-right: 8px;
  color: #fff;
  font-weight: 700;
  font-family: 'Roboto', sans-serif;
}

.reviewMiddle h3 {
  font-family: 'Roboto', sans-serif;
  color: #1B4353;
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 2px;
}

.reviewMiddle span {
  font-family: 'Roboto', sans-serif;
  font-size: 12px;
  color: rgba(27,67,83,0.55);
}

.reviewLft li {
  font-family: 'Roboto', sans-serif;
  font-size: 13px;
  padding: 7px 0;
  border-bottom: 1px solid #f0f2f4;
  color: rgba(27,67,83,0.75);
}

.reviewLft li span {
  font-weight: 700;
  color: #1B4353;
  padding-right: 8px;
}

/* ── Inbox chat UI ────────────────────────────────────────── */
.container-chat {
  display: flex;
  background: #fff;
  border-radius: 12px;
  border: 1px solid #e8ecef;
  overflow: hidden;
  min-height: 480px;
}

.container-chat .left {
  width: 280px;
  border-right: 1px solid #e8ecef;
  flex-shrink: 0;
}

.container-chat .left .top {
  padding: 14px 16px;
  border-bottom: 1px solid #e8ecef;
  display: flex;
  align-items: center;
  gap: 8px;
}

.container-chat .left .top input {
  flex: 1;
  border: 1px solid #dde3e8;
  border-radius: 6px;
  padding: 6px 10px;
  font-size: 13px;
  outline: none;
}

.container-chat .left .top .search {
  color: rgba(27,67,83,0.45);
  font-size: 14px;
}

.container-chat ul.people {
  list-style: none;
  padding: 0;
  margin: 0;
  overflow-y: auto;
  max-height: 420px;
}

.container-chat ul.people li.person {
  padding: 12px 16px;
  border-bottom: 1px solid #f0f2f4;
  cursor: pointer;
  display: grid;
  grid-template-columns: 36px 1fr auto;
  grid-template-rows: auto auto;
  gap: 0 10px;
  align-items: center;
  transition: background 0.12s;
}

.container-chat ul.people li.person:hover,
.container-chat ul.people li.person.active {
  background: #f5feff;
}

.container-chat ul.people li.person img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  grid-row: 1 / 3;
}

.container-chat ul.people li.person .name {
  font-family: 'Roboto', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: #1B4353;
}

.container-chat ul.people li.person .time {
  font-family: 'Roboto', sans-serif;
  font-size: 11px;
  color: rgba(27,67,83,0.45);
}

.container-chat ul.people li.person .preview {
  font-family: 'Roboto', sans-serif;
  font-size: 12px;
  color: rgba(27,67,83,0.55);
  grid-column: 2 / 4;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.container-chat .right {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.container-chat .right .top {
  padding: 14px 20px;
  border-bottom: 1px solid #e8ecef;
  font-family: 'Roboto', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: #1B4353;
}

.container-chat .right .top .name {
  color: #3CB54B;
}

.container-chat .chat {
  flex: 1;
  padding: 20px;
  overflow-y: auto;
  display: none;
  flex-direction: column;
  gap: 10px;
  background: #f9fbfd;
}

.container-chat .chat.active-chat {
  display: flex;
}

.container-chat .conversation-start {
  text-align: center;
  font-family: 'Roboto', sans-serif;
  font-size: 11px;
  color: rgba(27,67,83,0.4);
  margin: 4px 0;
}

.container-chat .bubble {
  max-width: 60%;
  padding: 10px 14px;
  border-radius: 12px;
  font-family: 'Roboto', sans-serif;
  font-size: 13px;
  line-height: 1.5;
  position: relative;
}

.container-chat .bubble.you {
  background: #1B4353;
  color: #fff;
  align-self: flex-start;
  border-radius: 12px 12px 12px 2px;
}

.container-chat .bubble.me {
  background: #fff;
  color: #1B4353;
  align-self: flex-end;
  border: 1px solid #e8ecef;
  border-radius: 12px 12px 2px 12px;
}

.container-chat .bubble .sentmessage {
  display: block;
  font-size: 10px;
  margin-top: 4px;
  opacity: 0.6;
}

.container-chat .messageBox {
  padding: 12px 16px;
  border-top: 1px solid #e8ecef;
  background: #fff;
}

.container-chat .write {
  display: flex;
  align-items: center;
  gap: 10px;
}

.container-chat .write input {
  flex: 1;
  border: 1.5px solid #dde3e8;
  border-radius: 8px;
  padding: 8px 14px;
  font-size: 13px;
  outline: none;
  font-family: 'Roboto', sans-serif;
}

.container-chat .write input:focus {
  border-color: #1B4353;
}

.container-chat .write .write-link {
  color: rgba(27,67,83,0.4);
  font-size: 16px;
  transition: color 0.15s;
}

.container-chat .write .write-link:hover {
  color: #3CB54B;
}

.container-chat .write .write-link.send1 {
  background: #3CB54B;
  color: #fff;
  padding: 7px 16px;
  border-radius: 6px;
  font-family: 'Roboto', sans-serif;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
}

/* ── RateYo star widget (local, no CDN) ───────────────────── */
.jq-ry-container {
  position: relative;
  display: inline-block;
  line-height: 0;
  cursor: pointer;
}

.jq-ry-container[readonly="readonly"] {
  cursor: default;
}

.jq-ry-container > .jq-ry-group-wrapper {
  position: relative;
  width: 100%;
}

.jq-ry-container > .jq-ry-group-wrapper > .jq-ry-group {
  position: relative;
  display: inline-block;
  line-height: 0;
  z-index: 10;
}

.jq-ry-container > .jq-ry-group-wrapper > .jq-ry-group > svg {
  display: inline-block;
}

.jq-ry-container > .jq-ry-group-wrapper > .jq-ry-rated-group {
  width: 0;
  z-index: 13;
  position: absolute;
  top: 0;
  left: 0;
  overflow: hidden;
  white-space: nowrap;
}

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 767.98px) {
  .usersidebar {
    position: static;
    margin-bottom: 20px;
  }

  .container-chat {
    flex-direction: column;
  }

  .container-chat .left {
    width: 100%;
    border-right: none;
    border-bottom: 1px solid #e8ecef;
  }

  section.userdashboardSec {
    padding: 20px 0;
  }

  .searchBox.userAllbooking {
    width: 100%;
    margin-top: 10px;
  }
}

/* =============================================================
   P7-T2  KPI Cards + Dashboard Home
   ============================================================= */

/* ── Dashboard wrapper ────────────────────────────────────── */
.pkw-dash-wrap {
  padding: 32px 0 48px;
  background: #f0f4f7;
  min-height: calc(100vh - 160px);
}

/* ── Welcome bar ──────────────────────────────────────────── */
.pkw-dash-welcome {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 28px;
}

.pkw-dash-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #3CB54B;
  flex-shrink: 0;
}

.pkw-dash-welcome-text h2 {
  font-family: 'Roboto', sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: #1B4353;
  margin: 0 0 2px;
}

.pkw-dash-welcome-text p {
  font-family: 'Roboto', sans-serif;
  font-size: 13px;
  color: rgba(27,67,83,0.6);
  margin: 0;
}

/* ── KPI card grid ────────────────────────────────────────── */
.pkw-kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 28px;
}

.pkw-kpi-card {
  background: #fff;
  border-radius: 14px;
  border: 1px solid #e8ecef;
  box-shadow: 0 2px 12px rgba(27,67,83,0.07);
  padding: 20px 20px 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: box-shadow 0.18s, transform 0.18s;
  text-decoration: none;
}

.pkw-kpi-card:hover {
  box-shadow: 0 6px 24px rgba(27,67,83,0.12);
  transform: translateY(-2px);
  text-decoration: none;
}

.pkw-kpi-card-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

.pkw-kpi-card-icon.teal  { background: #e8f7fa; color: #1B4353; }
.pkw-kpi-card-icon.green { background: #eaf7ec; color: #3CB54B; }
.pkw-kpi-card-icon.gold  { background: #fff8e6; color: #D4A017; }
.pkw-kpi-card-icon.navy  { background: #eef1f6; color: #3A5980; }

.pkw-kpi-card-num {
  font-family: 'Roboto', sans-serif;
  font-size: 30px;
  font-weight: 800;
  color: #1B4353;
  line-height: 1;
}

.pkw-kpi-card-label {
  font-family: 'Roboto', sans-serif;
  font-size: 12px;
  font-weight: 500;
  color: rgba(27,67,83,0.55);
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

.pkw-kpi-card-sub {
  font-family: 'Roboto', sans-serif;
  font-size: 11px;
  color: rgba(27,67,83,0.4);
  margin-top: 2px;
}

/* ── Dashboard main card ──────────────────────────────────── */
.pkw-dash-card {
  background: #fff;
  border-radius: 14px;
  border: 1px solid #e8ecef;
  box-shadow: 0 2px 12px rgba(27,67,83,0.07);
  padding: 24px 28px;
  margin-bottom: 20px;
}

.pkw-dash-card-title {
  font-family: 'Roboto', sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: #1B4353;
  margin: 0 0 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid #f0f2f4;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.pkw-dash-card-title a {
  font-size: 12px;
  font-weight: 500;
  color: #3CB54B;
  text-decoration: none;
}

.pkw-dash-card-title a:hover { text-decoration: underline; }

/* ── Recent booking rows ──────────────────────────────────── */
.pkw-dash-recent-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid #f4f6f8;
}

.pkw-dash-recent-row:last-child { border-bottom: none; }

.pkw-dash-recent-info h5 {
  font-family: 'Roboto', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: #1B4353;
  margin: 0 0 3px;
}

.pkw-dash-recent-info p {
  font-family: 'Roboto', sans-serif;
  font-size: 12px;
  color: rgba(27,67,83,0.55);
  margin: 0;
}

.pkw-dash-recent-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 5px;
}

.pkw-dash-recent-right .price {
  font-family: 'Roboto', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: #1B4353;
}

/* ── Status badge ─────────────────────────────────────────── */
.pkw-dash-badge {
  font-family: 'Roboto', sans-serif;
  font-size: 11px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 20px;
  display: inline-block;
}

.pkw-dash-badge.upcoming  { background: #eaf7ec; color: #2a8c39; }
.pkw-dash-badge.completed { background: #e8f7fa; color: #1B4353; }
.pkw-dash-badge.cancelled { background: #fdecea; color: #c0392b; }
.pkw-dash-badge.no-show   { background: #fff3e0; color: #d35400; }
.pkw-dash-badge.staying      { background: #d4f4d8; color: #2E8540; }
.pkw-dash-badge.disputed     { background: #ffece0; color: #C25500; }
.pkw-dash-badge.under-review { background: #ede5ff; color: #6F42C1; }

/* ── Quick actions ────────────────────────────────────────── */
.pkw-dash-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.pkw-dash-action-btn {
  font-family: 'Roboto', sans-serif;
  font-size: 13px;
  font-weight: 600;
  padding: 10px 20px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  transition: opacity 0.15s, box-shadow 0.15s;
}

.pkw-dash-action-btn:hover {
  opacity: 0.88;
  box-shadow: 0 4px 14px rgba(27,67,83,0.14);
  text-decoration: none;
}

.pkw-dash-action-btn.primary { background: #3CB54B; color: #fff; }
.pkw-dash-action-btn.outline {
  background: transparent;
  color: #1B4353;
  border: 1.5px solid #1B4353;
}

/* ── Rewards mini-display ─────────────────────────────────── */
.pkw-dash-rewards-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 0;
}

.pkw-dash-rewards-badge {
  background: linear-gradient(135deg, #D4A017 0%, #f0c84a 100%);
  color: #fff;
  font-family: 'Roboto', sans-serif;
  font-size: 22px;
  font-weight: 800;
  border-radius: 10px;
  padding: 10px 18px;
  min-width: 80px;
  text-align: center;
}

.pkw-dash-rewards-info h5 {
  font-family: 'Roboto', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: #1B4353;
  margin: 0 0 3px;
}

.pkw-dash-rewards-info p {
  font-family: 'Roboto', sans-serif;
  font-size: 12px;
  color: rgba(27,67,83,0.55);
  margin: 0;
}

/* ── Sidebar v2 ───────────────────────────────────────────── */
.pkw-dash-sidebar {
  position: sticky;
  top: 80px;
}

.pkw-dash-sidebar-profile {
  background: #fff;
  border-radius: 14px;
  border: 1px solid #e8ecef;
  box-shadow: 0 2px 12px rgba(27,67,83,0.07);
  padding: 24px 24px 20px;   /* matches pkw-dash-card rhythm */
  margin-bottom: 20px;        /* matches pkw-dash-card margin-bottom */
  text-align: center;
}

.pkw-dash-sidebar-profile .avatar-wrap {
  position: relative;
  width: 80px;
  height: 80px;
  margin: 0 auto 10px;
}

.pkw-dash-sidebar-profile .avatar-wrap img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #3CB54B;
}

.pkw-dash-sidebar-profile .avatar-wrap label {
  position: absolute;
  bottom: 0;
  right: 0;
  background: #3CB54B;
  color: #fff;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  cursor: pointer;
  border: 2px solid #fff;
}

.pkw-dash-sidebar-profile h4 {
  font-family: 'Roboto', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: #1B4353;
  margin: 0 0 2px;
}

.pkw-dash-sidebar-profile p {
  font-family: 'Roboto', sans-serif;
  font-size: 12px;
  color: rgba(27,67,83,0.55);
  margin: 0;
}

.pkw-dash-nav {
  background: #fff;
  border-radius: 14px;
  border: 1px solid #e8ecef;
  box-shadow: 0 2px 12px rgba(27,67,83,0.07);
  overflow: hidden;
}

.pkw-dash-nav a {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 13px 18px;
  font-family: 'Roboto', sans-serif;
  font-size: 13px;
  font-weight: 500;
  color: #1B4353;
  border-bottom: 1px solid #f0f2f4;
  text-decoration: none;
  transition: background 0.14s, color 0.14s;
}

.pkw-dash-nav a:last-child { border-bottom: none; }

.pkw-dash-nav a:hover { background: #f5feff; }

.pkw-dash-nav a.active {
  background: #3CB54B;
  color: #fff;
  border-bottom-color: transparent;
}

.pkw-dash-nav a.active i { color: #fff; }

.pkw-dash-nav a i {
  width: 16px;
  text-align: center;
  font-size: 14px;
  color: rgba(27,67,83,0.5);
  flex-shrink: 0;
}

.pkw-dash-nav a.active i { color: #fff; }

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 991.98px) {
  .pkw-kpi-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 575.98px) {
  .pkw-kpi-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .pkw-kpi-card-num { font-size: 24px; }
  .pkw-dash-sidebar { position: static; }
}

/* =============================================================
   P7-T3  Bookings List — pkw-pd-* table system (ported from admin)
   ============================================================= */

/* ── Filter tabs ──────────────────────────────────────────── */
.pkw-bl-tabs {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.pkw-bl-tab {
  font-family: 'Roboto', sans-serif;
  font-size: 13px;
  font-weight: 500;
  padding: 7px 16px;
  border-radius: 20px;
  border: 1.5px solid #e0e4e8;
  background: #fff;
  color: rgba(27,67,83,0.65);
  cursor: pointer;
  transition: all 0.15s;
  white-space: nowrap;
  display: inline-flex;      /* vertically centers count badge with label */
  align-items: center;
  line-height: 1;
}

.pkw-bl-tab:hover {
  border-color: #1B4353;
  color: #1B4353;
}

.pkw-bl-tab.active {
  background: #1B4353;
  border-color: #1B4353;
  color: #fff;
}

.pkw-bl-tab .count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.25);
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
  height: 18px;
  padding: 0 7px;
  margin-left: 5px;
  min-width: 24px;
  line-height: 1;
}

.pkw-bl-tab:not(.active) .count {
  background: #f0f4f7;
  color: #1B4353;
}

/* ── Table scroll wrapper ─────────────────────────────────── */
.pkw-pd-table-scroll {
  overflow-x: auto;
  margin: 0 -28px;
}

/* ── Table base ───────────────────────────────────────────── */
.pkw-pd-table {
  width: 100%;
  border-collapse: collapse;
  font-family: 'Roboto', sans-serif;
}

.pkw-pd-table thead th {
  background: #F5FEFF;
  color: #3A3F51;
  font-size: 13px;
  font-weight: 600;
  padding: 10px 12px;
  text-align: left;
  white-space: nowrap;
}

.pkw-pd-table thead th:first-child { padding-left: 28px; }
.pkw-pd-table thead th:last-child  { padding-right: 28px; }

.pkw-pd-table tbody tr {
  border-bottom: 1px solid #F1F2F4;
  transition: background 0.12s;
}

.pkw-pd-table tbody tr:last-child { border-bottom: none; }
.pkw-pd-table tbody tr:hover { background: #f9fbfd; }

.pkw-pd-table tbody td {
  padding: 13px 12px;
  font-size: 13px;
  color: #3A3F51;
  vertical-align: middle;
}

.pkw-pd-table tbody td:first-child { padding-left: 28px; }
.pkw-pd-table tbody td:last-child  { padding-right: 28px; }

/* ── Cell classes ─────────────────────────────────────────── */
.pkw-pd-res-id {
  color: #50BAC0;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}
.pkw-pd-res-id:hover { text-decoration: underline; color: #50BAC0; }

.pkw-pd-booking-type {
  font-size: 12px;
  font-weight: 500;
  color: #E8CA35;
  margin-top: 2px;
}

.pkw-pd-guest-name {
  font-size: 14px;
  font-weight: 700;
  color: #3A3F51;
}

.pkw-pd-room-type {
  font-size: 12px;
  font-weight: 500;
  color: #50BAC0;
  margin-top: 2px;
}

.pkw-pd-cell-std {
  font-size: 12px;
  font-weight: 500;
  color: #3A3F51;
  white-space: nowrap;
}

.pkw-pd-bd-date {
  display: block;
  font-size: 12px;
  font-weight: 500;
  color: #3A3F51;
  white-space: nowrap;
}

.pkw-pd-bd-time {
  display: block;
  font-size: 12px;
  font-weight: 500;
  color: #50BAC0;
  white-space: nowrap;
  margin-top: 2px;
}

.pkw-pd-final-rate {
  font-size: 14px;
  font-weight: 700;
  color: #3A3F51;
}

.pkw-pd-commission {
  font-size: 12px;
  font-weight: 500;
  color: #50BAC0;
  margin-top: 2px;
}

/* ── Status badges ────────────────────────────────────────── */
.pkw-pd-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 90px;
  height: 25px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 600;
  white-space: nowrap;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #fff;
  padding: 0 10px;
}

.pkw-pd-badge-reserved  { background: #3BB44A; }
.pkw-pd-badge-upcoming  { background: #3BB44A; }
.pkw-pd-badge-completed { background: #1B4353; }
.pkw-pd-badge-cancelled { background: #E93B65; }
.pkw-pd-badge-no-show   { background: #B4B6BD; }
.pkw-pd-badge-pending   { background: #E8CA35; color: #5a4800; }
.pkw-pd-badge-staying      { background: #2E8540; }
.pkw-pd-badge-disputed     { background: #C25500; }
.pkw-pd-badge-under-review { background: #8B5CF6; }

/* ── Action button (dot menu / view) ─────────────────────── */
.pkw-bl-action-btn {
  font-family: 'Roboto', sans-serif;
  font-size: 12px;
  font-weight: 600;
  padding: 5px 14px;
  border-radius: 6px;
  border: 1.5px solid #e0e4e8;
  background: #fff;
  color: #1B4353;
  text-decoration: none;
  white-space: nowrap;
  transition: all 0.14s;
  display: inline-block;
}

.pkw-bl-action-btn:hover {
  border-color: #1B4353;
  background: #1B4353;
  color: #fff;
  text-decoration: none;
}

/* ── Empty state ──────────────────────────────────────────── */
.pkw-bl-empty {
  padding: 48px 20px;
  text-align: center;
}

.pkw-bl-empty i {
  font-size: 36px;
  color: rgba(27,67,83,0.2);
  display: block;
  margin-bottom: 14px;
}

.pkw-bl-empty p {
  font-family: 'Roboto', sans-serif;
  font-size: 14px;
  color: rgba(27,67,83,0.5);
  margin: 0 0 16px;
}

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 575.98px) {
  .pkw-pd-table-scroll { margin: 0 -16px; }
  .pkw-pd-table tbody td:first-child,
  .pkw-pd-table thead th:first-child { padding-left: 16px; }
  .pkw-pd-table tbody td:last-child,
  .pkw-pd-table thead th:last-child  { padding-right: 16px; }
}

/* ═══════════════════════════════════════════════════════════════
   Booking Card List  (pkw-bk-*)
   Replaces the old table layout on My Bookings page
   ═══════════════════════════════════════════════════════════════ */

.pkw-bk-list {
  /* cards stack vertically inside the white card container */
}

.pkw-bk-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 24px;
  border-bottom: 1px solid #f0f3f6;
  border-left: 4px solid #3BB44A;   /* overridden per-card via inline style */
  background: #fff;
  cursor: pointer;
  transition: background 0.12s, box-shadow 0.12s;
}

.pkw-bk-card:last-child {
  border-bottom: none;
}

.pkw-bk-card:hover {
  background: #f0f7ff;
  box-shadow: inset 0 0 0 1px rgba(27,67,83,0.07);
}

/* Col 1 — Booking ref */
.pkw-bk-col-id {
  flex: 0 0 100px;
}

.pkw-bk-ref {
  font-family: 'Roboto', sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: #3CB54B;
  display: block;
}

.pkw-bk-type {
  font-family: 'Roboto', sans-serif;
  font-size: 11px;
  font-weight: 600;
  margin-top: 4px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

/* Col 2 — Hotel / Room */
.pkw-bk-col-hotel {
  flex: 1 1 0;
  min-width: 0;
}

.pkw-bk-hotel-name {
  font-family: 'Roboto', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: #1B4353;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.pkw-bk-room-name {
  font-family: 'Roboto', sans-serif;
  font-size: 12px;
  color: rgba(27,67,83,0.55);
  margin-top: 3px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Col 3 — Dates */
.pkw-bk-col-dates {
  flex: 0 0 230px;
}

.pkw-bk-dates {
  font-family: 'Roboto', sans-serif;
  font-size: 13px;
  color: #1B4353;
  font-weight: 500;
  white-space: nowrap;
}

.pkw-bk-dates i {
  color: #3CB54B;
  margin-right: 5px;
  font-size: 11px;
}

.pkw-bk-arrow {
  margin: 0 6px;
  color: rgba(27,67,83,0.35);
}

.pkw-bk-booked-on {
  font-family: 'Roboto', sans-serif;
  font-size: 11px;
  color: rgba(27,67,83,0.45);
  margin-top: 4px;
  white-space: nowrap;
}

/* Col 4 — Amount + badge + button */
.pkw-bk-col-right {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
  min-width: 120px;
}

.pkw-bk-amount {
  font-family: 'Roboto', sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: #1B4353;
  white-space: nowrap;
}

/* ── Responsive: stack on small screens ─────────────────── */
@media (max-width: 767.98px) {
  .pkw-bk-card {
    flex-wrap: wrap;
    gap: 12px;
    padding: 16px;
  }

  .pkw-bk-col-id    { flex: 0 0 calc(50% - 6px); }
  .pkw-bk-col-right { flex: 0 0 calc(50% - 6px); align-items: flex-end; }
  .pkw-bk-col-hotel { flex: 1 1 100%; }
  .pkw-bk-col-dates { flex: 1 1 100%; }
}

@media (max-width: 575.98px) {
  .pkw-bk-col-id,
  .pkw-bk-col-right { flex: 0 0 100%; align-items: flex-start; }
}

/* ═══════════════════════════════════════════════════════════════
   P7-T5  Profile Page  (pkw-prof-*)
   ═══════════════════════════════════════════════════════════════ */

/* M5 email-missing warning banner */
.pkw-prof-email-warning {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: #FFF8E1;
  border: 1px solid #FFD54F;
  border-left: 4px solid #FFA000;
  border-radius: 10px;
  padding: 14px 18px;
  font-family: 'Roboto', sans-serif;
  font-size: 13px;
  color: #5D4037;
  line-height: 1.5;
}
.pkw-prof-email-warning i {
  color: #FFA000;
  font-size: 15px;
  margin-top: 1px;
  flex-shrink: 0;
}

/* Card sections */
.pkw-prof-card-header {
  padding: 16px 24px;
  border-bottom: 1px solid #EAF3F5;
  font-family: 'Roboto', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: #1B4353;
}
.pkw-prof-card-header i {
  color: #3CB54B;
}
.pkw-prof-card-body {
  padding: 24px;
}

/* Labels */
.pkw-prof-label {
  display: block;
  font-family: 'Roboto', sans-serif;
  font-size: 12px;
  font-weight: 600;
  color: #1B4353;
  margin-bottom: 6px;
  letter-spacing: 0.3px;
}
.pkw-prof-label-required {
  display: inline-block;
  margin-left: 6px;
  font-size: 10px;
  font-weight: 700;
  color: #fff;
  background: #FFA000;
  border-radius: 4px;
  padding: 1px 5px;
  letter-spacing: 0.3px;
  vertical-align: middle;
}

/* Inputs */
.pkw-prof-input {
  width: 100%;
  height: 42px;
  padding: 0 14px;
  border: 1px solid #D0E4EA;
  border-radius: 8px;
  font-family: 'Roboto', sans-serif;
  font-size: 13px;
  color: #1B4353;
  background: #FAFEFF;
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}
.pkw-prof-input:focus {
  border-color: #3CB54B;
  box-shadow: 0 0 0 3px rgba(60,181,75,0.12);
  background: #fff;
}
.pkw-prof-input::placeholder {
  color: #9FB8C2;
}

/* Amber border for empty required field */
.pkw-prof-input-warn {
  border-color: #FFD54F;
  background: #FFFDE7;
}
.pkw-prof-input-warn:focus {
  border-color: #FFA000;
  box-shadow: 0 0 0 3px rgba(255,160,0,0.12);
  background: #fff;
}

/* Field error text */
.pkw-prof-field-error {
  font-family: 'Roboto', sans-serif;
  font-size: 11px;
  color: #E93B65;
  margin-top: 5px;
}

/* Section separator */
.pkw-prof-divider {
  border: none;
  border-top: 1px solid #EAF3F5;
  margin: 20px 0 18px;
}
.pkw-prof-section-label {
  font-family: 'Roboto', sans-serif;
  font-size: 11px;
  font-weight: 700;
  color: #3CB54B;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  margin-bottom: 16px;
}

/* Validation errors (password form) */
.pkw-prof-validation-errors {
  background: #FEF0F3;
  border: 1px solid #F5C6CF;
  border-radius: 8px;
  padding: 10px 14px;
  font-family: 'Roboto', sans-serif;
  font-size: 12px;
  color: #E93B65;
}

/* Save / submit button */
.pkw-prof-save-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 24px;
  background: #3CB54B;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-family: 'Roboto', sans-serif;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, box-shadow 0.2s;
}
.pkw-prof-save-btn:hover {
  background: #2fa040;
  box-shadow: 0 4px 12px rgba(60,181,75,0.25);
}
.pkw-prof-save-btn:active {
  background: #278933;
}

/* Responsive */
@media (max-width: 575.98px) {
  .pkw-prof-card-body { padding: 16px; }
  .pkw-prof-save-btn  { width: 100%; justify-content: center; }
}

/* ═══════════════════════════════════════════════════════════════
   P7-T6  Reviews Page  (pkw-rv-*)
   ═══════════════════════════════════════════════════════════════ */

.pkw-rv-card {
  padding: 0;
  overflow: hidden;
}

/* Card header — hotel name + score badge */
.pkw-rv-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 24px 14px;
  border-bottom: 1px solid #EAF3F5;
}
.pkw-rv-hotel-info {
  flex: 1;
  min-width: 0;
}
.pkw-rv-hotel-name {
  font-family: 'Roboto', sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: #1B4353;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.pkw-rv-booking-ref {
  font-family: 'Roboto', sans-serif;
  font-size: 11px;
  color: rgba(27,67,83,0.5);
  margin-top: 3px;
}
.pkw-rv-score-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  flex-shrink: 0;
}
.pkw-rv-score-badge {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Roboto', sans-serif;
  font-size: 18px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.5px;
}
.pkw-rv-score-label {
  font-family: 'Roboto', sans-serif;
  font-size: 10px;
  color: rgba(27,67,83,0.45);
  text-align: center;
}

/* Sub-score bars */
.pkw-rv-sub-scores {
  padding: 16px 24px 12px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 24px;
}
.pkw-rv-sub-row {
  display: flex;
  align-items: center;
  gap: 8px;
}
.pkw-rv-sub-label {
  font-family: 'Roboto', sans-serif;
  font-size: 11px;
  font-weight: 600;
  color: #1B4353;
  width: 80px;
  flex-shrink: 0;
}
.pkw-rv-bar-track {
  flex: 1;
  height: 6px;
  background: #EAF3F5;
  border-radius: 3px;
  overflow: hidden;
}
.pkw-rv-bar-fill {
  height: 100%;
  border-radius: 3px;
  transition: width 0.4s ease;
}
.pkw-rv-sub-val {
  font-family: 'Roboto', sans-serif;
  font-size: 11px;
  font-weight: 700;
  color: #1B4353;
  width: 22px;
  text-align: right;
  flex-shrink: 0;
}

/* Feedback quote */
.pkw-rv-feedback {
  margin: 0 24px 14px;
  padding: 12px 16px;
  background: #F4FAFE;
  border-left: 3px solid #3CB54B;
  border-radius: 0 8px 8px 0;
  font-family: 'Roboto', sans-serif;
  font-size: 13px;
  color: #1B4353;
  line-height: 1.6;
  font-style: italic;
  position: relative;
}
.pkw-rv-quote-icon {
  color: #3CB54B;
  font-size: 11px;
  margin-right: 6px;
  opacity: 0.7;
  vertical-align: middle;
}

/* Date footer */
.pkw-rv-date {
  padding: 0 24px 16px;
  font-family: 'Roboto', sans-serif;
  font-size: 11px;
  color: rgba(27,67,83,0.45);
}

/* Responsive */
@media (max-width: 575.98px) {
  .pkw-rv-sub-scores   { grid-template-columns: 1fr; }
  .pkw-rv-card-head    { padding: 14px 16px 12px; }
  .pkw-rv-sub-scores   { padding: 12px 16px 10px; }
  .pkw-rv-feedback     { margin: 0 16px 12px; }
  .pkw-rv-date         { padding: 0 16px 14px; }
}

/* ═══════════════════════════════════════════════════════════════
   P7-T7  Rewards / Loyalty Page  (pkw-rw-*)
   Redesigned: lighter hero, horizontal tier grid, earn cards,
   history rows
   ═══════════════════════════════════════════════════════════════ */

/* ── Hero ─────────────────────────────────────────────────── */
.pkw-rw-hero {
  display: flex;
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 2px 16px rgba(27,67,83,0.08);
}

.pkw-rw-hero-left {
  flex: 0 0 220px;
  background: linear-gradient(160deg, #1B4353 0%, #256278 100%);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
}

.pkw-rw-hero-icon {
  font-size: 32px;
  color: #F59E0B;
  margin-bottom: 12px;
}

.pkw-rw-hero-pts-label {
  font-family: 'Roboto', sans-serif;
  font-size: 11px;
  font-weight: 600;
  color: rgba(255,255,255,0.55);
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

.pkw-rw-hero-pts-num {
  font-size: 60px;
  color: #fff;
  line-height: 1;
  letter-spacing: 1px;
  margin: 4px 0 2px;
}

.pkw-rw-hero-pts-sub {
  font-family: 'Roboto', sans-serif;
  font-size: 11px;
  color: rgba(255,255,255,0.45);
}

.pkw-rw-hero-divider {
  width: 1px;
  background: #EAF3F5;
  flex-shrink: 0;
}

.pkw-rw-hero-right {
  flex: 1;
  padding: 28px 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
}

.pkw-rw-hero-tier-label {
  font-family: 'Roboto', sans-serif;
  font-size: 11px;
  font-weight: 600;
  color: rgba(27,67,83,0.45);
  text-transform: uppercase;
  letter-spacing: 0.7px;
}

.pkw-rw-hero-tier-badge {
  font-family: 'Roboto', sans-serif;
  font-size: 22px;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 10px;
  line-height: 1;
}

.pkw-rw-hero-tier-badge i {
  font-size: 20px;
}

.pkw-rw-hero-progress-track {
  height: 8px;
  background: #EAF3F5;
  border-radius: 4px;
  overflow: hidden;
  width: 100%;
}

.pkw-rw-hero-progress-fill {
  height: 100%;
  border-radius: 4px;
  transition: width 0.7s ease;
}

.pkw-rw-hero-progress-meta {
  display: flex;
  justify-content: space-between;
  font-family: 'Roboto', sans-serif;
  font-size: 11px;
  color: rgba(27,67,83,0.45);
}

.pkw-rw-hero-max {
  font-family: 'Roboto', sans-serif;
  font-size: 13px;
  color: #3CB54B;
  font-weight: 600;
}

.pkw-rw-hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 4px;
  padding: 8px 20px;
  background: #3CB54B;
  color: #fff;
  border-radius: 8px;
  font-family: 'Roboto', sans-serif;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  width: fit-content;
  transition: background 0.14s;
}

.pkw-rw-hero-cta:hover {
  background: #2ea040;
  color: #fff;
  text-decoration: none;
}

/* ── Tier grid (3 cards in a row — LY-FIX-1 2026-06-08, was 4) ── */
.pkw-rw-tier-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.pkw-rw-tier-card {
  background: #fff;
  border-radius: 12px;
  border: 1px solid #e8ecef;
  border-top: 3px solid #e8ecef;
  padding: 18px 16px 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  text-align: center;
  transition: box-shadow 0.14s;
}

.pkw-rw-tier-card-active {
  box-shadow: 0 4px 20px rgba(27,67,83,0.10);
  border-color: transparent;
  border-top-width: 3px;
}

.pkw-rw-tier-card-future {
  background: #fafbfc;
}

.pkw-rw-tc-icon {
  font-size: 26px;
  margin-bottom: 6px;
}

.pkw-rw-tc-name {
  font-family: 'Roboto', sans-serif;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.3px;
}

.pkw-rw-tc-range {
  font-family: 'Roboto', sans-serif;
  font-size: 11px;
  color: rgba(27,67,83,0.45);
  margin-top: 2px;
}

.pkw-rw-tc-pill {
  margin-top: 8px;
  font-family: 'Roboto', sans-serif;
  font-size: 10px;
  font-weight: 700;
  background: #EBF9ED;
  color: #3CB54B;
  border-radius: 20px;
  padding: 3px 10px;
}

.pkw-rw-tc-pill-done {
  background: #EAF3F5;
  color: #1B4353;
}

.pkw-rw-tc-pill-locked {
  background: #f0f2f4;
  color: rgba(27,67,83,0.35);
}

/* ── Section header ───────────────────────────────────────── */
.pkw-rw-section-header {
  padding: 16px 24px;
  border-bottom: 1px solid #EAF3F5;
  font-family: 'Roboto', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: #1B4353;
  display: flex;
  align-items: center;
  gap: 8px;
}

.pkw-rw-section-header i {
  color: #3CB54B;
}

/* ── How to earn (3 horizontal cards) ────────────────────── */
.pkw-rw-earn-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: #EAF3F5;
}

.pkw-rw-earn-card {
  background: #fff;
  padding: 20px 20px 18px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
}

.pkw-rw-earn-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  margin-bottom: 8px;
}

.pkw-rw-earn-pts {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 22px;
  color: #3CB54B;
  line-height: 1;
}

.pkw-rw-earn-title {
  font-family: 'Roboto', sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: #1B4353;
  margin-top: 2px;
}

.pkw-rw-earn-desc {
  font-family: 'Roboto', sans-serif;
  font-size: 12px;
  color: rgba(27,67,83,0.55);
  line-height: 1.5;
}

/* ── Points history rows ──────────────────────────────────── */
.pkw-rw-history-list {
  /* rows stack vertically */
}

.pkw-rw-history-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 24px;
  border-bottom: 1px solid #f0f3f6;
  transition: background 0.1s;
}

.pkw-rw-history-row:last-child {
  border-bottom: none;
}

.pkw-rw-history-row:hover {
  background: #f8fbfd;
}

.pkw-rw-history-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: #EAF3F5;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #1B4353;
  font-size: 14px;
  flex-shrink: 0;
}

.pkw-rw-history-info {
  flex: 1;
  min-width: 0;
}

.pkw-rw-history-hotel {
  font-family: 'Roboto', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: #1B4353;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.pkw-rw-history-date {
  font-family: 'Roboto', sans-serif;
  font-size: 11px;
  color: rgba(27,67,83,0.45);
  margin-top: 2px;
}

.pkw-rw-history-pts {
  font-family: 'Roboto', sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: #3CB54B;
  background: #EBF9ED;
  border-radius: 20px;
  padding: 4px 12px;
  white-space: nowrap;
  flex-shrink: 0;
}

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 767.98px) {
  .pkw-rw-hero          { flex-direction: column; }
  .pkw-rw-hero-left     { flex: none; width: 100%; padding: 24px 20px; flex-direction: row; align-items: center; gap: 20px; }
  .pkw-rw-hero-icon     { font-size: 28px; margin-bottom: 0; }
  .pkw-rw-hero-pts-num  { font-size: 44px; }
  .pkw-rw-hero-divider  { width: 100%; height: 1px; }
  .pkw-rw-hero-right    { padding: 20px; }
  .pkw-rw-tier-grid     { grid-template-columns: repeat(2, 1fr); }
  .pkw-rw-earn-row      { grid-template-columns: 1fr; }
}

@media (max-width: 575.98px) {
  .pkw-rw-section-header { padding: 14px 16px; }
  .pkw-rw-history-row    { padding: 12px 16px; }
}

/* ═══════════════════════════════════════════════════════════════
   P7-T8  Favourites / Saved Hotels  (pkw-fav-*)
   ═══════════════════════════════════════════════════════════════ */

.pkw-fav-card {
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 2px 12px rgba(27,67,83,0.08);
  transition: box-shadow 0.2s, transform 0.2s;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.pkw-fav-card:hover {
  box-shadow: 0 6px 24px rgba(27,67,83,0.13);
  transform: translateY(-2px);
}

/* Image */
.pkw-fav-img-wrap {
  position: relative;
  width: 100%;
  height: 180px;
  overflow: hidden;
  flex-shrink: 0;
}
.pkw-fav-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Heart / remove overlay button */
.pkw-fav-remove-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 34px;
  height: 34px;
  background: rgba(233,59,101,0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 14px;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s;
}
.pkw-fav-remove-btn:hover {
  background: #c82347;
  transform: scale(1.1);
  color: #fff;
  text-decoration: none;
}

/* Card body */
.pkw-fav-card-body {
  padding: 16px 18px 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}

/* Stars */
.pkw-fav-stars {
  display: flex;
  align-items: center;
  gap: 3px;
}
.pkw-fav-star-label {
  font-family: 'Roboto', sans-serif;
  font-size: 10px;
  color: rgba(27,67,83,0.5);
  margin-left: 4px;
}

/* Hotel name */
.pkw-fav-hotel-name {
  font-family: 'Roboto', sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: #1B4353;
  line-height: 1.3;
}

/* Location */
.pkw-fav-location {
  font-family: 'Roboto', sans-serif;
  font-size: 12px;
  color: rgba(27,67,83,0.6);
  line-height: 1.4;
}

/* Action buttons */
.pkw-fav-actions {
  display: flex;
  gap: 8px;
  margin-top: auto;
  padding-top: 10px;
  flex-wrap: wrap;
}
.pkw-fav-view-btn {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 14px;
  background: #3CB54B;
  color: #fff;
  border-radius: 8px;
  font-family: 'Roboto', sans-serif;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s;
  white-space: nowrap;
}
.pkw-fav-view-btn:hover {
  background: #2fa040;
  color: #fff;
  text-decoration: none;
}
.pkw-fav-unsave-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  background: #FEF0F3;
  color: #E93B65;
  border-radius: 8px;
  font-family: 'Roboto', sans-serif;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s;
  white-space: nowrap;
}
.pkw-fav-unsave-btn:hover {
  background: #fde0e7;
  color: #E93B65;
  text-decoration: none;
}

/* Responsive */
@media (max-width: 575.98px) {
  .pkw-fav-img-wrap { height: 160px; }
  .pkw-fav-card-body { padding: 14px 14px 16px; }
}

/* ═══════════════════════════════════════════════════════════════
   P7-T9  Booking Invoice  (pkw-inv-*)
   ═══════════════════════════════════════════════════════════════ */

.pkw-inv-print-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 20px;
  background: #1B4353;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-family: 'Roboto', sans-serif;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}
.pkw-inv-print-btn:hover { background: #163545; }

/* Invoice sheet */
.pkw-inv-sheet {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(27,67,83,0.10);
  padding: 40px 48px;
  max-width: 800px;
  margin: 0 auto 40px;
}

/* Header */
.pkw-inv-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 24px;
}
.pkw-inv-brand-name {
  font-family: 'Roboto', sans-serif;
  font-size: 26px;
  font-weight: 900;
  color: #1B4353;
  letter-spacing: 2px;
}
.pkw-inv-brand-tagline {
  font-family: 'Roboto', sans-serif;
  font-size: 11px;
  color: rgba(27,67,83,0.5);
  margin-top: 3px;
}
.pkw-inv-meta { text-align: right; }
.pkw-inv-label {
  font-family: 'Roboto', sans-serif;
  font-size: 11px;
  font-weight: 700;
  color: rgba(27,67,83,0.5);
  letter-spacing: 1.5px;
  text-transform: uppercase;
}
.pkw-inv-no {
  font-family: 'Roboto', sans-serif;
  font-size: 22px;
  font-weight: 800;
  color: #1B4353;
}
.pkw-inv-date {
  font-family: 'Roboto', sans-serif;
  font-size: 12px;
  color: rgba(27,67,83,0.55);
  margin-top: 2px;
}

.pkw-inv-rule {
  height: 3px;
  background: linear-gradient(90deg, #1B4353 0%, #3CB54B 100%);
  border-radius: 2px;
  margin-bottom: 28px;
}

/* Bill-to / Hotel parties */
.pkw-inv-parties {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}
.pkw-inv-party { flex: 1; min-width: 160px; }
.pkw-inv-party-right { text-align: right; }
.pkw-inv-party-label {
  font-family: 'Roboto', sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: rgba(27,67,83,0.45);
  margin-bottom: 6px;
}
.pkw-inv-party-name {
  font-family: 'Roboto', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: #1B4353;
}
.pkw-inv-party-detail {
  font-family: 'Roboto', sans-serif;
  font-size: 12px;
  color: rgba(27,67,83,0.6);
  margin-top: 2px;
}

/* Line-items table */
.pkw-inv-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 0;
}
.pkw-inv-table thead th {
  background: #F4FAFE;
  padding: 10px 14px;
  font-family: 'Roboto', sans-serif;
  font-size: 11px;
  font-weight: 700;
  color: #1B4353;
  letter-spacing: 0.3px;
  border-bottom: 2px solid #EAF3F5;
}
.pkw-inv-table thead th:first-child { border-radius: 8px 0 0 0; }
.pkw-inv-table thead th:last-child  { border-radius: 0 8px 0 0; }
.pkw-inv-table tbody td {
  padding: 14px;
  font-family: 'Roboto', sans-serif;
  font-size: 13px;
  color: #1B4353;
  border-bottom: 1px solid #EAF3F5;
  vertical-align: top;
}
.pkw-inv-item-title {
  font-weight: 600;
  font-size: 13px;
  color: #1B4353;
}
.pkw-inv-item-sub {
  font-size: 11px;
  color: rgba(27,67,83,0.55);
  margin-top: 3px;
}
.pkw-inv-total-row td {
  padding: 14px;
  font-family: 'Roboto', sans-serif;
  font-size: 15px;
  font-weight: 800;
  color: #1B4353;
  border-top: 2px solid #1B4353;
  border-bottom: none;
  background: #F4FAFE;
}

/* Footer strip */
.pkw-inv-footer-strip {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  margin-top: 24px;
  padding: 16px 20px;
  background: #F4FAFE;
  border-radius: 10px;
  flex-wrap: wrap;
}
.pkw-inv-footer-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.pkw-inv-footer-label {
  font-family: 'Roboto', sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: rgba(27,67,83,0.45);
}
.pkw-inv-footer-val {
  font-family: 'Roboto', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: #1B4353;
}
.pkw-inv-status-badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 20px;
  font-family: 'Roboto', sans-serif;
  font-size: 11px;
  font-weight: 700;
}

/* Legal note */
.pkw-inv-legal {
  margin-top: 24px;
  font-family: 'Roboto', sans-serif;
  font-size: 10px;
  color: rgba(27,67,83,0.4);
  text-align: center;
  line-height: 1.6;
}

/* Responsive */
@media (max-width: 575.98px) {
  .pkw-inv-sheet    { padding: 24px 20px; }
  .pkw-inv-parties  { flex-direction: column; }
  .pkw-inv-party-right { text-align: left; }
  .pkw-inv-footer-strip { flex-direction: column; }
}

/* ═══════════════════════════════════════════════════════════════
   P7-T10  Print overrides — extracted from blade files
   !important is legitimate here: @media print requires it to
   override all other stylesheets when the user prints / saves PDF.
   ═══════════════════════════════════════════════════════════════ */

/* Booking Detail print layout */
@media print {
  .pkw-dash-wrap, .v2-header, .v2-footer, .pkw-bd-actions,
  .pkw-dash-card-title a, nav, header, footer { display: none !important; }
  .pkw-bd-print-area { display: block !important; }
}

/* Booking Invoice print layout */
@media print {
  .pkw-inv-no-print   { display: none !important; }
  .pkw-inv-sheet      { box-shadow: none !important; border: none !important; }
  .pkw-dash-wrap      { padding: 0 !important; }
  body                { background: #fff !important; }
}

/* ═══════════════════════════════════════════════════════════════
   P7-T12  Inbox Page  (pkw-inbox-*)
   ═══════════════════════════════════════════════════════════════ */

.pkw-inbox-row {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 24px;
  border-bottom: 1px solid #f0f4f7;
  transition: background 0.13s;
  cursor: default;
}
.pkw-inbox-row:last-child { border-bottom: none; }
.pkw-inbox-row:hover { background: #f9fbfd; }

.pkw-inbox-unread { background: #f4fefe; }
.pkw-inbox-unread:hover { background: #eaf7f8; }

.pkw-inbox-icon-wrap { flex-shrink: 0; }

.pkw-inbox-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: #f0f4f7;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: rgba(27,67,83,0.4);
}
.pkw-inbox-icon.active {
  background: #e8f7fa;
  color: #1B4353;
}

.pkw-inbox-body {
  flex: 1;
  min-width: 0;
}
.pkw-inbox-subject {
  font-family: 'Roboto', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: #1B4353;
  margin-bottom: 3px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.pkw-inbox-unread .pkw-inbox-subject { font-weight: 700; }

.pkw-inbox-preview {
  font-family: 'Roboto', sans-serif;
  font-size: 12px;
  color: rgba(27,67,83,0.55);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.pkw-inbox-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 5px;
  flex-shrink: 0;
}
.pkw-inbox-date {
  font-family: 'Roboto', sans-serif;
  font-size: 11px;
  color: rgba(27,67,83,0.4);
  white-space: nowrap;
}
.pkw-inbox-new-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #3CB54B;
  color: #fff;
  font-family: 'Roboto', sans-serif;
  font-size: 10px;
  font-weight: 700;
  border-radius: 20px;
  padding: 2px 8px;
}

@media (max-width: 575.98px) {
  .pkw-inbox-row { padding: 14px 16px; gap: 12px; }
  .pkw-inbox-icon { width: 34px; height: 34px; font-size: 14px; }
}
