/* =============================================================
   WF Surveyor - Weikfield Field Force Survey
   Version 3.0 - Modern Premium UI Design
   Colors: Red (#D90429), Yellow (#FFD60A), White, Black
   ============================================================= */

:root {
  --red: #D90429;
  --red-dark: #B00320;
  --red-light: #FF1744;
  --yellow: #FFD60A;
  --yellow-dark: #E6C000;
  --white: #FFFFFF;
  --black: #000000;
  --gray-100: #F8F9FA;
  --gray-200: #E9ECEF;
  --gray-300: #DEE2E6;
  --gray-600: #6C757D;
  --gray-800: #343A40;
  --green: #00C853;
  --green-dark: #00A844;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.1);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.15);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.2);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { height: 100%; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--red);
  color: var(--white);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

.hidden { display: none !important; }

/* =============================================================
   APP CONTAINER
   ============================================================= */
.app-container {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* =============================================================
   HEADER - Minimal Modern
   ============================================================= */
.app-header {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
  background: rgba(0,0,0,0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.header-left, .header-right {
  width: 80px;
  display: flex;
  align-items: center;
}

.header-right { justify-content: flex-end; }

.header-center {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
}

.header-logo {
  height: 50px;
  width: auto;
  object-fit: contain;
}

.header-icon-btn {
  width: 40px;
  height: 40px;
  border: none;
  background: rgba(255,255,255,0.1);
  border-radius: var(--radius-full);
  color: var(--white);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.header-icon-btn:hover {
  background: rgba(255,255,255,0.2);
  transform: scale(1.05);
}

.admin-badge {
  background: linear-gradient(135deg, var(--green) 0%, var(--green-dark) 100%);
  color: var(--white);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  box-shadow: var(--shadow-sm);
  animation: pulse 2s infinite;
}

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

.progress-indicator {
  background: rgba(255,214,10,0.2);
  border: 1px solid var(--yellow);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 600;
  color: var(--yellow);
}

/* =============================================================
   TAB NAVIGATION - Modern Progress Style
   ============================================================= */
.tab-nav {
  background: rgba(0,0,0,0.8);
  padding: 16px 20px;
  position: relative;
}

.tab-track {
  position: absolute;
  top: 50%;
  left: 40px;
  right: 40px;
  height: 3px;
  background: rgba(255,255,255,0.2);
  transform: translateY(-50%);
  border-radius: var(--radius-full);
}

.tab-progress-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--yellow) 0%, var(--yellow-dark) 100%);
  border-radius: var(--radius-full);
  width: 14%;
  transition: width 0.3s ease;
}

.tab-buttons {
  display: flex;
  justify-content: space-between;
  position: relative;
  z-index: 1;
}

.tab-btn {
  width: 36px;
  height: 36px;
  border: 2px solid rgba(255,255,255,0.3);
  background: var(--black);
  border-radius: var(--radius-full);
  color: rgba(255,255,255,0.5);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.tab-btn span { pointer-events: none; }

.tab-btn:hover {
  border-color: var(--yellow);
  color: var(--yellow);
}

.tab-btn.active {
  background: var(--yellow);
  border-color: var(--yellow);
  color: var(--black);
  transform: scale(1.15);
  box-shadow: 0 0 20px rgba(255,214,10,0.4);
}

.tab-btn.completed {
  background: var(--green);
  border-color: var(--green);
  color: var(--white);
}

/* =============================================================
   MAIN CONTENT AREA
   ============================================================= */
.app-main {
  flex: 1;
  padding: 20px;
  overflow-y: auto;
}

/* =============================================================
   SPLASH SCREEN - Modern Login
   ============================================================= */
.splash-screen {
  min-height: calc(100vh - 64px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.splash-content {
  width: 100%;
  max-width: 450px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin: 0 auto;
  position: relative;
}

.splash-logo-wrap {
  margin-bottom: 16px;
}

.splash-logo {
  height: 80px;
  width: auto;
  filter: drop-shadow(0 4px 12px rgba(0,0,0,0.3));
}

.splash-hero-title {
  position: relative;
  margin-bottom: -60px;
  z-index: 10;
  width: 100%;
}

.meetha-safar-img {
  width: 70%;
  max-width: 300px;
  height: auto;
  filter: drop-shadow(0 6px 16px rgba(0,0,0,0.4));
}

.product-display {
  width: 100%;
  margin-bottom: 16px;
  position: relative;
}

.product-display-img {
  width: 100%;
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
}

.splash-subtitle {
  margin-bottom: 20px;
}

.subtitle-line {
  display: block;
  font-size: 20px;
  font-weight: 700;
  color: var(--yellow);
  text-transform: uppercase;
  letter-spacing: 2px;
}

.subtitle-desc {
  display: block;
  font-size: 14px;
  color: rgba(255,255,255,0.7);
  margin-top: 4px;
}

/* =============================================================
   LOGIN CARD - Instagram Style
   ============================================================= */
.login-card {
  width: 100%;
  background: rgba(0,0,0,0.4);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-xl);
  padding: 32px 24px;
  box-shadow: var(--shadow-lg);
}

.input-group {
  margin-bottom: 20px;
}

.input-wrapper {
  position: relative;
  width: 100%;
}

.input-icon {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(255,255,255,0.5);
  pointer-events: none;
  z-index: 2;
}

.input-wrapper input {
  position: relative;
  z-index: 1;
}

.modern-input::placeholder {
  color: rgba(255,255,255,0.4);
}

.modern-input:focus {
  background: rgba(255,255,255,0.15);
  border-color: var(--yellow);
  box-shadow: 0 0 0 4px rgba(255,214,10,0.15);
}

.modern-input:focus + .input-icon,
.input-wrapper:focus-within .input-icon {
  color: var(--yellow);
}

.input-hint {
  display: block;
  margin-top: 8px;
  font-size: 12px;
  color: rgba(255,255,255,0.5);
  text-align: left;
}

/* =============================================================
   START BUTTON - Premium Style
   ============================================================= */
.start-btn {
  width: 100%;
  padding: 18px 32px;
  background: linear-gradient(135deg, var(--yellow) 0%, var(--yellow-dark) 100%);
  border: none;
  border-radius: var(--radius-md);
  color: var(--black);
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 16px rgba(255,214,10,0.3);
}

.start-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(255,214,10,0.4);
}

.start-btn:active {
  transform: translateY(0);
}

.start-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

/* =============================================================
   SPLASH FOOTER
   ============================================================= */
.splash-footer {
  margin-top: 24px;
}

.admin-hint {
  font-size: 12px;
  color: rgba(255,255,255,0.4);
  background: rgba(0,0,0,0.3);
  padding: 8px 16px;
  border-radius: var(--radius-full);
}

/* =============================================================
   SURVEY CONTAINER
   ============================================================= */
.survey-container {
  animation: fadeIn 0.3s ease;
}

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

/* =============================================================
   TAB HEADERS - Modern Card Style
   ============================================================= */
.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
  animation: slideIn 0.3s ease;
}

@keyframes slideIn {
  from { opacity: 0; transform: translateX(20px); }
  to { opacity: 1; transform: translateX(0); }
}

.tab-header-modern {
  display: flex;
  align-items: center;
  gap: 16px;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-lg);
  padding: 20px;
  margin-bottom: 20px;
  border: 1px solid rgba(255,255,255,0.1);
}

.tab-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--yellow) 0%, var(--yellow-dark) 100%);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--black);
  flex-shrink: 0;
}

