body {
      height: 100%;
      overflow: hidden;
      background-color: #f2edae89;
    }

    .navbar {
      position: sticky;
      top: 0;
      background-color: #EFCA6C;
      height: 5rem;
      display: flex;
      align-items: center;
      justify-content: space-between;
      z-index: 1;
    }

    .lomihub-navbar-text {
      font-family: 'Lilita One', cursive;
      color: #1c1c1c;
      font-size: 2rem;
      font-weight: normal;
      letter-spacing: 2px;  
      margin-bottom: 5.8px;
    }

    .navbar-brand {
      display: flex;
      align-items: flex-end; /* or center, or baseline for different effects */
    }

    /* Move logo further left */
    .navbar-brand .logo {
      margin-right: 0 !important;
      height: 53px;
      border-radius: 53px;
      margin-left: -70px; /* Reduced from 30px to move logo left more */
    }

    .navbar-nav.ms-auto {
      margin-left: auto !important;
      padding-right: 10px; 
      /* font-family: 'Times New Roman', Times, serif; */
      font-size: 19px;
    }
    .navbar-nav .nav-link {
      font-family: 'Alfa Slab One', cursive;
      font-weight: 500;
      margin-right: 1.5rem;
    }

      /* .navbar-nav .nav-link.active {
        text-decoration: underline;
      } */

    .navbar-nav .nav-link:last-child {
      margin-right: 0;
      padding-right: 5px; 
    }

    .icon-circle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 35px;
        height: 35px;
        border-radius: 50%;
        background: #f0f0f0;
        transition: background 0.2s, box-shadow 0.2s;
        margin: 0 4px;
        cursor: pointer;
    }
    .icon-circle:hover {
        background: #F7DE5E;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    }


    /* Responsive Styles */
    @media (max-width: 768px) {
      .navbar-nav {
        flex-direction: column;
      }
      .navbar-nav .nav-link {
        margin-right: 0;
        margin-bottom: 0.5rem;
        justify-content: center;
      }
      .logo {
        margin-left: 10px; 
      }
      .navbar-brand .logo{
        margin-left: 0; 
      }
      .lomihub-navbar-text {
        font-size: 1.4rem;
        letter-spacing: 1.5px;
      }
    }

    @media (max-width: 1200px) {
      .navbar-nav {
        flex-direction: row;
        justify-content: center;
      }
      .navbar-nav .nav-link {
        margin-right: 1rem; 
      }
        .navbar-brand .logo{
      margin-left: 0; 
    }
    }

    /* Mobile Side Navbar Styles */
    .mobile-nav-sidebar {
      position: fixed;
      top: 0;
      right: 0; 
      height: 100vh;
      width: 190px;
      background: #EFCA6C;
      box-shadow: -2px 0 8px rgba(0,0,0,0.15); 
      z-index: 1051;
      transform: translateX(100%); 
      transition: transform 0.3s cubic-bezier(.4,0,.2,1);
      padding-top: 1rem;
      overflow-y: auto;
      display: block;
    }
    .mobile-nav-sidebar .mobile-nav-header {
      display: flex;
      justify-content: flex-end;
      padding: 0 1rem 1rem 1rem;
    }
    .mobile-nav-sidebar .close-btn {
      background: none;
      border: none;
      font-size: 2rem;
      color: #333;
      cursor: pointer;
      line-height: 2;
    }
    .mobile-nav-sidebar ul.navbar-nav {
      padding-left: 0;
    }
    .mobile-nav-sidebar .nav-link {
      font-size: 1.1rem;
      color: #000000;
      padding: 0.75rem 1.5rem;
      border-radius: 0.5rem;
      margin-bottom: 0.25rem;
      display: flex;
      align-items: center;
      font-family: 'Times New Roman', Times, serif;
    }
    .mobile-nav-sidebar .nav-link:hover, .mobile-nav-sidebar .nav-link.active {
      background: #F7DE5E;
      color: #111111;
    }
    .mobile-nav-sidebar .icon-circle {
      margin-right: 10px;
    }
    .mobile-nav-sidebar.show {
      transform: translateX(0);
    }
    .mobile-nav-backdrop {
      position: fixed;
      top: 0; left: 0; right: 0; bottom: 0;
      background: rgba(0,0,0,0.25);
      z-index: 1050;
      display: none;
    }
    .mobile-nav-backdrop.show {
      display: block;
    }

    /* Hide Bootstrap collapse on mobile, show on desktop */
    @media (max-width: 991.98px) {
      .navbar-collapse {
        display: none !important;
      }
      .mobile-nav-sidebar {
        display: block;
      }
    }
    @media (min-width: 992px) {
      .mobile-nav-sidebar,
      .mobile-nav-backdrop {
        display: none !important;
      }
    }


    

    .modal-dialog {
      display: flex !important;
      align-items: center;
      justify-content: center;
      min-height: 100vh;
      pointer-events: none;
    }
    .modal-content {
      pointer-events: auto;
      background: #EFCA6C; 
      border-radius: 2rem;
      padding: 2rem;
      max-width: 100vh;
      width: 100%;
      text-align: center;
    }

    /* Modal body text */
    .modal-body {
      font-size: 1.5rem;
      color: #000000;
      margin-bottom: 2rem;
      font-weight: 500;
    }

    /* Modal footer with vertical stacked buttons */
    .modal-footer {
      display: flex;
      flex-direction: column;
      gap: 1rem;
      padding: 0;
      border-top: none;
      align-items: center;
    }

    /* Logout button styling */
    .btn-logout {
      width: 100%;
      padding: 0.75rem 1rem;
      font-size: 1.125rem;
      font-weight: 600;
      color: #514f4f;
      background-color: #f3f4f6;
      border: 2px solid #979797;
      border-radius: 5rem;
      cursor: pointer;
      transition: background-color 0.3s ease, color 0.3s ease;
      text-decoration: none;
      display: inline-block;
      text-align: center;
      user-select: none;
    }
    
    .btn-logout:hover,
    .btn-logout:focus {
      background-color: #e6e2e2;
      color: #111827;
      text-decoration: none;
    }

    /* Cancel button styling */
    .btn-cancel {
      width: 100%;
      padding: 0.75rem 1rem;
      font-size: 1rem;
      font-weight: 600;
      color: #514f4f;
      background: transparent;
      border: 2px solid #979797;
      border-radius: 5rem;
      cursor: pointer;
      transition: background-color 0.3s ease, color 0.3s ease;
      user-select: none;
    }
    .btn-cancel:hover,
    .btn-cancel:focus {
      background-color: #EFCA6C;
      color: #374151;
    }


    @media (max-width: 480px) {
      .modal-content {
        padding: 1.5rem 1rem;
        max-width: 90vw;
      }
      .modal-title {
        font-size: 1.8rem;
      }
      .modal-body {
        font-size: 0.95rem;
        margin-bottom: 2rem;
      }
      .btn-logout {
        font-size: 1rem;
        padding: 0.7rem 1rem;
      }
      .btn-cancel {
        font-size: 0.9rem;
        padding: 0.7rem 1rem;
      }
    }

    @media (min-width: 481px) and (max-width: 768px) {
      .modal-content {
        max-width: 320px;
        padding: 1.75rem 1.5rem;
      }
      .modal-title {
        font-size: 2.1rem;
      }
      .modal-body {
        font-size: 1rem;
        margin-bottom: 2.25rem;
      }
      .btn-logout {
        font-size: 1.05rem;
        padding: 0.75rem 1rem;
      }
      .btn-cancel {
        font-size: 0.95rem;
        padding: 0.75rem 1rem;
      }
    }
 
/* Main */
        .order-title {
        font-size: 2rem;
        font-weight: bold;
        margin: 0;
        white-space: nowrap;
      }

      .tabs {
        display: flex;
        justify-content: center;
        margin-top: 20px;
        border-bottom: 1px solid #ddd;
        gap: 200px;
      }
      .tabs button {
        background: none;
        border: none;
        padding: 12px 20px;
        font-size: 16px;
        cursor: pointer;
      }
      .tabs button.active {
        border-bottom: 3px solid #f9d36c;
        font-weight: bold;
      }
      .tab-content {
        display: none;
        padding: 20px;
        margin: auto;
        max-width: 800px;
      }
      .tab-content.active {
        display: block;
      }


    .table-container {
        max-height: 350px;
        overflow-y: auto;
        border: 1px solid #dee2e6;
        border-radius: 6px;
        background: #fff;
    }

    .tables {
      width: 100%;
      border-radius: 8px;
      padding: 0;                
      max-height: 546px;       
      border-radius: 10px;
      overflow-y: auto;       
      overflow-x: hidden;    
    }

    table {
      width: 100%;
      table-layout: fixed;  
      border-collapse: collapse;
      border-spacing: 0;
    }

    thead th, tbody td {
      word-wrap: break-word; 
      overflow-wrap: break-word;
      padding: 10px;
      font-size: 1rem;
      text-align: center;
    }

    thead tr {
      background-color: #ffd5009a;
      color: rgb(55, 49, 49);
      text-align: left;
      border-radius: 10px;
      position: sticky;  
      top: 0;
      z-index: 2;
    }

    thead th {
      padding: 12px 15px;
      font-weight: 600;
      border: none;
      font-size: 1rem;
      text-align: center;
      background-color: #f7eaab9a; 
    }

    tbody tr {
      background-color: #f7eaab59;
      border-radius: 8px;
    }

    tbody td {
      padding: 12px 15px;
      vertical-align: middle;
      border: none;
      text-align: center;
    }

    .action-btn {
      background: #f9d36c;
      border: none;
      border-radius: 4px;
      padding: 6px 12px;
      cursor: pointer;
      margin: 0 2px;
    }
    .action-btn:hover {
      background: #e6c158;
    }

    .error-message {
      color: red;
      font-size: 0.85rem;
      margin-top: 5px;
    }



    @media screen and (max-width: 768px) {
      thead th {
        font-size: 0.85rem;
      }
      tbody td {
        font-size: 0.85rem;
      }
    }



/* --- VIEW ORDER MODAL STYLES --- */
    #viewOrderModal .modal-content.order-modal {
      max-width: 420px !important;
      padding: 28px 24px 20px 24px;
      border-radius: 14px;
      background: #fff;
      box-shadow: 0 6px 32px rgba(0,0,0,0.12);
      text-align: left;
      border: none;
    }

    #viewOrderModal{
      overflow: visible !important;
    }

    #viewOrderModal .modal-title {
      font-size: 1.25rem;
      font-weight: 700;
      margin-bottom: 18px;
      color: #222;
      letter-spacing: 0.5px;
    }

    #viewOrderModal hr {
      border: none;
      border-top: 1px solid #eee;
      margin: 0 0 18px 0;
    }

    #viewOrderModal table {
      width: 100%;
      border: none;
      margin-bottom: 0;
      background: transparent;
    }

    #viewOrderModal thead, #viewOrderModal tfoot {
      display: none;
    }

    #viewOrderModal tbody tr {
      background: #fff !important;
      border-radius: 6px;
    }

    #viewOrderModal tbody td {
      border: none;
      font-size: 1rem;
      padding: 8px 0;
      color: #222;
      vertical-align: middle;
    }

    #viewOrderModal tbody td:nth-child(1) {
      width: 32px;
      text-align: left;
      font-weight: 500;
      color: #444;
    }

    #viewOrderModal tbody td:nth-child(2) {
      text-align: left;
      font-weight: 400;
      color: #222;
    }

    #viewOrderModal tbody td:nth-child(3) {
      text-align: right;
      font-weight: 500;
      color: #222;
    }

    #viewOrderTotal {
      font-weight: 700;
      font-size: 1.1rem;
      text-align: right;
      margin-top: 18px;
      margin-bottom: 0;
      color: #222;
      letter-spacing: 0.5px;
    }

    #downloadReceiptBtn {
      background: #f7de5e;
      color: #222;
      border: none;
      border-radius: 8px;
      padding: 10px 28px;
      font-size: 1rem;
      font-weight: 500;
      margin-top: 32px;
      float: right;
      box-shadow: 0 2px 8px rgba(0,0,0,0.04);
      transition: background 0.2s, box-shadow 0.2s;
    }

    #downloadReceiptBtn:hover {
      background: #e6c158;
      color: #111;
      box-shadow: 0 4px 16px rgba(0,0,0,0.08);
    }

    /* Responsive for mobile */
