.ev-daily-bookings{
  padding:18px;
  color:#10223b;
  font-family:Arial,sans-serif;
}
.ev-db-toolbar{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:12px;
  flex-wrap:wrap;
  margin-bottom:16px;
}
.ev-db-title{
  font-size:22px;
  font-weight:800;
}
.ev-db-btn{
  border:0;
  border-radius:10px;
  padding:11px 16px;
  cursor:pointer;
  font-weight:700;
  background:#b89545;
  color:#fff;
}
.ev-db-btn.secondary{
  background:#e9eef5;
  color:#10223b;
}
.ev-db-btn.danger{
  background:#a93434;
}
.ev-db-summary{
  display:grid;
  grid-template-columns:repeat(4,minmax(140px,1fr));
  gap:12px;
  margin-bottom:18px;
}
.ev-db-card{
  background:#fff;
  border:1px solid #dce3ec;
  border-radius:14px;
  padding:14px;
}
.ev-db-card span{
  display:block;
  font-size:12px;
  color:#6d7787;
}
.ev-db-card b{
  display:block;
  margin-top:6px;
  font-size:20px;
}
.ev-db-table-wrap{
  overflow:auto;
  background:#fff;
  border:1px solid #dce3ec;
  border-radius:14px;
}
.ev-db-table{
  width:100%;
  min-width:1100px;
  border-collapse:collapse;
}
.ev-db-table th,
.ev-db-table td{
  padding:11px;
  border-bottom:1px solid #edf1f5;
  text-align:left;
  white-space:nowrap;
}
.ev-db-table th{
  background:#10223b;
  color:#fff;
  font-size:12px;
}
.ev-db-empty{
  padding:40px;
  text-align:center;
  color:#758093;
}
.ev-db-modal{
  position:fixed;
  inset:0;
  z-index:1000005;
  background:rgba(4,14,28,.78);
  display:flex;
  align-items:flex-start;
  justify-content:center;
  overflow:auto;
  padding:25px 12px;
}
.ev-db-modal-box{
  width:min(1100px,96vw);
  background:#f4f7fb;
  border-radius:18px;
  padding:18px;
}
.ev-db-modal-head{
  display:flex;
  justify-content:space-between;
  align-items:center;
  margin-bottom:15px;
}
.ev-db-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(180px,1fr));
  gap:12px;
}
.ev-db-field{
  display:flex;
  flex-direction:column;
  gap:6px;
}
.ev-db-field.full{
  grid-column:1/-1;
}
.ev-db-field label{
  font-size:12px;
  font-weight:800;
  color:#45536a;
}
.ev-db-field input,
.ev-db-field select,
.ev-db-field textarea{
  width:100%;
  box-sizing:border-box;
  border:1px solid #ccd5e1;
  border-radius:9px;
  padding:10px;
  background:#fff;
}
.ev-db-section{
  background:#fff;
  border:1px solid #dce3ec;
  border-radius:14px;
  padding:14px;
  margin-top:14px;
}
.ev-db-section h3{
  margin:0 0 12px;
}
.ev-db-line{
  display:grid;
  grid-template-columns:1fr 150px 150px 45px;
  gap:8px;
  margin-bottom:8px;
}
.ev-db-payment-line{
  display:grid;
  grid-template-columns:140px 150px 170px 1fr 45px;
  gap:8px;
  margin-bottom:8px;
}
.ev-db-line input,
.ev-db-line select,
.ev-db-payment-line input,
.ev-db-payment-line select{
  border:1px solid #ccd5e1;
  border-radius:8px;
  padding:9px;
  min-width:0;
}
.ev-db-totals{
  margin-left:auto;
  width:min(430px,100%);
}
.ev-db-total-row{
  display:flex;
  justify-content:space-between;
  gap:15px;
  padding:7px 0;
  border-bottom:1px dashed #d6dce5;
}
.ev-db-total-row.final{
  font-size:18px;
  font-weight:900;
  color:#9a7527;
}
.ev-db-actions{
  display:flex;
  justify-content:flex-end;
  flex-wrap:wrap;
  gap:9px;
  margin-top:16px;
}
.ev-db-receipt{
  background:#fff;
  width:min(760px,100%);
  margin:auto;
  padding:32px;
  box-sizing:border-box;
  border:1px solid #d8dee8;
}
.ev-db-receipt-logo{
  text-align:center;
  margin-bottom:10px;
}
.ev-db-receipt-logo img{
  max-width:190px;
  max-height:90px;
}
.ev-db-brand-fallback{
  font-size:26px;
  font-weight:900;
  color:#10223b;
}
.ev-db-receipt h1{
  text-align:center;
  margin:8px 0 4px;
  font-size:23px;
}
.ev-db-receipt-sub{
  text-align:center;
  color:#7d6734;
  font-weight:700;
  margin-bottom:20px;
}
.ev-db-gold-line{
  height:3px;
  background:#b89545;
  margin:15px 0;
}
.ev-db-receipt-section{
  margin-top:18px;
}
.ev-db-receipt-section h4{
  margin:0 0 8px;
  color:#9a7527;
}
.ev-db-receipt-row{
  display:flex;
  justify-content:space-between;
  gap:20px;
  padding:7px 0;
  border-bottom:1px solid #edf0f4;
}
.ev-db-receipt-row strong{
  text-align:right;
}
.ev-db-internal{
  background:#fff8e8;
  border:1px solid #d3b56c;
  border-radius:10px;
  padding:12px;
}
@media(max-width:760px){
  .ev-db-summary{grid-template-columns:repeat(2,1fr)}
  .ev-db-grid{grid-template-columns:1fr}
  .ev-db-line,
  .ev-db-payment-line{grid-template-columns:1fr}
  .ev-db-modal-box{padding:12px}
  .ev-db-receipt{padding:18px}
}
@media print{
  body *{visibility:hidden!important}
  .ev-db-receipt,
  .ev-db-receipt *{visibility:visible!important}
  .ev-db-receipt{
    position:absolute;
    left:0;
    top:0;
    width:100%;
    border:0;
  }
  .ev-db-modal-head,
  .ev-db-actions{display:none!important}
}