.tab-header-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.tab-step {
  font-size: 12px;
  font-weight: 600;
  color: var(--yellow);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.tab-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--white);
}

.conditional-notice {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255,214,10,0.1);
  border: 1px solid rgba(255,214,10,0.3);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  margin-bottom: 20px;
  color: var(--yellow);
  font-size: 14px;
}

/* =============================================================
   SUPPLIER HELPER BOX
   ============================================================= */
.supplier-helper-box {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: rgba(0,200,83,0.1);
  border: 2px solid rgba(0,200,83,0.3);
  border-radius: var(--radius-lg);
  padding: 16px 20px;
  margin-bottom: 20px;
}

.supplier-helper-box svg {
  color: var(--green);
  flex-shrink: 0;
  margin-top: 2px;
}

.supplier-helper-box p {
  color: var(--white);
  font-size: 14px;
  line-height: 1.6;
  margin: 0;
}

.supplier-helper-box strong {
  color: var(--green);
  font-weight: 700;
}

/* =============================================================
   QUESTION CARDS - Modern Style
   ============================================================= */
.questions-stack {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.question-card {
  background: rgba(0,0,0,0.5);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  padding: 20px;
  transition: all 0.2s ease;
}

.question-card:hover {
  border-color: rgba(255,214,10,0.3);
}

.question-header {
  margin-bottom: 16px;
}

.question-label {
  color: var(--white);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.5;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.q-id {
  background: var(--yellow);
  color: var(--black);
  font-size: 11px;
  font-weight: 800;
  padding: 4px 8px;
  border-radius: var(--radius-sm);
  flex-shrink: 0;
}

.mandatory-star {
  color: var(--yellow);
  font-size: 16px;
}

.question-info {
  color: rgba(255,255,255,0.5);
  font-size: 13px;
  margin-top: 8px;
  padding-left: 40px;
}

.question-helper {
  background: rgba(255,214,10,0.1);
  border-left: 3px solid var(--yellow);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 12px 16px;
  margin-top: 12px;
  color: var(--yellow);
  font-size: 13px;
}

.question-body {
  margin-top: 16px;
}

/* =============================================================
   FORM INPUTS - Modern Style
   ============================================================= */
.text-input,
.text-area,
.phone-input,
.date-input {
  width: 100%;
  padding: 14px 16px;
  background: rgba(255,255,255,0.1);
  border: 2px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-md);
  color: var(--white);
  font-size: 16px;
  font-weight: 500;
  transition: all 0.2s ease;
  outline: none;
}

.text-input:focus,
.text-area:focus,
.phone-input:focus,
.date-input:focus {
  background: rgba(255,255,255,0.15);
  border-color: var(--yellow);
  box-shadow: 0 0 0 4px rgba(255,214,10,0.15);
}

.text-input::placeholder,
.text-area::placeholder,
.phone-input::placeholder {
  color: rgba(255,255,255,0.4);
}

.text-area {
  resize: vertical;
  min-height: 100px;
}

/* =============================================================
   MCQ OPTIONS - Modern Cards
   ============================================================= */
.mcq-options {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.mcq-option {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px;
  background: rgba(255,255,255,0.05);
  border: 2px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all 0.2s ease;
}

.mcq-option:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,214,10,0.3);
}