@media (max-width: 600px) {
  #viewOrderModal .modal-content.order-modal {
    max-width: 96vw !important;
    padding: 14px 6px 14px 6px;
  }
  #viewOrderModal .modal-title {
    font-size: 1.05rem;
    margin-bottom: 12px;
  }
  #viewOrderModal tbody td {
    font-size: 0.95rem;
    padding: 6px 0;
  }
  #downloadReceiptBtn {
    width: 100%;
    margin-top: 18px;
    float: none;
  }
}

@media (max-width: 480px) {
  .order-title {
    font-size: 1.3rem;
    text-align: center;
  }
  thead th, tbody td {
    font-size: 0.75rem;
    padding: 6px;
  }
  table {
    font-size: 0.8rem;
  }
    .tabs {
    gap: 40px;
  }
  .tabs button {
    font-size: 13px;
    padding: 6px 8px;
  }
}

@media (max-width: 600px) {
  .tracking-steps li {
    font-size: 0.95rem;
    padding-left: 28px;
    margin-bottom: 20px;
  }
  .tracking-steps li::before {
    width: 14px;
    height: 14px;
    left: 5px;
  }
  .tracking-steps li::after {
    left: 10px;
    width: 3px;
    height: 30px;
  }
  #tracking-message {
    font-size: 0.95rem;
    padding: 12px;
  }
    #viewOrderModal tbody td {
    font-size: 0.95rem;
  }
  #trackOrderModal .modal-content.order-modal,
  #viewOrderModal .modal-content.order-modal {
    max-width: 80vw !important;
    padding: 18px 6px 18px 12px;
  }
  .tracking-steps li {
    font-size: 1rem;
    padding-left: 30px;
  }
  #downloadReceiptBtn {
    width: 100%;
    margin-top: 20px;
  }
}

