/* =========================================================
   Photography Studio Booking — Frontend Styles
   Font: 1Plus1 2020 (Google Fonts)
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=1Plus1+2020&display=swap');

:root {
  --pb-black:     #111111;
  --pb-black-lt:  #2a2a2a;
  --pb-primary:   #1a1a2e;
  --pb-accent:    #111111;
  --pb-accent-hv: #333333;
  --pb-pink:      #e91e8c;
  --pb-gray-bg:   #f7f7f9;
  --pb-gray-lt:   #f0f0f4;
  --pb-border:    #e4e4ec;
  --pb-text:      #1a1a1a;
  --pb-muted:     #6b6b7b;
  --pb-white:     #ffffff;
  --pb-radius:    14px;
  --pb-radius-sm: 8px;
  --pb-shadow:    0 2px 20px rgba(26,26,46,.08);
  --pb-shadow-lg: 0 8px 40px rgba(26,26,46,.14);
  --pb-font:      '1Plus1 2020', 'Segoe UI', Arial, sans-serif;
}

/* ── Reset ── */
.pb-wrapper *, .pb-wrapper *::before, .pb-wrapper *::after { box-sizing:border-box; }
.pb-wrapper {
  font-family: var(--pb-font);
  color: var(--pb-text);
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 8px;
  -webkit-font-smoothing: antialiased;
}

/* ── Studio Header ── */
.pb-studio-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--pb-white);
  border-radius: var(--pb-radius);
  padding: 22px 32px;
  margin-bottom: 18px;
  box-shadow: var(--pb-shadow);
  flex-wrap: wrap;
  gap: 14px;
  border: 1px solid var(--pb-border);
}
.pb-studio-info { display: flex; align-items: center; gap: 18px; }
.pb-studio-logo {
  width: 64px; height: 64px;
  border-radius: 12px;
  background: var(--pb-black);
  display: flex; align-items: center; justify-content: center;
  font-size: 26px; font-weight: 900; color: #fff; flex-shrink: 0;
  letter-spacing: -1px;
}
.pb-studio-name {
  margin: 0 0 5px;
  font-size: 20px; font-weight: 700;
  color: var(--pb-primary);
  font-family: var(--pb-font);
}
.pb-studio-address { margin: 0; font-size: 13px; color: var(--pb-muted); }
.pb-studio-links { display: flex; flex-direction: column; gap: 8px; align-items: flex-end; }
.pb-link-btn {
  color: var(--pb-pink); font-size: 13px; font-weight: 600;
  text-decoration: none; display: inline-flex; align-items: center; gap: 6px;
  transition: opacity .15s;
}
.pb-link-btn:hover { opacity: .75; text-decoration: underline; }

/* ── Popup Overlay ── */
.pb-popup {
  position: fixed; inset: 0;
  background: rgba(0,0,0,.55);
  display: flex; align-items: center; justify-content: center;
  z-index: 99999; backdrop-filter: blur(4px);
}
.pb-popup-inner {
  background: var(--pb-white);
  border-radius: var(--pb-radius);
  padding: 36px;
  max-width: 460px; width: 92%;
  position: relative;
  box-shadow: var(--pb-shadow-lg);
}
.pb-popup-inner h3 { margin: 0 0 14px; font-family: var(--pb-font); color: var(--pb-primary); font-size: 18px; }
.pb-popup-inner p  { margin: 0; font-size: 14px; line-height: 1.7; color: var(--pb-muted); }
.pb-popup-close {
  position: absolute; top: 14px; right: 18px;
  background: none; border: none; font-size: 20px;
  cursor: pointer; color: #bbb; line-height: 1; padding: 4px;
  transition: color .15s;
}
.pb-popup-close:hover { color: var(--pb-black); }

/* ── Main Layout ── */
.pb-layout {
  display: grid;
  grid-template-columns: 1fr 306px;
  gap: 18px;
  align-items: start;
}
@media(max-width:840px) { .pb-layout { grid-template-columns: 1fr; } }