.mcq-option.selected {
  background: rgba(255,214,10,0.15);
  border-color: var(--yellow);
}

.mcq-option input[type="radio"] {
  width: 22px;
  height: 22px;
  accent-color: var(--yellow);
  flex-shrink: 0;
}

.mcq-option span {
  color: var(--white);
  font-weight: 500;
  font-size: 15px;
}

.mcq-option.selected span {
  color: var(--yellow);
}

/* =============================================================
   GPS BLOCK
   ============================================================= */
.gps-block {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.gps-btn {
  padding: 14px 20px;
  background: linear-gradient(135deg, var(--yellow) 0%, var(--yellow-dark) 100%);
  border: none;
  border-radius: var(--radius-md);
  color: var(--black);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.2s ease;
}

.gps-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(255,214,10,0.3);
}

.gps-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.gps-field label {
  display: block;
  color: var(--yellow);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 6px;
}

.gps-field input {
  width: 100%;
  padding: 12px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-sm);
  color: var(--white);
  font-size: 14px;
}

.gps-status {
  color: var(--green);
  font-size: 13px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* =============================================================
   PHOTO CAPTURE
   ============================================================= */
.photo-block {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.photo-preview,
.photo-video {
  width: 100%;
  max-height: 300px;
  object-fit: contain;
  background: rgba(0,0,0,0.5);
  border: 2px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-md);
}

.photo-controls {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.photo-btn {
  flex: 1;
  min-width: 120px;
  padding: 14px 20px;
  background: rgba(255,255,255,0.1);
  border: 2px solid rgba(255,255,255,0.2);
  border-radius: var(--radius-md);
  color: var(--white);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.2s ease;
}

.photo-btn:hover {
  background: rgba(255,255,255,0.15);
  border-color: var(--yellow);
}

.photo-btn.primary {
  background: linear-gradient(135deg, var(--yellow) 0%, var(--yellow-dark) 100%);
  border-color: var(--yellow);
  color: var(--black);
}

/* =============================================================
   FLAG/CHECKBOX ROWS
   ============================================================= */
.flag-row,
.refusal-row {
  margin-bottom: 16px;
}

.flag-label,
.refusal-label {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background: rgba(255,107,107,0.1);
  border: 2px solid rgba(255,107,107,0.3);
  border-radius: var(--radius-md);
  cursor: pointer;
  color: var(--white);
  font-weight: 500;
  transition: all 0.2s ease;
}

.flag-label:hover,
.refusal-label:hover {
  background: rgba(255,107,107,0.15);
}

.flag-checkbox,
.refusal-checkbox {
  width: 22px;
  height: 22px;
  accent-color: #ff6b6b;
}

/* =============================================================
   KG + DURATION
   ============================================================= */
.kg-duration-block {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.kg-row label,
.duration-row label {
  display: block;
  color: var(--yellow);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.kg-input,
.duration-input {
  width: 100%;
  padding: 14px 16px;
  background: rgba(255,255,255,0.1);
  border: 2px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-md);
  color: var(--white);
  font-size: 16px;
  font-weight: 500;
}

.duration-inputs {
  display: flex;
  gap: 10px;
}

.duration-input { flex: 1; }

.duration-unit {
  padding: 14px 16px;
  background: rgba(255,255,255,0.1);
  border: 2px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-md);
  color: var(--white);
  font-size: 14px;
  font-weight: 600;
}

/* =============================================================
   SWIPE CARDS
   ============================================================= */
.swipe-container {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.swipe-progress {
  text-align: center;
  color: var(--yellow);
  font-size: 14px;
  font-weight: 700;
}

.swipe-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.swipe-product-img {
  width: 100%;
  height: 200px;
  object-fit: contain;
  background: var(--white);
  padding: 20px;
}

.swipe-product-info {
  padding: 20px;
  background: var(--black);
}

.swipe-product-name {
  color: var(--yellow);
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 12px;
}

.swipe-benefits {
  list-style: none;
}

.swipe-benefits li {
  color: var(--white);
  font-size: 14px;
  padding: 6px 0 6px 24px;
  position: relative;
  line-height: 1.4;
}

.swipe-benefits li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--green);
  font-weight: bold;
}

.swipe-controls {
  display: flex;
  gap: 12px;
  margin-top: 16px;
}

.swipe-btn {
  flex: 1;
  padding: 16px;
  border: none;
  border-radius: var(--radius-md);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.swipe-btn.not-interested {
  background: rgba(255,107,107,0.2);
  color: #ff6b6b;
  border: 2px solid #ff6b6b;
}

.swipe-btn.interested {
  background: linear-gradient(135deg, var(--green) 0%, var(--green-dark) 100%);
  color: var(--white);
}

/* =============================================================
   NAVIGATION BUTTONS
   ============================================================= */
.nav-buttons {
  display: flex;
  gap: 12px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.nav-btn {
  flex: 1;
  padding: 16px 24px;
  border: none;
  border-radius: var(--radius-md);
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.2s ease;
}

.nav-btn-back {
  background: rgba(255,255,255,0.1);
  border: 2px solid rgba(255,255,255,0.2);
  color: var(--white);
}

.nav-btn-back:hover:not(:disabled) {
  background: rgba(255,255,255,0.15);
  border-color: rgba(255,255,255,0.3);
}

.nav-btn-back:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.nav-btn-next {
  background: linear-gradient(135deg, var(--yellow) 0%, var(--yellow-dark) 100%);
  color: var(--black);
  box-shadow: 0 4px 16px rgba(255,214,10,0.3);
}

.nav-btn-next:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(255,214,10,0.4);
}

/* =============================================================
   SUMMARY SCREEN
   ============================================================= */
.summary-screen {
  min-height: calc(100vh - 120px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 20px;
}

.summary-content {
  margin-bottom: 32px;
}

.thankyou-screen {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.thankyou-logo {
  height: 80px;
  margin-bottom: 24px;
}

.thankyou-checkmark {
  font-size: 64px;
  margin-bottom: 16px;
}

.thankyou-title {
  font-size: 32px;
  font-weight: 900;
  color: var(--yellow);
  margin-bottom: 12px;
}

.thankyou-name {
  font-size: 20px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 16px;
}

.thankyou-message {
  color: rgba(255,255,255,0.7);
  font-size: 16px;
  line-height: 1.6;
}

.thankyou-message p {
  margin: 8px 0;
}

/* =============================================================
   VERIFICATION CARD
   ============================================================= */
.verification-card {
  background: linear-gradient(135deg, var(--green) 0%, var(--green-dark) 100%) !important;
  text-align: center;
  padding: 32px !important;
  border-color: var(--green) !important;
}

.verify-icon {
  font-size: 48px;
  margin-bottom: 16px;
}

.verify-message {
  color: var(--white);
}

.verify-message p {
  margin: 8px 0;
  font-size: 16px;
}

/* =============================================================
   RESPONSIVE
   ============================================================= */
@media (max-width: 480px) {
  .splash-logo { height: 60px; }
  .meetha-safar-img { width: 65%; max-width: 260px; }
  .splash-hero-title { margin-bottom: -50px; }
  .login-card { padding: 24px 20px; }
  .tab-btn { width: 32px; height: 32px; font-size: 12px; }
  .nav-btn { padding: 14px 16px; font-size: 14px; }
}

/* =============================================================
   UTILITY CLASSES
   ============================================================= */
.btn {
  cursor: pointer;
  border: none;
  padding: 14px 20px;
  font-size: 15px;
  font-weight: 700;
  border-radius: var(--radius-md);
  transition: all 0.2s ease;
}

.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.btn-yellow {
  background: linear-gradient(135deg, var(--yellow) 0%, var(--yellow-dark) 100%);
  color: var(--black);
}

.btn-black {
  background: rgba(0,0,0,0.8);
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.2);
}

.btn-green {
  background: linear-gradient(135deg, var(--green) 0%, var(--green-dark) 100%);
  color: var(--white);
}

/* =============================================================
   PRODUCT DISPLAY
   ============================================================= */
.product-display {
  margin-bottom: 32px;
  text-align: center;
  width: 100%;
  max-width: 450px;
  margin-left: auto;
  margin-right: auto;
}

.product-display-img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
}

/* =============================================================
   QUALITY POINTS INDICATOR
   ============================================================= */
.quality-points {
  font-size: 11px;
  font-weight: 500;
  color: rgba(255,255,255,0.5);
  margin-left: 8px;
}

.quality-warning {
  display: block;
  font-size: 11px;
  color: var(--yellow);
  margin-top: 4px;
  font-weight: 500;
}

/* =============================================================
   BRAND MATRIX (Multi-select with checkboxes)
   ============================================================= */
.brand-matrix {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.brand-options {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.brand-option {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  background: rgba(0,0,0,0.3);
  border: 2px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 14px;
  color: var(--white);
}

.brand-option:hover {
  border-color: rgba(255,255,255,0.3);
  background: rgba(0,0,0,0.4);
}

.brand-option.selected {
  border-color: var(--yellow);
  background: rgba(255,214,10,0.15);
}

.brand-option input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--yellow);
}

.brand-other-row {
  margin-top: 8px;
}

.brand-other-row label {
  display: block;
  font-size: 13px;
  color: rgba(255,255,255,0.7);
  margin-bottom: 8px;
}

.brand-other-input {
  width: 100%;
  padding: 12px 16px;
  background: rgba(0,0,0,0.4);
  border: 2px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-md);
  color: var(--white);
  font-size: 15px;
}

.brand-other-input:focus {
  outline: none;
  border-color: var(--yellow);
}

/* =============================================================
   CONSUMPTION GRID (Horizontal product inputs)
   ============================================================= */
.consumption-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.consumption-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.consumption-col {
  text-align: center;
}

.consumption-header .consumption-col {
  font-size: 13px;
  font-weight: 600;
  color: var(--yellow);
  padding: 8px 4px;
  background: rgba(0,0,0,0.3);
  border-radius: var(--radius-sm);
}

.consumption-input {
  width: 100%;
  padding: 12px 8px;
  background: rgba(0,0,0,0.4);
  border: 2px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-md);
  color: var(--white);
  font-size: 13px;
  text-align: center;
}