@media (max-width: 768px) {

  .tabs {
    gap: 30px;
    flex-wrap: wrap;
  }
  .tabs button {
    font-size: 14px;
    padding: 8px 12px;
  }
}

.table-responsive {
  max-height: 420px;
  overflow-y: auto;
}
#orderHistoryTable tbody tr {
  height: 60px;
}


#viewOrderModal .modal-content {
  border-radius: 20px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.18);
  background: #fff;
  border: none;
  padding: 0;
}

#viewOrderModal .modal-header {
  border-bottom: none;
  padding-bottom: 0.2rem;
  padding-top: 1.5rem;
  padding-left: 2rem;
  padding-right: 2rem;
  background: transparent;
}

#viewOrderModal .modal-title {
  font-size: 1.7rem;
  font-weight: 700;
  color: #23262a;
  letter-spacing: 1px;
}

#viewOrderModal hr {
  border-top: 2px solid #ffe066;
  margin: 0 2rem 1rem 2rem;
}

#viewOrderModal .modal-body {
  padding: 0 2rem 2rem 2rem;
}

#viewOrderItemsContainer table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0 0.5rem;
  margin-bottom: 1.5rem;
}

#viewOrderItemsContainer th,
#viewOrderItemsContainer td {
  font-size: 1.08rem;
  padding: 0.4rem 0.2rem;
  border: none;
}

