@charset "UTF-8";
/* ================================================================ */
/* BASE RECEIPT STYLES - SHARED ACROSS ALL RECEIPT PAGES           */
/* Version: 1.0                                                     */
/* Created: November 8, 2025                                        */
/* Purpose: Eliminate CSS duplication across receipt interfaces    */
/* ================================================================ */

/* ================================================================ */
/* 1. CSS VARIABLES                                                 */
/* ================================================================ */
:root {
  --whr-font-stack: "Jost", sans-serif;
  /* Status Colors - Hybrid Palette (Herman Miller / Muji / Braun inspired) */
  --whr-primary-blue: #2196f3;       /* Keep for links/interactive elements */
  --whr-success-green: #7a8c6e;      /* Sage - saved/success states */
  --whr-warning-orange: #c4956a;     /* Warm Ochre - changes/saving states */
  --whr-error-red: #a63d2f;          /* Deep Rust - error states */
  --whr-flagged-blue: #6b8fa3;       /* Steel Blue - flagged for review */
  --whr-complete-black: #333333;     /* Black - complete state */
  --whr-text-primary: #666;
  --whr-text-secondary: #999;
  --whr-text-tertiary: #777;
  --whr-light-gray: #f8f9fa;
  --whr-border-gray: #f0f0f0;
  --whr-spacing-sm: 10px;
  --whr-spacing-md: 20px;
  --whr-spacing-lg: 30px;
}

/* ================================================================ */
/* 2. FONT OVERRIDES - Target receipt containers only              */
/* ================================================================ */
[id*="container"],
.receipt-page,
body {
  font-family: var(--whr-font-stack) !important;
}

/* Preserve Mothership Logo */
[style*="Mothership-Logo"],
a[id="logo"] {
  font-family: 'Mothership-Logo' !important;
}

/* ================================================================ */
/* 3. GLOBAL RESETS                                                 */
/* ================================================================ */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* ================================================================ */
/* 4. TYPOGRAPHY SYSTEM                                             */
/* ================================================================ */
body {
  font-family: var(--whr-font-stack);
  line-height: 1.5;
  font-weight: 400;
  color: var(--whr-text-primary);
  background: #ffffff;
  min-height: 100vh;
  padding: 20px;
}

.container {
  max-width: 1200px !important;
  margin: auto !important;
}

/* ================================================================ */
/* 5. HEADER COMPONENT - UNIFIED DESIGN                             */
/* ================================================================ */
.header {
  background: white;
  padding: 20px 30px;
  margin-bottom: 6px;
  box-shadow: 0 1px 3px rgba(0,0,0,.12), 0 1px 2px rgba(0,0,0,.24);
  min-height: 60px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  opacity: 1;
  transform: none;
  position: relative;
  z-index: 10;
  width: 100%;
}

.header-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  min-width: 0;
  flex: 1;
}

.header-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  text-align: right;
  min-width: 0;
  flex: 1;
}