.consumption-input:focus {
  outline: none;
  border-color: var(--yellow);
}

.consumption-input::placeholder {
  color: rgba(255,255,255,0.4);
  font-size: 11px;
}

.consumption-other {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.consumption-other-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--yellow);
  margin-bottom: 8px;
}

.consumption-other-input {
  width: 100%;
  padding: 12px 14px;
  background: rgba(0,0,0,0.4);
  border: 2px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-md);
  color: var(--white);
  font-size: 14px;
}

.consumption-other-input:focus {
  outline: none;
  border-color: var(--yellow);
}

.consumption-other-input::placeholder {
  color: rgba(255,255,255,0.4);
}

/* =============================================================
   DATE PICKER WITH UNKNOWN
   ============================================================= */
.date-block {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.unknown-row {
  margin-bottom: 8px;
}

.unknown-label {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  font-size: 14px;
  color: var(--white);
}

.unknown-label input[type="checkbox"] {
  width: 20px;
  height: 20px;
  accent-color: var(--yellow);
}

.unknown-label.unknown-small {
  font-size: 12px;
  color: rgba(255,255,255,0.8);
  margin-top: 8px;
}

.unknown-label.unknown-small input[type="checkbox"] {
  width: 16px;
  height: 16px;
}

.date-input-wrapper {
  transition: opacity 0.2s ease;
}

.date-input-wrapper.disabled {
  opacity: 0.4;
  pointer-events: none;
}

.date-input {
  width: 100%;
  padding: 14px 16px;
  background: rgba(0,0,0,0.4);
  border: 2px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-md);
  color: var(--white);
  font-size: 16px;
}