#viewOrderItemsContainer th {
  color: #b8860b;
  font-weight: 700;
  background: none;
}

#viewOrderItemsContainer tr {
  background: #fcf7e8;
  border-radius: 8px;
}

#viewOrderModal .d-flex {
  margin-top: 1.2rem;
}

#viewOrderModal .fw-bold.fs-5 {
  font-size: 1.25rem !important;
  color: #b8860b;
}

#viewOrderModal #downloadReceiptBtn {
  background: #ffe066;
  color: #23262a;
  font-weight: 600;
  border-radius: 8px;
  border: none;
  padding: 0.6rem 1.5rem;
  font-size: 1.1rem;
  transition: background 0.2s;
  margin-top: 1.2rem;
}

/* Show only 7 rows in reservation table, scroll body, keep header sticky */
#reservationTable {
  width: 100%;
  border-collapse: collapse;
}

.reservation-table-wrapper {
  max-height: 370px; /* 7 rows x ~53px row height */
  overflow-y: auto;
  border-radius: 12px;
  background: #fffbe6;
}

/* Make header sticky so it doesn't scroll */
#reservationTable thead th {
  position: sticky;
  top: 0;
  background: #f7eaab9a;
  z-index: 2;
}

/* Optional: custom scrollbar */
.reservation-table-wrapper::-webkit-scrollbar {
  width: 8px;
  background: #ffe08a;
}
.reservation-table-wrapper::-webkit-scrollbar-thumb {
  background: #efca6c;
  border-radius: 8px;
}

