/* Apple SF Pro Design System - iPad Optimized Flow & Admin Suite */
@import url('https://fonts.cdnfonts.com/css/sf-pro-display');

:root {
  --font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'SF Pro Text', 'Helvetica Neue', sans-serif;
  --bg-primary: #F5F5F7;
  --bg-card: #FFFFFF;
  --bg-card-subtle: #FAFAFC;
  --border-light: rgba(0, 0, 0, 0.08);
  --border-focus: #0071E3;
  --text-main: #1D1D1F;
  --text-secondary: #86868B;
  --text-muted: #A1A1A6;
  --apple-blue: #0071E3;
  --apple-blue-hover: #0077ED;
  --apple-green: #34C759;
  --apple-orange: #FF9500;
  --apple-red: #FF3B30;
  --card-radius: 20px;
  --btn-radius: 12px;
  --shadow-subtle: 0 4px 20px rgba(0, 0, 0, 0.04);
  --shadow-card: 0 10px 30px rgba(0, 0, 0, 0.07);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
}

body {
  font-family: var(--font-family);
  background-color: var(--bg-primary);
  color: var(--text-main);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.hidden {
  display: none !important;
}

/* LOGIN SCREEN */
.login-screen {
  position: fixed;
  inset: 0;
  background: #F5F5F7;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  padding: 20px;
}

.login-card {
  background: #FFFFFF;
  border-radius: 24px;
  padding: 40px 36px;
  width: 100%;
  max-width: 420px;
  box-shadow: 0 15px 35px rgba(0,0,0,0.08);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
}

.apple-logo-badge.large {
  color: #1D1D1F;
  margin-bottom: 4px;
}

.login-title {
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.login-subtitle {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 12px;
}

.login-form {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 14px;
  text-align: left;
}

.login-error-msg {
  color: var(--apple-red);
  font-size: 0.8rem;
  font-weight: 600;
  text-align: center;
}

/* APP HEADER */
.app-header {
  height: 64px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.apple-logo-badge {
  color: #000;
  display: flex;
  align-items: center;
}

.app-title {
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

/* Step Progress Indicator */
.steps-progress {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #EBEBEF;
  padding: 4px 12px;
  border-radius: 20px;
}

.step-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-secondary);
  padding: 4px 8px;
  border-radius: 12px;
  transition: all 0.2s ease;
}

.step-badge.active {
  background: #FFFFFF;
  color: var(--text-main);
  box-shadow: 0 2px 6px rgba(0,0,0,0.06);
}

.step-num {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #D1D1D6;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 700;
}

.step-badge.active .step-num {
  background: var(--apple-blue);
}

.step-arrow {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.user-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #EFEFF4;
  padding: 6px 12px;
  border-radius: 10px;
}

.user-name {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-main);
}

.store-tag {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-secondary);
  background: #FFFFFF;
  padding: 2px 6px;
  border-radius: 6px;
}

.btn-icon {
  border: 1px solid var(--border-light);
  background: #FFFFFF;
  border-radius: 10px;
  padding: 7px 12px;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  color: var(--text-main);
  transition: all 0.15s ease;
}

.btn-icon:hover {
  background: #F2F2F7;
}