.date-input:focus {
  outline: none;
  border-color: var(--yellow);
}

.date-hint {
  font-size: 12px;
  color: rgba(255,255,255,0.5);
  margin-top: 6px;
}

/* =============================================================
   TINDER-STYLE SWIPE CARDS - MODERN PREMIUM DESIGN
   ============================================================= */
.swipe-container.tinder-style {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px 0;
  gap: 24px;
}

.swipe-marketing-banner {
  background: linear-gradient(135deg, var(--red) 0%, #b30020 100%);
  color: white;
  padding: 14px 18px;
  border-radius: var(--radius-md);
  font-size: 13px;
  font-weight: 600;
  text-align: center;
  line-height: 1.5;
  width: 100%;
  box-shadow: 0 4px 12px rgba(139, 0, 0, 0.3);
}

.swipe-progress-bar {
  width: 100%;
  height: 4px;
  background: rgba(255,255,255,0.2);
  border-radius: var(--radius-full);
  margin-bottom: 12px;
  overflow: hidden;
}

.swipe-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--yellow) 0%, var(--green) 100%);
  border-radius: var(--radius-full);
  transition: width 0.3s ease;
}

.swipe-progress-text {
  font-size: 14px;
  color: rgba(255,255,255,0.7);
  margin-bottom: 16px;
}