.orders-table-container {
  max-height: 420px;
  overflow-y: auto;
  display: block;
  border-radius: 18px;
  background: linear-gradient(to bottom, #f7d97c 0px, #f7d97c 40px, #f9f3c6 40px, #f9f3c6 100%);
  scrollbar-width: thin;
  scrollbar-color: #f7d97c #f9f3c6;
}

/* Custom scrollbar for Webkit browsers */
.orders-table-container::-webkit-scrollbar {
  width: 14px;
  background: #f9f3c6;
  border-radius: 18px;
}

.orders-table-container::-webkit-scrollbar-thumb {
  background: linear-gradient(to bottom, #f7d97c 0px, #f7d97c 40px, #f9f3c6 40px, #f9f3c6 100%);
  border-radius: 18px;
  border: 4px solid #f9f3c6;
}

.orders-table-container::-webkit-scrollbar-track {
  background: #f9f3c6;
  border-radius: 18px;
}

@media (max-width: 600px) {
  .orders-table-container {
    background: none;
    padding: 0;
    max-width: 100vw;
    max-height: 78vh;
    overflow-y: auto;
  }
  .orders-table-container table,
  .orders-table-container thead,
  .orders-table-container tbody,
  .orders-table-container th,
  .orders-table-container td,
  .orders-table-container tr {
    display: block;
    width: 100%;
    background: none;
    border: none; 
    box-shadow: none;
  }
  .orders-table-container thead {
    display: none;
  }
  .orders-table-container tbody {
    padding: 0;
  }
  .orders-table-container tr {
    margin-bottom: 18px;
    background: #fffbe6;
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.07);
    padding: 18px 16px 14px 16px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    border: 1px solid #f7d97c;
  }
  .orders-table-container td {
    padding: 0;
    font-size: 1rem;
    border: none;
    width: 100%;
    text-align: left;
    margin-bottom: 8px;
  }
  .orders-table-container td[data-label] {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
  }
  .orders-table-container td[data-label]::before {
    content: attr(data-label);
    font-weight: 600;
    color: #bfa23a;
    min-width: 110px;
    font-size: 0.97rem;
    letter-spacing: 0.2px;
    text-align: left;
    flex-shrink: 0;
  }
  .orders-table-container td[data-label="View Order"] {
    margin-bottom: 0;
    justify-content: flex-end;
  }
  .orders-table-container .btn {
    margin-top: 0;
    width: auto;
    font-size: 1rem;
    border-radius: 8px;
    padding: 8px 24px;
    background: #00cfff;
    color: #222;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    transition: background 0.2s;
    border: none;
  }
  .orders-table-container .btn:hover {
    background: #009ec3;
    color: #fff;
  }
  
}

@media (max-width: 600px) {
  .orders-table-container tr {
    font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
    background: #fffbe6;
    border-radius: 16px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.09);
    border: 1px solid #f7d97c;
    padding: 18px 18px 16px 18px;
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    position: relative;
    transition: box-shadow 0.2s;
  }
  .orders-table-container tr:hover {
    box-shadow: 0 8px 32px rgba(0,0,0,0.13);
    border-color: #f9d36c;
  }
  .orders-table-container td {
    font-family: 'Roboto', Arial, sans-serif;
    font-weight: 400;
    color: #222;
    font-size: 1rem;
    padding: 0;
    border: none;
    width: 100%;
    text-align: left;
    margin-bottom: 0;
  }
  .orders-table-container td[data-label] {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 10px;
  }
  .orders-table-container td[data-label]::before {
    content: attr(data-label);
    font-family: 'Montserrat', Arial, sans-serif;
    font-weight: 700;
    color: #bfa23a;
    min-width: 120px;
    font-size: 1rem;
    letter-spacing: 0.2px;
    text-align: left;
    flex-shrink: 0;
    margin-right: 2px;
  }
  .orders-table-container td[data-label="View Order"] {
    margin-bottom: 0;
    justify-content: flex-end;
    align-items: center;
    margin-top: 14px;
  }
  .orders-table-container .btn {
    font-family: 'Montserrat', Arial, sans-serif;
    font-weight: 600;
    font-size: 1rem;
    width: auto;
    border-radius: 10px;
    padding: 10px 32px;
    background: linear-gradient(90deg, #00cfff 60%, #7beeff 100%);
    color: #222;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    transition: background 0.2s, color 0.2s;
    border: none;
    margin-top: 0;
  }
  .orders-table-container .btn:hover {
    background: linear-gradient(90deg, #009ec3 60%, #00cfff 100%);
    color: #fff;
  }
  .orders-table-container tr::before {
    content: '';
    position: absolute;
    left: 0;
    top: 18px;
    bottom: 18px;
    width: 6px;
    border-radius: 8px;
    background: linear-gradient(180deg, #f7d97c 0%, #f9d36c 100%);
    opacity: 0.7;
  }
}

@media (max-width: 600px) {
  #viewOrderModal .modal-content {
    border-radius: 24px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.13);
    background: linear-gradient(135deg, #fffbe6 80%, #f7d97c 100%);
    border: none;
    padding: 0;
    font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
    max-width: 96vw !important;
  }
  #viewOrderModal .modal-header {
    border-bottom: none;
    padding: 2rem 2rem 0.5rem 2rem;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  #viewOrderModal .modal-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #23262a;
    letter-spacing: 1px;
    font-family: 'Montserrat', Arial, sans-serif;
    margin-bottom: 0;
  }
  #viewOrderModal .btn-close {
    font-size: 1.5rem;
    color: #bfa23a;
    opacity: 0.7;
    transition: color 0.2s;
  }
  #viewOrderModal .btn-close:hover {
    color: #f9d36c;
    opacity: 1;
  }
  #viewOrderModal hr {
    border-top: 2px solid #f7d97c;
    margin: 0 2rem 1rem 2rem;
    opacity: 0.7;
  }
  #viewOrderModal .modal-body {
    padding: 0 2rem 2rem 2rem;
    background: none;
  }
  #viewOrderItemsContainer table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 0.5rem;
    margin-bottom: 1.5rem;
    background: none;
  }
  #viewOrderItemsContainer td {
    font-size: 1.08rem;
    padding: 0.4rem 0.2rem;
    border: none;
    font-family: 'Roboto', Arial, sans-serif;
    color: #23262a;
  }
  #viewOrderItemsContainer td:nth-child(1) {
    width: 18%;
    text-align: left;
    font-weight: 500;
    color: #bfa23a;
  }
  #viewOrderItemsContainer td:nth-child(2) {
    text-align: left;
    font-weight: 500;
    color: #222;
  }
  #viewOrderItemsContainer td:nth-child(3) {
    text-align: right;
    font-weight: 700;
    color: #009ec3;
  }
  #viewOrderTotal {
    font-weight: 700;
    font-size: 1.15rem;
    text-align: right;
    margin-top: 18px;
    margin-bottom: 0;
    color: #bfa23a;
    letter-spacing: 0.5px;
    font-family: 'Montserrat', Arial, sans-serif;
  }
  #downloadReceiptBtn {
    background: linear-gradient(90deg, #ffe066 60%, #f7d97c 100%);
    color: #23262a;
    font-weight: 700;
    border-radius: 12px;
    border: none;
    padding: 0.8rem 0;
    font-size: 1.1rem;
    width: 100%;
    margin-top: 24px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    font-family: 'Montserrat', Arial, sans-serif;
    transition: background 0.2s, color 0.2s;
  }
  #downloadReceiptBtn:hover {
    background: linear-gradient(90deg, #f9d36c 60%, #ffe066 100%);
    color: #222;
  }
}