/* SELLER WORKSPACE */
.seller-workspace {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 24px;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

.step-view {
  display: none;
  flex-direction: column;
  gap: 20px;
  animation: fadeIn 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.step-view.active {
  display: flex;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

.step-container {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
}

.step-container.small {
  max-width: 720px;
  margin: 0 auto;
}

.view-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.section-heading {
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.section-subheading {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-top: 4px;
}

.btn-back {
  border: none;
  background: none;
  color: var(--apple-blue);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  margin-bottom: 8px;
  padding: 0;
}

/* Segment Control */
.segment-control {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: #EBEBEF;
  padding: 4px;
  border-radius: 14px;
  gap: 4px;
  max-width: 480px;
}

.segment-btn {
  border: none;
  background: transparent;
  padding: 12px;
  border-radius: 11px;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.segment-btn.active {
  background: #FFFFFF;
  color: var(--text-main);
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

/* Config Grid Layout */
.config-grid-layout {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 24px;
}

.config-options-box {
  background: var(--bg-card);
  border-radius: var(--card-radius);
  padding: 24px;
  box-shadow: var(--shadow-subtle);
  border: 1px solid var(--border-light);
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.config-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.group-title {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-secondary);
}

/* Color & Storage Cards */
.color-cards-grid, .storage-cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.color-card, .storage-card {
  border: 1.5px solid var(--border-light);
  background: var(--bg-card-subtle);
  border-radius: 14px;
  padding: 16px 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.color-card:hover, .storage-card:hover {
  border-color: rgba(0, 113, 227, 0.3);
}

.color-card.active, .storage-card.active {
  border-color: var(--apple-blue);
  background: rgba(0, 113, 227, 0.04);
  box-shadow: 0 0 0 1px var(--apple-blue);
}

.color-preview-circle {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid rgba(0,0,0,0.15);
  box-shadow: inset 0 1px 2px rgba(255,255,255,0.4);
}

.color-card-name, .storage-card-name {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-main);
}

.storage-card {
  justify-content: space-between;
}

.storage-stock-tag {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 6px;
}

.storage-stock-tag.tag-avail { background: rgba(52, 199, 89, 0.12); color: #1e7e34; }
.storage-stock-tag.tag-low { background: rgba(255, 149, 0, 0.12); color: #b36800; }
.storage-stock-tag.tag-out { background: rgba(255, 59, 48, 0.12); color: #d70000; }

/* Config Summary Right Card */
.config-summary-card {
  background: var(--bg-card);
  border-radius: var(--card-radius);
  padding: 28px;
  box-shadow: var(--shadow-subtle);
  border: 1px solid var(--border-light);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 18px;
}

.product-visual-box {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: #F0F0F5;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.titanium-disc {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #BEB7AA, #8E887E 70%);
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
  transition: all 0.3s ease;
}

.summary-details {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.summary-model-title {
  font-size: 1.3rem;
  font-weight: 700;
}

.summary-color-title {
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.summary-price {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--apple-blue);
  margin-top: 6px;
}

/* Discreet Seller Stock Status Pill */
.stock-status-pill {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 0.78rem;
  font-weight: 700;
  margin-top: 6px;
}

.stock-status-pill.tag-avail { background: rgba(52, 199, 89, 0.12); color: #1e7e34; }
.stock-status-pill.tag-low { background: rgba(255, 149, 0, 0.12); color: #b36800; }
.stock-status-pill.tag-out { background: rgba(255, 59, 48, 0.12); color: #d70000; }

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: currentColor;
}

.btn-step-next {
  width: 100%;
  border: none;
  background: var(--apple-blue);
  color: #FFFFFF;
  padding: 16px;
  border-radius: 14px;
  font-family: inherit;
  font-size: 1.05rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 4px 14px rgba(0, 113, 227, 0.25);
  transition: all 0.2s ease;
  margin-top: auto;
}

.btn-step-next:hover {
  background: var(--apple-blue-hover);
  transform: translateY(-1px);
}

.btn-step-next:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  transform: none;
}

/* Seller Preorders Drawer */
.my-preorders-card {
  background: var(--bg-card);
  border-radius: var(--card-radius);
  padding: 20px 24px;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-subtle);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.card-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.card-head-title {
  font-size: 0.95rem;
  font-weight: 700;
}

.card-head-count {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.my-preorders-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 10px;
}

.my-order-item {
  background: #F9F9FB;
  border-radius: 12px;
  padding: 12px 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
  cursor: pointer;
  transition: all 0.15s ease;
}

.my-order-item:hover {
  background: #F0F0F5;
}

.my-order-ref {
  font-weight: 700;
  color: var(--apple-blue);
}

.my-order-desc {
  color: var(--text-secondary);
  font-size: 0.75rem;
}

/* STEP 2: BOOKING FORM */
.chosen-product-banner {
  background: var(--bg-card);
  border-radius: 16px;
  padding: 16px 20px;
  border: 1px solid var(--border-light);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.banner-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.banner-color-dot {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 1px solid rgba(0,0,0,0.15);
}

.banner-title {
  font-size: 1.05rem;
  font-weight: 700;
}

.banner-subtitle {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.banner-stock-tag {
  font-size: 0.78rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 8px;
  background: rgba(255, 149, 0, 0.12);
  color: #b36800;
}

.clean-form {
  background: var(--bg-card);
  border-radius: var(--card-radius);
  padding: 28px;
  box-shadow: var(--shadow-subtle);
  border: 1px solid var(--border-light);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-row {
  display: flex;
  gap: 14px;
}

.flex-1 {
  flex: 1;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.field-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.sf-input {
  font-family: inherit;
  font-size: 0.95rem;
  padding: 12px 14px;
  background: #F5F5F7;
  border: 1.5px solid transparent;
  border-radius: var(--btn-radius);
  color: var(--text-main);
  outline: none;
  transition: all 0.2s ease;
}

.sf-input:focus {
  background: #FFFFFF;
  border-color: var(--apple-blue);
  box-shadow: 0 0 0 3px rgba(0, 113, 227, 0.12);
}

.sf-input.uppercase {
  text-transform: uppercase;
}

.input-with-suffix {
  position: relative;
  display: flex;
  align-items: center;
}

.input-with-suffix .sf-input {
  width: 100%;
  padding-right: 44px;
}

.suffix {
  position: absolute;
  right: 14px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-secondary);
}

.btn-apple-primary {
  border: none;
  background: var(--apple-blue);
  color: #FFFFFF;
  padding: 14px 20px;
  border-radius: 12px;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-apple-primary.large {
  padding: 18px 24px;
  font-size: 1.05rem;
  margin-top: 8px;
}

.btn-apple-primary:hover {
  background: var(--apple-blue-hover);
}

/* ============================================== */
/* ADMIN WORKSPACE STYLES                         */
/* ============================================== */
.admin-workspace {
  position: fixed;
  inset: 0;
  background: rgba(245, 245, 247, 0.98);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  z-index: 500;
  overflow-y: auto;
  padding: 24px;
}

.admin-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.admin-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--border-light);
  padding-bottom: 16px;
}

.admin-title {
  font-size: 1.5rem;
  font-weight: 700;
}

.btn-close-admin {
  border: 1px solid var(--border-light);
  background: #FFFFFF;
  padding: 8px 16px;
  border-radius: 10px;
  font-weight: 600;
  cursor: pointer;
}

.admin-tabs {
  display: flex;
  gap: 8px;
  border-bottom: 1px solid var(--border-light);
  padding-bottom: 8px;
}

.admin-tab {
  border: none;
  background: transparent;
  padding: 10px 16px;
  border-radius: 10px;
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-secondary);
  cursor: pointer;
}

.admin-tab.active {
  background: #FFFFFF;
  color: var(--text-main);
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.admin-tab-content {
  display: none;
  flex-direction: column;
  gap: 20px;
}

.admin-tab-content.active {
  display: flex;
}

.admin-card {
  background: #FFFFFF;
  border-radius: var(--card-radius);
  padding: 24px;
  box-shadow: var(--shadow-subtle);
  border: 1px solid var(--border-light);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.admin-card-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.btn-action {
  background: var(--apple-blue);
  color: #fff;
  border: none;
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
}

.btn-secondary.small {
  background: #F0F0F5;
  border: 1px solid var(--border-light);
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  align-self: flex-start;
}

.admin-hint {
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.4;
}

.table-responsive {
  max-height: 480px;
  overflow-y: auto;
  border: 1px solid var(--border-light);
  border-radius: 12px;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.82rem;
}

.admin-table th {
  background: #F8F8FA;
  padding: 10px 12px;
  text-align: left;
  color: var(--text-secondary);
  position: sticky;
  top: 0;
  border-bottom: 1px solid var(--border-light);
}

.admin-table td {
  padding: 10px 12px;
  border-bottom: 1px solid rgba(0,0,0,0.04);
}

/* Image Uploader & Preview */
.image-uploader-container {
  display: flex;
  gap: 14px;
  align-items: center;
  background: #F8F8FA;
  padding: 12px;
  border-radius: 14px;
  border: 1px dashed var(--border-light);
}

.image-preview-slot {
  width: 72px;
  height: 72px;
  border-radius: 12px;
  background: #EBEBEF;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 1px solid var(--border-light);
}

.image-preview-slot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.no-img-text {
  font-size: 0.65rem;
  color: var(--text-muted);
  text-align: center;
}

.uploader-inputs {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.btn-upload-file {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  padding: 8px 14px;
  border-radius: 9px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-main);
  cursor: pointer;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
  transition: all 0.15s ease;
}

.btn-upload-file:hover {
  background: #F2F2F7;
  border-color: var(--apple-blue);
}

.admin-table-img {
  width: 32px;
  height: 32px;
  border-radius: 6px;
  object-fit: cover;
  vertical-align: middle;
  margin-right: 6px;
}

.product-img-display {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.3s ease;
}


.odoo-test-result {
  padding: 12px 16px;
  border-radius: 12px;
  font-size: 0.82rem;
  line-height: 1.4;
  margin-bottom: 14px;
}

.odoo-test-result.success {
  background: rgba(52, 199, 89, 0.12);
  color: #1e7e34;
  border: 1px solid rgba(52, 199, 89, 0.3);
}

.odoo-test-result.error {
  background: rgba(255, 59, 48, 0.12);
  color: #d70000;
  border: 1px solid rgba(255, 59, 48, 0.3);
}

.prop-mapping-row {
  display: flex;
  gap: 10px;
  align-items: center;
}

.var-pill {
  border: 1px solid var(--border-light);
  background: #F2F2F7;
  padding: 4px 10px;
  border-radius: 8px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-main);
  cursor: pointer;
  transition: all 0.15s ease;
  display: flex;
  align-items: center;
  gap: 4px;
}

.var-pill:hover {
  background: var(--apple-blue);
  color: #FFFFFF;
  border-color: var(--apple-blue);
}

.var-pill code {
  background: rgba(0,0,0,0.06);
  padding: 1px 4px;
  border-radius: 4px;
  font-size: 0.72rem;
}

.var-pill:hover code {
  background: rgba(255,255,255,0.25);
  color: #FFFFFF;
}

.btn-delete-row {
  border: none;
  background: rgba(255, 59, 48, 0.1);
  color: var(--apple-red);
  padding: 8px 12px;
  border-radius: 8px;
  font-weight: 700;
  cursor: pointer;
}

/* ============================================== */
/* ÉTAPE 3: REÇU IMPRIMABLE / MODAL               */
/* ============================================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 20px;
}

.modal-overlay.open {
  display: flex;
}

.modal-card {
  background: #FFFFFF;
  border-radius: 24px;
  width: 100%;
  max-width: 480px;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.2);
  animation: modalPop 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.print-card {
  max-width: 460px;
  padding: 28px;
}

.receipt-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.receipt-store-title {
  font-size: 1.1rem;
  font-weight: 700;
}

.receipt-tag {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text-secondary);
  letter-spacing: 0.05em;
}

.receipt-barcode-box {
  width: 100%;
  background: #F5F5F7;
  border-radius: 12px;
  padding: 12px;
  text-align: center;
}

.receipt-order-ref {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--apple-blue);
  letter-spacing: 0.05em;
}

.receipt-date {
  font-size: 0.75rem;
  color: var(--text-secondary);
}

.receipt-body {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.85rem;
}

.receipt-row {
  display: flex;
  justify-content: space-between;
}

.receipt-row.highlight {
  background: #F9F9FB;
  padding: 6px 8px;
  border-radius: 8px;
  font-weight: 600;
}

.r-label {
  color: var(--text-secondary);
}

.r-val {
  font-weight: 600;
  text-align: right;
}

.r-val.font-bold {
  font-weight: 700;
}

.r-val.text-green {
  color: #1e7e34;
}

.receipt-divider {
  height: 1px;
  background: var(--border-light);
  margin: 4px 0;
}

.receipt-footer {
  font-size: 0.72rem;
  color: var(--text-secondary);
  text-align: center;
  line-height: 1.3;
}

.modal-actions {
  display: flex;
  gap: 10px;
  width: 100%;
}

.btn-modal-primary, .btn-modal-secondary {
  flex: 1;
  padding: 14px;
  border-radius: 12px;
  font-family: inherit;
  font-size: 0.92rem;
  font-weight: 700;
  cursor: pointer;
}

.btn-modal-primary {
  background: var(--apple-blue);
  color: #fff;
  border: none;
}

.btn-modal-secondary {
  background: #F0F0F5;
  color: var(--text-main);
  border: 1px solid var(--border-light);
}

/* Print Sheet Styling */
@media print {
  body * {
    visibility: hidden;
  }
  #receiptModal, #receiptModal * {
    visibility: visible;
  }
  #receiptModal {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    background: #fff;
    display: block !important;
  }
  .modal-card {
    box-shadow: none;
    max-width: 100%;
    padding: 0;
  }
  .no-print {
    display: none !important;
  }
}

@media (max-width: 900px) {
  .config-grid-layout {
    grid-template-columns: 1fr;
  }
}