.swipe-card-stack {
  width: 100%;
  max-width: 320px;
  position: relative;
  margin-bottom: 20px;
}

.swipe-card {
  background: linear-gradient(145deg, #FFFFFF 0%, #F8F9FA 100%);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(0,0,0,0.25), 0 0 0 1px rgba(0,0,0,0.05);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.3s ease;
  border: 2px solid rgba(255,214,10,0.2);
}

.swipe-card.swipe-left {
  transform: translateX(-150%) rotate(-20deg) scale(0.8);
  opacity: 0;
}

.swipe-card.swipe-right {
  transform: translateX(150%) rotate(20deg) scale(0.8);
  opacity: 0;
}

.swipe-card-image {
  width: 100%;
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #FFFFFF 0%, #F8F9FA 100%);
  padding: 24px;
  position: relative;
  border-bottom: 3px solid var(--yellow);
}

.swipe-card-image::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 50% 50%, rgba(255,214,10,0.1) 0%, transparent 70%);
  pointer-events: none;
}

.swipe-card-image img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 4px 12px rgba(0,0,0,0.15));
  position: relative;
  z-index: 1;
}

.swipe-card-content {
  padding: 24px;
  background: linear-gradient(180deg, #FFFFFF 0%, #F8F9FA 100%);
}

.swipe-product-name {
  font-size: 17px;
  font-weight: 800;
  color: var(--red);
  margin-bottom: 16px;
  text-align: center;
  letter-spacing: -0.3px;
  line-height: 1.3;
}

.swipe-benefits {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.swipe-benefits li {
  font-size: 11px;
  font-weight: 600;
  color: #1a1a1a;
  padding: 10px 12px 10px 36px;
  background: rgba(255,214,10,0.08);
  border-radius: 8px;
  border: 1px solid rgba(255,214,10,0.2);
  display: block;
  position: relative;
  transition: all 0.2s ease;
  line-height: 1.4;
}

.swipe-benefits li:hover {
  background: rgba(255,214,10,0.15);
  border-color: rgba(255,214,10,0.4);
  transform: translateY(-2px);
}

.swipe-benefits li::before {
  content: '✓';
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  background: var(--green);
  color: white;
  font-weight: bold;
  font-size: 10px;
  border-radius: 50%;
}

.swipe-result {
  margin-top: 12px;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 600;
  text-align: center;
}

.swipe-result.interested {
  background: rgba(0,200,83,0.15);
  color: var(--green);
}

.swipe-result.not-interested {
  background: rgba(217,4,41,0.1);
  color: var(--red);
}

.swipe-actions {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-bottom: 20px;
}

.swipe-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 32px;
  border: none;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.swipe-btn:active {
  transform: scale(0.95);
}

.swipe-btn.swipe-no {
  background: linear-gradient(135deg, #FF1744 0%, #D90429 100%);
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.2);
}

.swipe-btn.swipe-no:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(217,4,41,0.4);
}

.swipe-btn.swipe-yes {
  background: linear-gradient(135deg, #00E676 0%, #00C853 100%);
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.2);
}

.swipe-btn.swipe-yes:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0,200,83,0.4);
}