/* ── Left Panel ── */
.pb-left-panel {
  background: var(--pb-white);
  border-radius: var(--pb-radius);
  box-shadow: var(--pb-shadow);
  border: 1px solid var(--pb-border);
  overflow: hidden;
}

/* ── Steps Bar ── */
.pb-steps-bar {
  display: flex; align-items: center; gap: 6px;
  padding: 18px 28px;
  border-bottom: 1px solid var(--pb-border);
  background: var(--pb-gray-bg);
  flex-wrap: wrap;
}
.pb-step-item {
  font-size: 13px; font-weight: 700;
  color: var(--pb-muted); cursor: default;
  font-family: var(--pb-font);
  letter-spacing: .02em;
}
.pb-step-item.active { color: var(--pb-black); }
.pb-step-item.done   { color: var(--pb-pink); }
.pb-step-item.done::after { content: ' ✓'; font-size: 11px; }
.pb-step-sep { color: #ccc; font-size: 14px; }

/* ── Category Tabs ── */
.pb-tabs-bar {
  display: flex; align-items: stretch; gap: 0;
  padding: 0 20px;
  border-bottom: 2px solid var(--pb-border);
  overflow-x: auto; flex-wrap: nowrap;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.pb-tabs-bar::-webkit-scrollbar { display: none; }
.pb-tab {
  border: none; background: none;
  padding: 14px 18px;
  font-size: 13px; font-weight: 700;
  color: var(--pb-muted); cursor: pointer;
  border-bottom: 3px solid transparent;
  transition: all .15s; white-space: nowrap;
  margin-bottom: -2px;
  font-family: var(--pb-font);
}
.pb-tab:hover { color: var(--pb-black); }
.pb-tab.active {
  color: var(--pb-black);
  border-bottom-color: var(--pb-black);
}
.pb-tab-search {
  margin-left: auto; flex-shrink: 0;
  background: none; border: none;
  padding: 12px 14px; cursor: pointer;
  font-size: 16px; color: var(--pb-muted);
  transition: color .15s;
}
.pb-tab-search:hover { color: var(--pb-black); }

/* ── Search Bar ── */
.pb-search-bar { padding: 14px 24px; border-bottom: 1px solid var(--pb-border); }
.pb-search-input {
  width: 100%; padding: 11px 16px;
  border: 2px solid var(--pb-border);
  border-radius: var(--pb-radius-sm);
  font-size: 14px; font-family: var(--pb-font);
  outline: none; transition: border .15s;
  background: var(--pb-gray-bg);
}
.pb-search-input:focus { border-color: var(--pb-black); background: #fff; }

/* ── Service Items ── */
.pb-services-list { padding: 4px 0; }
.pb-service-item {
  display: flex; align-items: center; gap: 0;
  padding: 18px 24px;
  border-bottom: 1px solid var(--pb-border);
  transition: background .12s;
  cursor: pointer;
}
.pb-service-item:last-child { border-bottom: none; }
.pb-service-item:hover { background: var(--pb-gray-bg); }
.pb-service-item.selected { background: #f4f4f4; }

.pb-svc-checkbox-wrap { flex-shrink: 0; margin-right: 16px; }
.pb-svc-check {
  width: 20px; height: 20px; cursor: pointer;
  accent-color: var(--pb-black);
}

.pb-svc-body {
  display: flex; align-items: center;
  justify-content: space-between;
  flex: 1; gap: 16px; cursor: pointer;
}
.pb-svc-info { flex: 1; }
.pb-svc-name {
  margin: 0 0 5px;
  font-size: 15px; font-weight: 700;
  color: var(--pb-text);
  font-family: var(--pb-font);
}
.pb-svc-meta { margin: 0 0 4px; font-size: 13px; color: var(--pb-muted); }
.pb-svc-desc { margin: 0; font-size: 12px; color: #b0b0b8; }
.pb-svc-image {
  width: 84px; height: 84px;
  border-radius: 10px; overflow: hidden; flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(0,0,0,.12);
}
.pb-svc-image img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pb-empty { padding: 32px; color: var(--pb-muted); text-align: center; font-size: 14px; }

/* ── Step Panels ── */
.pb-step-panel {}

/* ── Step Heading ── */
.pb-step-heading {
  font-size: 16px; font-weight: 700;
  color: var(--pb-primary);
  margin: 0 0 18px;
  padding: 22px 24px 0;
  font-family: var(--pb-font);
}

/* ── Date/Time Row ── */
.pb-datetime-row {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 16px; padding: 0 24px 16px;
}
@media(max-width:520px) { .pb-datetime-row { grid-template-columns: 1fr; } }

/* ── Form ── */
.pb-form-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 16px; padding: 0 24px 16px;
}
@media(max-width:520px) { .pb-form-grid { grid-template-columns: 1fr; } }
.pb-field-full { grid-column: 1 / -1; }
.pb-field-group { display: flex; flex-direction: column; gap: 6px; }
.pb-label { font-size: 12px; font-weight: 700; color: var(--pb-muted); letter-spacing: .04em; text-transform: uppercase; }
.pb-label .req { color: var(--pb-pink); }
.pb-input {
  padding: 11px 14px;
  border: 2px solid var(--pb-border);
  border-radius: var(--pb-radius-sm);
  font-size: 14px; font-family: var(--pb-font);
  color: var(--pb-text); outline: none; width: 100%;
  transition: border .15s, box-shadow .15s;
  background: var(--pb-gray-bg);
}
.pb-input:focus { border-color: var(--pb-black); background: #fff; box-shadow: 0 0 0 3px rgba(0,0,0,.07); }
.pb-input.pb-input-error { border-color: #e53935 !important; background: #fff8f8; }
.pb-date-error {
  font-size: 12px; color: #e53935; margin-top: 6px; font-weight: 600;
  display: none; padding: 6px 10px; background: #fff1f1; border-radius: 6px;
  border-left: 3px solid #e53935;
}
.pb-textarea { resize: vertical; min-height: 80px; }

/* ── Navigation Buttons ── */
.pb-step-nav {
  display: flex; justify-content: space-between; align-items: center;
  padding: 18px 24px;
  border-top: 1px solid var(--pb-border);
  background: var(--pb-gray-bg);
}
.pb-btn-primary {
  background: var(--pb-black); color: #fff; border: none;
  padding: 14px 30px;
  border-radius: 50px;
  font-size: 14px; font-weight: 700; font-family: var(--pb-font);
  cursor: pointer; transition: background .15s, transform .1s, box-shadow .15s;
  display: inline-flex; align-items: center; gap: 8px;
  letter-spacing: .02em;
  box-shadow: 0 4px 14px rgba(0,0,0,.25);
}
.pb-btn-primary:hover:not(:disabled) {
  background: var(--pb-black-lt);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,.3);
}
.pb-btn-primary:active:not(:disabled) { transform: translateY(0); box-shadow: 0 2px 8px rgba(0,0,0,.2); }
.pb-btn-primary:disabled { background: #aaa; cursor: not-allowed; transform: none; box-shadow: none; }

.pb-btn-secondary {
  background: transparent; color: var(--pb-black);
  border: 2px solid var(--pb-black);
  padding: 12px 24px; border-radius: 50px;
  font-size: 14px; font-weight: 700; font-family: var(--pb-font);
  cursor: pointer; transition: all .15s;
  letter-spacing: .02em;
}
.pb-btn-secondary:hover { background: var(--pb-black); color: #fff; }

/* ── Review Box ── */
.pb-review-box {
  margin: 0 24px 18px;
  background: var(--pb-gray-bg);
  border-radius: var(--pb-radius-sm);
  padding: 20px 22px;
  border: 1px solid var(--pb-border);
}
.pb-review-box h4 {
  margin: 0 0 14px; font-size: 13px; font-weight: 700;
  color: var(--pb-muted); text-transform: uppercase; letter-spacing: .06em;
}
.pb-review-meta {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 8px; margin-bottom: 18px;
}
@media(max-width:480px) { .pb-review-meta { grid-template-columns: 1fr; } }
.pb-review-meta > div {
  background: var(--pb-white); border-radius: var(--pb-radius-sm);
  padding: 10px 14px; border: 1px solid var(--pb-border);
}
.pb-review-meta span   { font-size: 11px; color: var(--pb-muted); display: block; text-transform: uppercase; letter-spacing: .05em; }
.pb-review-meta strong { color: var(--pb-black); font-size: 14px; font-family: var(--pb-font); }
.pb-review-item {
  display: flex; justify-content: space-between; align-items: center;
  padding: 8px 0; font-size: 14px;
  border-bottom: 1px solid var(--pb-border);
}
.pb-review-item:last-child { border-bottom: none; }
.pb-review-item span { color: var(--pb-muted); }

/* ── Payment ── */
.pb-payment-info { margin: 0 24px 18px; text-align: center; }
.pb-payment-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: #f0faf0; color: #2e7d32;
  padding: 10px 22px; border-radius: 50px;
  font-size: 13px; font-weight: 700;
  margin-bottom: 10px;
  border: 1px solid #c8e6c9;
}
.pb-payment-note { font-size: 13px; color: var(--pb-muted); margin: 0; }

/* ── Messages ── */
.pb-error-msg {
  margin: 8px 24px; padding: 12px 16px;
  background: #fff0f0; color: #c62828;
  border-radius: var(--pb-radius-sm); font-size: 13px;
  border-left: 4px solid #ef5350;
}
.pb-loading-msg {
  margin: 8px 24px; padding: 12px 16px;
  background: #f3f3f3; color: #555;
  border-radius: var(--pb-radius-sm); font-size: 13px; text-align: center;
}

/* ── Confirmation ── */
.pb-confirmation { padding: 56px 36px; text-align: center; }
.pb-confirm-icon { font-size: 72px; margin-bottom: 20px; line-height: 1; }
.pb-confirmation h2 {
  margin: 0 0 14px; color: var(--pb-primary);
  font-size: 28px; font-family: var(--pb-font);
}
.pb-confirm-text { font-size: 15px; color: var(--pb-muted); margin: 0 0 22px; line-height: 1.6; }
.pb-confirm-ref {
  display: inline-block;
  background: var(--pb-gray-bg); border: 1px solid var(--pb-border);
  border-radius: var(--pb-radius-sm); padding: 12px 28px;
  font-size: 15px; font-weight: 700; margin-bottom: 18px;
  letter-spacing: .06em;
}
.pb-confirm-reminder { font-size: 13px; color: var(--pb-muted); margin: 0 0 28px; }

/* ── Summary Panel ── */
.pb-summary-panel { position: sticky; top: 24px; }
.pb-summary-card {
  background: var(--pb-white);
  border-radius: var(--pb-radius);
  box-shadow: var(--pb-shadow);
  border: 1px solid var(--pb-border);
  padding: 24px;
  margin-bottom: 12px;
}
.pb-summary-title {
  margin: 0 0 18px;
  font-size: 17px; font-weight: 700;
  color: var(--pb-text); font-family: var(--pb-font);
  border-bottom: 2px solid var(--pb-border);
  padding-bottom: 14px;
}
.pb-summary-empty {
  color: var(--pb-muted); font-size: 13px;
  text-align: center; padding: 12px 0;
}
.pb-summary-items { margin-bottom: 14px; }
.pb-summary-item {
  display: flex; justify-content: space-between;
  align-items: flex-start; gap: 8px;
  padding: 11px 0; border-bottom: 1px solid var(--pb-border);
  font-size: 13px;
}
.pb-summary-item:last-child { border-bottom: none; }
.pb-summary-item-name { font-weight: 700; color: var(--pb-text); flex: 1; }
.pb-summary-item-dur  { font-size: 11px; color: var(--pb-muted); margin-top: 3px; }
.pb-summary-item-price { font-weight: 800; color: var(--pb-black); white-space: nowrap; font-size: 14px; }
.pb-summary-item-remove {
  background: none; border: none; cursor: pointer;
  color: #ccc; font-size: 18px; padding: 0; line-height: 1;
  transition: color .12s; flex-shrink: 0;
}
.pb-summary-item-remove:hover { color: var(--pb-pink); }

.pb-summary-discount { padding: 10px 0; }
.pb-discount-link {
  color: var(--pb-pink); font-size: 13px;
  text-decoration: none; font-weight: 600;
}
.pb-discount-form { margin-top: 8px; display: flex; gap: 8px; }
.pb-btn-sm {
  background: var(--pb-black); color: #fff; border: none;
  padding: 9px 16px; border-radius: 6px; font-size: 12px;
  font-family: var(--pb-font); font-weight: 700; cursor: pointer;
  white-space: nowrap; transition: background .15s;
}
.pb-btn-sm:hover { background: var(--pb-black-lt); }
.pb-summary-totals {
  border-top: 2px solid var(--pb-border);
  padding-top: 14px; margin-top: 8px;
}
.pb-summary-line {
  display: flex; justify-content: space-between;
  font-size: 13px; color: var(--pb-muted); margin-bottom: 10px;
}
.pb-summary-total {
  display: flex; justify-content: space-between;
  font-size: 18px; font-weight: 800; color: var(--pb-black);
  font-family: var(--pb-font);
}
.pb-powered-by {
  text-align: center; font-size: 11px; color: #c0c0c8; padding: 8px;
}

/* ── Mobile ── */
@media(max-width:520px) {
  .pb-studio-header { padding: 18px 18px; }
  .pb-left-panel .pb-step-nav { padding: 14px 16px; }
  .pb-step-heading { padding: 16px 16px 0; }
  .pb-datetime-row, .pb-form-grid { padding: 0 16px 14px; }
  .pb-service-item { padding: 14px 16px; }
  .pb-review-box { margin: 0 16px 14px; }
  .pb-payment-info { margin: 0 16px 14px; }
  .pb-error-msg, .pb-loading-msg { margin: 6px 16px; }
  .pb-confirmation { padding: 36px 20px; }
}

/* =========================================================
   Booking Confirmation Receipt — Step 4
   ========================================================= */

/* ── Success Banner ── */
.pb-confirm-banner {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 28px 28px 22px;
  background: linear-gradient(135deg, #111 0%, #2a2a2a 100%);
  color: #fff;
}
.pb-confirm-check  { font-size: 44px; line-height: 1; flex-shrink: 0; }
.pb-confirm-heading {
  margin: 0 0 6px;
  font-size: 22px; font-weight: 800;
  font-family: var(--pb-font);
  color: #fff;
}
.pb-confirm-subtext { margin: 0; font-size: 13px; color: rgba(255,255,255,.75); }
.pb-confirm-subtext strong { color: #fff; }

/* ── Receipt Card ── */
.pb-receipt {
  margin: 0;
  border-top: none;
}

/* ── Reference Bar ── */
.pb-receipt-ref-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 28px;
  background: var(--pb-gray-bg);
  border-bottom: 1px solid var(--pb-border);
  gap: 12px;
  flex-wrap: wrap;
}
.pb-receipt-label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--pb-muted);
  margin-bottom: 3px;
}
.pb-receipt-ref-code {
  font-size: 20px;
  font-weight: 800;
  color: var(--pb-black);
  font-family: var(--pb-font);
  letter-spacing: .04em;
}
.pb-print-btn {
  background: var(--pb-white);
  border: 1.5px solid var(--pb-border);
  border-radius: 8px;
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  color: var(--pb-muted);
  transition: all .15s;
  font-family: var(--pb-font);
  flex-shrink: 0;
}
.pb-print-btn:hover { background: var(--pb-black); color: #fff; border-color: var(--pb-black); }

/* ── Two-Column Grid ── */
.pb-receipt-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-bottom: 1px solid var(--pb-border);
}
@media(max-width:560px) { .pb-receipt-grid { grid-template-columns: 1fr; } }

.pb-receipt-section {
  padding: 20px 28px;
}
.pb-receipt-section:first-child {
  border-right: 1px solid var(--pb-border);
}
@media(max-width:560px) {
  .pb-receipt-section:first-child {
    border-right: none;
    border-bottom: 1px solid var(--pb-border);
  }
}

.pb-receipt-section-title {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--pb-muted);
  margin: 0 0 14px;
  font-family: var(--pb-font);
}

.pb-receipt-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 8px;
  padding: 7px 0;
  border-bottom: 1px dashed var(--pb-border);
  font-size: 13px;
}
.pb-receipt-row:last-child { border-bottom: none; }
.pb-receipt-row span    { color: var(--pb-muted); white-space: nowrap; }
.pb-receipt-row strong  { color: var(--pb-black); text-align: right; font-weight: 600; word-break: break-word; }

/* ── Services Section ── */
.pb-receipt-services-wrap {
  padding: 20px 28px;
  border-bottom: 1px solid var(--pb-border);
}
.pb-receipt-services {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.pb-receipt-services li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 600;
  color: var(--pb-black);
  padding: 10px 14px;
  background: var(--pb-gray-bg);
  border-radius: var(--pb-radius-sm);
  border-left: 4px solid var(--pb-black);
}
.pb-receipt-services li::before { content: '📸'; font-size: 15px; }

/* ── Payment Breakdown ── */
.pb-receipt-payment {
  padding: 20px 28px;
  border-bottom: 1px solid var(--pb-border);
}
.pb-receipt-pay-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  padding: 10px 0;
  border-bottom: 1px dashed var(--pb-border);
  color: var(--pb-muted);
  gap: 12px;
}
.pb-receipt-pay-row:last-child { border-bottom: none; }
.pb-receipt-pay-row span:last-child { font-weight: 700; white-space: nowrap; }

.pb-receipt-pay-paid {
  color: #2e7d32;
  background: #f1faf1;
  margin: 4px -8px;
  padding: 10px 8px;
  border-radius: 8px;
  border-bottom: none !important;
}
.pb-receipt-pay-paid span:last-child { font-size: 16px; }

.pb-receipt-pay-balance {
  color: var(--pb-black);
  font-weight: 700;
  font-size: 15px !important;
  background: #fff8e1;
  margin: 4px -8px;
  padding: 12px 8px;
  border-radius: 8px;
  border: 1.5px dashed #ffd54f;
  border-bottom: 1.5px dashed #ffd54f !important;
}
.pb-receipt-pay-balance span:last-child { font-size: 18px; font-weight: 800; }

/* ── Footer Note ── */
.pb-receipt-footer-note {
  padding: 18px 28px;
  background: var(--pb-gray-bg);
  border-bottom: 1px solid var(--pb-border);
}
.pb-receipt-footer-note p {
  margin: 0 0 6px;
  font-size: 12px;
  color: var(--pb-muted);
  line-height: 1.6;
}
.pb-receipt-footer-note p:last-child { margin: 0; }

/* ── Action row ── */
.pb-confirm-actions {
  padding: 20px 28px;
  text-align: center;
  background: var(--pb-white);
}

/* ── Print styles ── */
@media print {
  .pb-studio-header,
  .pb-steps-bar,
  .pb-tabs-bar,
  .pb-summary-panel,
  .pb-confirm-actions,
  .pb-print-btn { display: none !important; }
  .pb-left-panel { box-shadow: none; border: none; }
  .pb-confirm-banner { background: #111 !important; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .pb-receipt-pay-paid    { background: #f1faf1 !important; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .pb-receipt-pay-balance { background: #fff8e1 !important; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}

/* ── Logo: studio header ── */
.pb-studio-logo-img {
  background: transparent !important;
  width: auto;
  min-width: 48px;
  max-width: 160px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px;
}
.pb-logo-img {
  max-width: 100%;
  max-height: 56px;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}

/* ── Logo: receipt banner ── */
.pb-confirm-banner-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 4px;
  flex-shrink: 0;
}
.pb-confirm-banner-logo img {
  max-height: 52px;
  max-width: 160px;
  width: auto;
  height: auto;
  object-fit: contain;
  /* Invert dark logos to white on the black banner */
  filter: brightness(0) invert(1);
  opacity: .92;
}
