/* ===== Restaurant Template 1: Force small thermal font ===== */
.restaurant-bill-preview.template1,
.restaurant-bill-preview.template1 * {
    font-family: "Press Start 2P", serif !important;
    font-size: 8.5px !important;
    line-height: 1.6 !important;
    letter-spacing: 0.2px !important;
}

/* =====================================================
   RESTAURANT TEMPLATE 2 – ONLY DOTTED LINES (NO BOX)
===================================================== */

/* Remove all solid borders */
.restaurant-bill-preview.template2 table,
.restaurant-bill-preview.template2 table td,
.restaurant-bill-preview.template2 table th {
    border: none !important;
}

/* Receipt header table – dotted bottom line only */
.restaurant-bill-preview.template2 .restaurant-receipt-table td {
    border-bottom: 1px dashed #999 !important;
    padding: 6px 0 !important;
}

/* Items table – dotted row separators */
.restaurant-bill-preview.template2 .items-table tr {
    border-bottom: 1px dashed #999 !important;
}

.restaurant-bill-preview.template2 .items-table td {
    padding: 6px 0 !important;
}

/* Totals section – dotted top & bottom only */
.restaurant-bill-preview.template2 .restaurant-total-table .border-tb td {
    border-top: 1px dashed #999 !important;
    border-bottom: 1px dashed #999 !important;
    padding: 8px 0 !important;
}

/* Remove accidental vertical borders */
.restaurant-bill-preview.template2 td {
    border-left: none !important;
    border-right: none !important;
}

/* =========================================
   INVOICE HEADER + SPACING (SAFE VERSION)
========================================= */

/* INVOICE title font size */
.invoice-heading-input {
    font-size: 52px !important;
    padding: 6px 10px !important;
    margin-bottom: 10px !important;
    border: 1px solid #ccc !important;   /* keep visible */
}

/* Reduce spacing inside right-side table */
.invoice-form table td {
    padding: 4px 6px !important;
    border: none !important;             /* force no table border */
}

/* Reduce vertical gap between rows */
.invoice-form table tr {
    line-height: 1.2 !important;
    border: none !important;
}

/* Compact input boxes but keep border */
.invoice-form .invoice-input,
.invoice-form .heading-input {
    padding: 5px 8px !important;
    height: auto !important;
	font-size: 15px !important;
    border: 1px solid #ccc !important;
    background: #fff !important;
}

/* Remove table borders completely (Bootstrap killer) */
.invoice-form table,
.invoice-form .table,
.invoice-form .table-bordered,
.invoice-form .table-bordered td,
.invoice-form .table-bordered th {
    border: none !important;
    border-collapse: collapse !important;
}

/* Reduce vertical space between rows */
.invoice-form .row {
    margin-bottom: 6px !important;
}


/* =========================================
   HOTEL BILL LIVE PREVIEW – ULTRA TIGHT HEADER
========================================= */

/* 1?? ALL parents se left space remove */
.medical-template-bar,
.medical-template-bar .live-preview-box,
.hotel-bill-preview,
.hotel-bill-preview .bill-header {
    padding-left: 0 !important;
    margin-left: 0 !important;
}

/* 2?? Logo: no broken image, no space */
.hotel-bill-preview #pv_hotel_logo {
    display: none !important;      /* default hidden */
    margin: 0 !important;
    padding: 0 !important;
}

/* sirf jab real image ho tab show */
.hotel-bill-preview #pv_hotel_logo[src]:not([src=""]) {
    display: block !important;
    margin: 0 !important;          /* ZERO gap */
}

/* 3?? Hotel name bilkul chipka hua */
.hotel-bill-preview #pv_hotel_name {
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1 !important;
}

/* 4?? Address bilkul close */
.hotel-bill-preview #pv_hotel_address {
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1 !important;
}

/* 5?? GST bhi chipka hua */
.hotel-bill-preview #pv_gst_section {
    margin: 0 !important;
    padding: 0 !important;
}

/* =========================================
   PRICING PAGE – 6 PLANS FIX (EQUAL + RESPONSIVE)
========================================= */

/* 1) Desktop table borders remove */
table.pricing-list,
table.pricing-list td,
table.pricing-list th {
    border: none !important;
}

/* 2) Table layout stable (6 columns ke liye) */
table.pricing-list {
    width: 100% !important;
    table-layout: fixed !important;
}

/* 3) Aapne td me width="20%" hardcoded diya hai — 6 plans me galat hota hai.
      CSS se is width ko override kar do */
table.pricing-list td[width="20%"]{
    width: auto !important;
}

/* =========================================
   TOP PLAN CARDS (Mobile-show row) – FLEX GRID
========================================= */

/* Row ko flex banao taaki 6 cards equal ban jaye */
.pricing-list.mobile-show .row{
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 12px !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

/* Spacer column (col-lg-6) ko hide karo — yahi 6th box ko tod raha hai */
.pricing-list.mobile-show .row > .col-lg-6.col-md-5.col-sm-5{
    display: none !important;
}

/* Har plan column ko flex item banao */
.pricing-list.mobile-show .row > .col-lg-2.col-md-3.col-sm-6.col-xs-12{
    flex: 0 0 calc(16.666% - 12px) !important; /* 6 per row on large */
    max-width: calc(16.666% - 12px) !important;
}

/* Responsive breakpoints */
@media (max-width: 1199px){
    .pricing-list.mobile-show .row > .col-lg-2.col-md-3.col-sm-6.col-xs-12{
        flex: 0 0 calc(33.333% - 12px) !important; /* 3 per row */
        max-width: calc(33.333% - 12px) !important;
    }
}
@media (max-width: 767px){
    .pricing-list.mobile-show .row > .col-lg-2.col-md-3.col-sm-6.col-xs-12{
        flex: 0 0 calc(50% - 12px) !important; /* 2 per row */
        max-width: calc(50% - 12px) !important;
    }
}
@media (max-width: 480px){
    .pricing-list.mobile-show .row > .col-lg-2.col-md-3.col-sm-6.col-xs-12{
        flex: 0 0 100% !important; /* 1 per row */
        max-width: 100% !important;
    }
}

/* 4) Card height equal + button bottom sticky */
.plan-heading-bar{
    height: 100% !important;
    display: flex !important;
    flex-direction: column !important;
}
.plan-heading-bar .pbtn{
    margin-top: auto !important; /* button always bottom */
}

/* 5) Unwanted outline/border lines remove (if any) */
.plan-heading-bar{
    box-shadow: none !important;
    outline: none !important;
}

.bill-table thead th{
    color: #fff !important;
}

.guest-meta{
  align-items:center;
}

.meta-name{
  flex:1;
  min-width:0;              /* name ko shrink allow */
}

.meta-field{
  display:flex;
  gap:4px;
  align-items:baseline;
  white-space:nowrap;       /* Gender/Age wrap nahi hoga */
}

/* Optional: agar Guest Name lamba ho to clean ellipsis */
.meta-name #pv_guest_name{
  display:inline-block;
  max-width:100%;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  vertical-align:bottom;
}


.gst-radio-inline{
    display:flex;
    align-items:center;
    gap:22px;
}

.gst-option{
    display:flex;
    align-items:center;
    gap:6px;
    margin:0;
    font-weight:normal;
    cursor:pointer;
}

.gst-option input[type="radio"]{
    margin:0;
    position:relative;
    top:1px;   /* text ke baseline se perfect match */
}