.swipe-nav-dots {
  display: flex;
  gap: 8px;
  justify-content: center;
}

.swipe-dot {
  width: 10px;
  height: 10px;
  border-radius: var(--radius-full);
  background: rgba(255,255,255,0.3);
  cursor: pointer;
  transition: all 0.2s ease;
}

.swipe-dot.active {
  background: var(--yellow);
  transform: scale(1.2);
}

.swipe-dot.answered {
  background: var(--green);
}

/* =============================================================
   PLATE INPUT STYLING
   ============================================================= */
.plate-text-row {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.plate-input {
  font-family: 'Courier New', monospace;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-align: center;
}

.char-limit {
  font-size: 11px;
  color: rgba(255,255,255,0.5);
  text-align: right;
  margin-top: 6px;
}

/* =============================================================
   GPS REFRESH BUTTON
   ============================================================= */
.gps-buttons {
  display: flex;
  gap: 10px;
  margin-bottom: 16px;
}

.gps-status-main {
  font-size: 14px;
  font-weight: 600;
  color: var(--yellow);
  margin-bottom: 12px;
  text-align: center;
}

.gps-refresh-btn {
  flex: 0 0 auto;
}

/* =============================================================
   PROFESSIONAL CAMERA BUTTONS
   ============================================================= */
.btn-camera {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 24px;
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
  border: 2px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-lg);
  color: var(--white);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.btn-camera:hover {
  background: linear-gradient(135deg, #16213e 0%, #0f3460 100%);
  border-color: var(--yellow);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.4);
}

.btn-camera svg {
  flex-shrink: 0;
}

.btn-camera.btn-capture {
  background: linear-gradient(135deg, var(--green) 0%, var(--green-dark) 100%);
  border-color: var(--green);
  animation: pulse-capture 1.5s infinite;
}

@keyframes pulse-capture {
  0%, 100% { box-shadow: 0 4px 15px rgba(0,200,83,0.3); }
  50% { box-shadow: 0 4px 25px rgba(0,200,83,0.6); }
}

.btn-camera.btn-retake {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.2);
  padding: 12px 18px;
  font-size: 13px;
}

.btn-camera.btn-retake:hover {
  background: rgba(255,255,255,0.15);
  border-color: rgba(255,255,255,0.3);
}

.photo-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 16px;
}

.photo-preview {
  width: 100%;
  max-width: 320px;
  border-radius: var(--radius-lg);
  margin: 0 auto;
  display: block;
  box-shadow: var(--shadow-md);
}

.photo-video {
  width: 100%;
  max-width: 320px;
  border-radius: var(--radius-lg);
  margin: 0 auto;
  display: block;
}

/* =============================================================
   REFUSAL CHECKBOX BELOW INPUT (SMALLER)
   ============================================================= */
.refusal-row-below {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.refusal-label-small {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-size: 12px;
  color: rgba(255,255,255,0.6);
}

.refusal-label-small input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: var(--yellow);
}

.quality-warning-small {
  font-size: 11px;
  color: var(--yellow);
  margin-top: 6px;
  margin-left: 24px;
}

/* =============================================================
   TEXTAREA STYLING
   ============================================================= */
.textarea-block {
  width: 100%;
}

.textarea-input {
  width: 100%;
  padding: 14px 16px;
  background: rgba(0,0,0,0.4);
  border: 2px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-md);
  color: var(--white);
  font-size: 15px;
  font-family: inherit;
  resize: vertical;
  min-height: 100px;
}

.textarea-input:focus {
  outline: none;
  border-color: var(--yellow);
}

.textarea-input::placeholder {
  color: rgba(255,255,255,0.4);
}

/* =============================================================
   ALL ANSWERED MESSAGE (SWIPE CARDS)
   ============================================================= */
.all-answered {
  color: var(--green);
  font-weight: 700;
  font-size: 16px;
}