/* EV DAILY BOOKINGS POLISH V2 */
.ev-db-modal .ev-db-summary,
.ev-db-modal .ev-db-total-summary,
.ev-db-modal .ev-db-summary-box,
.ev-db-modal .ev-db-final-summary{
  border:1px solid #d8c28a;
  border-radius:18px;
  background:#fffdf7;
  box-shadow:0 6px 18px rgba(15,35,55,.06);
}
.ev-db-polished-summary{
  margin-top:14px;
  border:1px solid #d8c28a;
  border-radius:18px;
  background:#fffdf7;
  padding:18px 20px;
}
.ev-db-polished-summary .ev-db-ps-head{
  font-size:15px;
  font-weight:800;
  color:#b58722;
  margin-bottom:10px;
}
.ev-db-polished-summary .ev-db-ps-row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  padding:9px 0;
  border-bottom:1px dashed #ddd6c1;
}
.ev-db-polished-summary .ev-db-ps-row:last-child{
  border-bottom:0;
}
.ev-db-polished-summary .ev-db-ps-label{
  color:#17314e;
  font-size:14px;
}
.ev-db-polished-summary .ev-db-ps-value{
  color:#0f2740;
  font-weight:800;
  font-size:15px;
}
.ev-db-polished-summary .ev-db-ps-row.is-final .ev-db-ps-label,
.ev-db-polished-summary .ev-db-ps-row.is-final .ev-db-ps-value{
  color:#b58722;
  font-size:18px;
  font-weight:900;
}
.ev-db-polished-summary .ev-db-ps-row.is-status .ev-db-ps-value{
  font-size:16px;
  font-weight:900;
}
.ev-db-polished-summary .ev-db-ps-row.is-commission .ev-db-ps-value{
  color:#0f2740;
  font-size:16px;
  font-weight:900;
}

/* logo x3 */
.ev-db-receipt img,
.ev-db-receipt-preview img,
.ev-db-receipt-logo img,
.ev-db-receipt-header img{
  max-width:360px !important;
  width:360px !important;
  height:auto !important;
}