@media (max-width: 600px) {
  #reservation .reservation-table-wrapper,
  #reservationTable {
    background: none;
    box-shadow: none;
    border-radius: 0;
    max-height: none;
    overflow: visible;
  }
  #reservationTable,
  #reservationTable thead,
  #reservationTable tbody,
  #reservationTable th,
  #reservationTable td,
  #reservationTable tr {
    display: block;
    width: 100%;
    background: none;
    border: none;
    box-shadow: none;
  }
  #reservationTable thead {
    display: none;
  }
  #reservationTable tbody {
    padding: 0;
  }
  #reservationTable tr {
    margin-bottom: 18px;
    background: #fffbe6;
    border-radius: 16px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.09);
    padding: 18px 18px 16px 18px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    border: 1px solid #f7d97c;
    position: relative;
    transition: box-shadow 0.2s;
  }
  #reservationTable tr:hover {
    box-shadow: 0 8px 32px rgba(0,0,0,0.13);
    border-color: #f9d36c;
  }
  #reservationTable td {
    font-family: 'Roboto', Arial, sans-serif;
    font-weight: 400;
    color: #222;
    font-size: 1rem;
    padding: 0;
    border: none;
    width: 100%;
    text-align: left;
    margin-bottom: 0;
  }
  #reservationTable td[data-label] {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 10px;
  }
  #reservationTable td[data-label]::before {
    content: attr(data-label);
    font-family: 'Montserrat', Arial, sans-serif;
    font-weight: 700;
    color: #bfa23a;
    min-width: 120px;
    font-size: 1rem;
    letter-spacing: 0.2px;
    text-align: left;
    flex-shrink: 0;
    margin-right: 2px;
  }
  /* Decorative accent bar on left */
  #reservationTable tr::before {
    content: '';
    position: absolute;
    left: 0;
    top: 18px;
    bottom: 18px;
    width: 6px;
    border-radius: 8px;
    background: linear-gradient(180deg, #f7d97c 0%, #f9d36c 100%);
    opacity: 0.7;
  }
}