/* =============================================================
   IMPROVED PLATE INPUT
   ============================================================= */
.plate-input {
  font-family: 'SF Mono', 'Monaco', 'Inconsolata', 'Roboto Mono', monospace;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  text-align: center;
  background: rgba(0,0,0,0.5);
  border: 2px solid rgba(255,255,255,0.2);
  padding: 16px 20px;
}

.plate-input:focus {
  border-color: var(--yellow);
  background: rgba(0,0,0,0.6);
}

.plate-text-row {
  margin-top: 20px;
}

.plate-text-row label {
  display: block;
  font-size: 13px;
  color: rgba(255,255,255,0.7);
  margin-bottom: 8px;
}

/* =============================================================
   IMPROVED MODERN INPUT
   ============================================================= */
.modern-input {
  width: 100%;
  padding: 14px 16px;
  background: rgba(0,0,0,0.4);
  border: 2px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-md);
  color: var(--white);
  font-size: 16px;
  transition: all 0.2s ease;
}

.modern-input:focus {
  outline: none;
  border-color: var(--yellow);
  background: rgba(0,0,0,0.5);
}

.modern-input::placeholder {
  color: rgba(255,255,255,0.4);
}

.modern-input:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* =============================================================
   PHONE INPUT IMPROVEMENTS
   ============================================================= */
.phone-block {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.phone-input {
  font-size: 18px;
  letter-spacing: 1px;
}

.phone-badge {
  font-size: 12px;
  color: rgba(255,255,255,0.5);
  text-align: right;
}

.phone-badge.valid {
  color: var(--green);
  font-weight: 600;
}
/* FORCE ICON SPACING FOR INPUTS WITH ICONS */
.input-wrapper .modern-input {
  padding-left: 52px !important;
}

/* =============================================================
   CONFIRMATION MESSAGE (Q8 - Self Cooking Confirmation)
   ============================================================= */
.confirmation-message {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 32px 24px;
  background: linear-gradient(135deg, rgba(0,200,83,0.15) 0%, rgba(0,168,68,0.1) 100%);
  border: 2px solid var(--green);
  border-radius: var(--radius-lg);
  text-align: center;
}

.confirmation-icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, var(--green) 0%, var(--green-dark) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  color: var(--white);
  margin-bottom: 16px;
  box-shadow: 0 4px 20px rgba(0,200,83,0.4);
}

.confirmation-text {
  font-size: 16px;
  font-weight: 600;
  color: var(--white);
  line-height: 1.5;
}

/* =============================================================
   PHONE WITH NOTE (Q8b - Supplier Phone with Info)
   ============================================================= */
.phone-note {
  background: rgba(255,214,10,0.1);
  border: 1px solid rgba(255,214,10,0.3);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  margin-top: 12px;
  font-size: 13px;
  color: var(--yellow);
  line-height: 1.5;
}

/* =============================================================
   PLATE DISPLAY ROW (Q3 - Number Plate Validation)
   ============================================================= */
.plate-display-row {
  margin-top: 16px;
  padding: 16px;
  background: rgba(255,214,10,0.1);
  border: 2px solid rgba(255,214,10,0.3);
  border-radius: var(--radius-md);
}

.plate-display-row label {
  display: block;
  font-size: 12px;
  color: rgba(255,255,255,0.7);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.displayed-plate {
  font-family: 'SF Mono', 'Monaco', 'Inconsolata', 'Roboto Mono', monospace;
  font-size: 24px;
  font-weight: 800;
  color: var(--yellow);
  letter-spacing: 4px;
  text-align: center;
  padding: 12px;
  background: rgba(0,0,0,0.4);
  border-radius: var(--radius-sm);
}

.plate-warning {
  color: #ff4444;
  font-size: 13px;
  font-weight: 600;
  margin-top: 8px;
  padding: 8px 12px;
  background: rgba(255,68,68,0.1);
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255,68,68,0.3);
}

/* =============================================================
   CAMERA SWITCH BUTTON
   ============================================================= */
.btn-camera.btn-switch {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.2);
  padding: 12px 18px;
  font-size: 13px;
}

.btn-camera.btn-switch:hover {
  background: rgba(255,255,255,0.15);
  border-color: var(--yellow);
}

/* =============================================================
   DISABLED STATE FOR PLATE TEXT ROW
   ============================================================= */
.plate-text-row.disabled {
  opacity: 0.4;
  pointer-events: none;
}