.page-title {
  font-size: 15px !important;
  font-weight: 400;
  color: var(--whr-text-primary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  line-height: 1.2;
  margin: 0;
}

.form-id {
  font-size: 13px !important;
  font-weight: 400;
  color: var(--whr-text-primary);
  margin: 2px 0 0 0;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  user-select: none;
  pointer-events: none;
  font-variant-numeric: tabular-nums;
  line-height: 1.2;
}

.text-user-name {
  font-family: var(--whr-font-stack);
  font-size: 14px;
  font-weight: 400;
  color: var(--whr-text-primary);
  margin: 0;
  line-height: 1.2;
  width: 100%;
  word-wrap: break-word;
}

.text-user-email {
  font-family: var(--whr-font-stack);
  font-size: 12px;
  font-weight: 400;
  color: var(--whr-text-secondary);
  margin: 2px 0 0 0;
  line-height: 1.2;
  width: 100%;
  word-wrap: break-word;
}

/* ================================================================ */
/* 6. NAVIGATION AND FOOTER HIDING - COMPREHENSIVE                  */
/* ================================================================ */
.navbar-toggler,
#navbar-collapse-grid,
.navbar-nav,
.navbar-brand + .navbar-nav,
.responsive-menu-toggle-wrapper,
#toggle-icon,
.toggle.responsive-menu-toggle-icon,
.hamburger-menu,
.menu-toggle,
.mobile-menu-toggle,
.nav-toggle,
#main-menu-toggle,
.main-menu-toggle,
.responsive-menu-block,
.responsive-menu-toggle,
#responsive-menu-button,
.responsive-menu-button-icon,
.responsive-menu-button-icon-active,
.responsive-menu-opener,
.responsive-menu-box,
.responsive-menu-toggle-icon,
.responsive-menu-pro-wrapper,
.responsive-menu-container,
.fixed-bottom,
.navbar-fixed-bottom,
.menu-toggle-bar,
.bottom-menu-bar,
.mobile-menu-bar,
.hamburger-bottom,
footer .responsive-menu,
[class*="responsive-menu"],
[id*="responsive-menu"],
.custom-bottom-transparent-gray-bar,
/* Footer hiding */
footer,
.site-footer,
.footer,
#footer,
.region-footer,
.block-system-powered-by-block,
.powered-by-drupal,
[class*="footer"],
[id*="footer"] {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

nav .menu-toggle,
header .menu-toggle,
.site-header .menu-toggle {
  display: none !important;
}

body > div[style*="bottom"],
body > nav[style*="bottom"],
body > div[class*="menu"][style*="fixed"],
body > nav[class*="menu"][style*="fixed"] {
  display: none !important;
}

/* ================================================================ */
/* 7. RESPONSIVE BREAKPOINTS - SHARED ACROSS ALL PAGES             */
/* ================================================================ */
@media (max-width: 768px) {
  body {
    padding: 10px;
    margin: 0;
  }
  
  .container {
    padding: 0;
    width: 100%;
    max-width: 100%;
  }
  
  .header {
    padding: 20px;
    margin-bottom: 4px;
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }
  
  .header-left,
  .header-right {
    align-items: center;
  }
}

/* ================================================================ */
/* 8. UTILITY CLASSES                                               */
/* ================================================================ */
.hidden {
  display: none !important;
}

.text-right {
  text-align: right !important;
}

.text-center {
  text-align: center !important;
}

.font-mono {
  font-variant-numeric: tabular-nums !important;
}

/* ================================================================ */
/* 9. LOADING STATES                                                */
/* ================================================================ */
.loading-state {
  color: var(--whr-text-secondary);
  font-style: italic;
  text-align: center;
  padding: 20px;
  font-size: 14px;
  font-weight: 400;
  display: flex;
  align-items: center;
  justify-content: center;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

/* ================================================================ */
/* 10. TEXT SELECTION FIXES                                         */
/* ================================================================ */
input[type="text"],
input[type="email"], 
textarea,
.field-value,
.form-text,
.form-email {
  -webkit-text-size-adjust: none !important;
  -moz-text-size-adjust: none !important;
  -ms-text-size-adjust: none !important;
  text-size-adjust: none !important;
  -webkit-user-select: text !important;
  -moz-user-select: text !important;
  -ms-user-select: text !important;
  user-select: text !important;
  font-variant-numeric: normal !important;
  font-feature-settings: normal !important;
  text-decoration: none !important;
  color: inherit !important;
}

/* ================================================================ */
/* 11. iOS-SPECIFIC FIXES                                           */
/* ================================================================ */
@supports (-webkit-touch-callout: none) {
  .header,
  .record-card,
  .webform-bar {
    box-shadow: 0 1px 3px rgba(0,0,0,.12), 0 1px 2px rgba(0,0,0,.24);
    -webkit-box-shadow: 0 1px 3px rgba(0,0,0,.12), 0 1px 2px rgba(0,0,0,.24);
  }
}

/* ================================================================ */
/* END OF BASE RECEIPT STYLES                                       */
/* ================================================================ */