@media (max-width: 600px) {
  #reservation {
    max-height: 90vh;
    overflow-y: auto;
    padding-bottom: 24px;
    scroll-behavior: smooth;
  }
  #reservationTable tbody {
    padding-bottom: 32px;
  }
}

@media (max-width: 600px) {
  .view-btn {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    margin-top: 14px;
  }
}

/* Desktop: align button to right under header */
@media (min-width: 601px) {
  .orders-table-container td[data-label="View Order"] {
    text-align: right;
  }
  .orders-table-container .view-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 10px;
  }
}

/* Samsung Galaxy S8+ and similar small screens */
@media (max-width: 400px) {
  .tabs {
    gap: 42px;
    flex-wrap: wrap;
    margin-top: 10px;
  }
  .tabs button {
    font-size: 12px;
    padding: 5px 6px;
  }
  .tab-content {
    padding: 8px;
    max-width: 98vw;
  }
  table,
  thead,
  tbody,
  th,
  td,
  tr {
    font-size: 0.75rem !important;
    padding: 4px !important;
  }
  .orders-table-container tr,
  #reservationTable tr,
  #orderHistoryTable tr {
    margin-bottom: 10px;
    padding: 10px 8px 8px 8px;
    border-radius: 10px;
  }
  .orders-table-container td[data-label]::before,
  #reservationTable td[data-label]::before {
    min-width: 80px;
    font-size: 0.8rem;
  }
  .orders-table-container .btn,
  #downloadReceiptBtn {
    font-size: 0.85rem;
    padding: 6px 12px;
    border-radius: 8px;
  }
  .modal-content {
    padding: 1rem 4px;
    max-width: 98vw;
    border-radius: 14px;
  }
  .modal-title {
    font-size: 1.1rem;
  }
  #viewOrderModal .modal-title {
    font-size: 1.1rem;
  }
  #viewOrderModal .modal-body {
    padding: 0 0.5rem 1rem 0.5rem;
  }
  #viewOrderItemsContainer td {
    font-size: 0.85rem;
    padding: 2px 0;
  }
  #viewOrderTotal {
    font-size: 1rem !important;
    margin-top: 10px;
  }
}
