/**
 * GÖKÇE HOSPITALITY V2 — HIGH-THROUGHPUT WIZARD & WORKBENCH STYLES
 * Specification: GÖKÇE HOSPITALITY V2 HIGH THROUGHPUT & GUEST JOURNEY
 */

:root {
  --wiz-bg: #070d18;
  --wiz-panel-bg: #0b1528;
  --wiz-card-bg: #0e1c36;
  --wiz-border: rgba(255, 255, 255, 0.08);
  --wiz-border-active: #0284c7;
  --wiz-primary: #0284c7;
  --wiz-primary-hover: #0369a1;
  --wiz-accent: #38bdf8;
  --wiz-success: #22c55e;
  --wiz-warning: #f59e0b;
  --wiz-danger: #ef4444;
  --wiz-text: #f8fafc;
  --wiz-text-muted: #94a3b8;
  --wiz-text-faint: #64748b;
  --wiz-font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

/* Universal Command Palette (Ctrl+K) */
.cmd-palette-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  z-index: 10000;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding-top: 15vh;
}

.cmd-palette-box {
  background: #091222;
  border: 1px solid rgba(56, 189, 248, 0.3);
  border-radius: 12px;
  width: 90%;
  max-width: 640px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.9), 0 0 30px rgba(2, 132, 199, 0.2);
  overflow: hidden;
  animation: cmdPop 0.15s ease-out;
}

@keyframes cmdPop {
  from { opacity: 0; transform: scale(0.96); }
  to { opacity: 1; transform: scale(1); }
}

.cmd-palette-input {
  width: 100%;
  padding: 16px 20px;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--wiz-border);
  color: #fff;
  font-size: 16px;
  outline: none;
  box-sizing: border-box;
}

.cmd-palette-results {
  max-height: 360px;
  overflow-y: auto;
  padding: 8px;
}

.cmd-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  border-radius: 6px;
  color: var(--wiz-text-muted);
  cursor: pointer;
  transition: all 0.1s ease;
  font-size: 13.5px;
}

.cmd-item:hover, .cmd-item.selected {
  background: rgba(2, 132, 199, 0.2);
  color: #fff;
}

.cmd-item-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.cmd-item-icon {
  font-size: 18px;
}

.cmd-item-badge {
  font-size: 11px;
  background: rgba(255, 255, 255, 0.08);
  padding: 2px 6px;
  border-radius: 4px;
  color: var(--wiz-text-faint);
}

/* Reception Quick Action Bar */
.quick-action-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #091325;
  border: 1px solid var(--wiz-border);
  padding: 10px 16px;
  border-radius: 8px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.quick-action-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--wiz-border);
  color: #fff;
  font-size: 12.5px;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.15s ease;
}

.quick-action-btn:hover {
  background: rgba(2, 132, 199, 0.2);
  border-color: var(--wiz-accent);
  transform: translateY(-1px);
}

.quick-action-btn.primary {
  background: var(--wiz-primary);
  border-color: var(--wiz-primary);
}

.quick-action-btn.primary:hover {
  background: var(--wiz-primary-hover);
}

.quick-action-hotkey {
  font-size: 10px;
  background: rgba(0, 0, 0, 0.3);
  padding: 2px 5px;
  border-radius: 3px;
  color: var(--wiz-accent);
}

/* Adaptive Three-Panel Wizard Container */
.wiz-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(10px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.wiz-modal-container {
  background: var(--wiz-panel-bg);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  width: 96%;
  max-width: 1280px;
  height: 88vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.95);
  overflow: hidden;
}

.wiz-header {
  padding: 16px 24px;
  background: #091222;
  border-bottom: 1px solid var(--wiz-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.wiz-title-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
}

.wiz-title {
  font-size: 17px;
  font-weight: 700;
  color: #fff;
}

.wiz-tag {
  font-size: 11px;
  background: rgba(2, 132, 199, 0.2);
  color: var(--wiz-accent);
  padding: 3px 8px;
  border-radius: 4px;
  border: 1px solid rgba(56, 189, 248, 0.3);
}

.wiz-hold-timer {
  font-size: 12px;
  font-weight: 600;
  color: #f59e0b;
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(245, 158, 11, 0.1);
  padding: 4px 10px;
  border-radius: 6px;
  border: 1px solid rgba(245, 158, 11, 0.3);
}

.wiz-close-btn {
  background: transparent;
  border: none;
  color: var(--wiz-text-muted);
  font-size: 20px;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 4px;
}
.wiz-close-btn:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

/* Three Panel Body */
.wiz-body-grid {
  flex: 1;
  display: grid;
  grid-template-columns: 280px 1fr 320px;
  overflow: hidden;
}

.wiz-panel-left {
  background: #08101d;
  border-right: 1px solid var(--wiz-border);
  padding: 20px;
  overflow-y: auto;
}

.wiz-panel-center {
  background: var(--wiz-bg);
  padding: 24px 32px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}

.wiz-panel-right {
  background: #08101d;
  border-left: 1px solid var(--wiz-border);
  padding: 20px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* Stepper Progress Bar */
.wiz-stepper {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 16px;
}

.wiz-step-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--wiz-text-faint);
  font-weight: 500;
}

.wiz-step-item.active {
  color: #fff;
  font-weight: 700;
}

.wiz-step-item.completed {
  color: #22c55e;
}

.wiz-step-num {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
}

.wiz-step-item.active .wiz-step-num {
  background: var(--wiz-primary);
  color: #fff;
}

.wiz-step-item.completed .wiz-step-num {
  background: #22c55e;
  color: #000;
}

/* Form Elements */
.wiz-field-group {
  margin-bottom: 18px;
}

.wiz-label {
  display: block;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--wiz-text-muted);
  margin-bottom: 6px;
}

.wiz-input {
  width: 100%;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--wiz-border);
  border-radius: 6px;
  color: #fff;
  font-size: 14px;
  outline: none;
  box-sizing: border-box;
  transition: all 0.15s ease;
}

.wiz-input:focus {
  border-color: var(--wiz-accent);
  background: rgba(2, 132, 199, 0.08);
}

/* Card Selection Grid */
.wiz-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 12px;
  margin-top: 12px;
}

.wiz-select-card {
  background: var(--wiz-card-bg);
  border: 1px solid var(--wiz-border);
  border-radius: 8px;
  padding: 16px;
  cursor: pointer;
  transition: all 0.15s ease;
  user-select: none;
}

.wiz-select-card:hover {
  border-color: rgba(56, 189, 248, 0.4);
  background: rgba(2, 132, 199, 0.1);
}

.wiz-select-card.selected {
  border-color: var(--wiz-accent);
  background: rgba(2, 132, 199, 0.2);
  box-shadow: 0 0 16px rgba(2, 132, 199, 0.3);
}

/* Split Payment Table */
.wiz-split-row {
  display: grid;
  grid-template-columns: 1fr 140px 160px 36px;
  gap: 8px;
  align-items: center;
  margin-bottom: 8px;
}

/* Why Blocker Modal */
.why-blocker-box {
  background: #180d12;
  border: 1px solid rgba(239, 68, 68, 0.4);
  border-radius: 10px;
  padding: 20px;
  margin-top: 16px;
}

.why-blocker-title {
  color: #ef4444;
  font-size: 15px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
}

.why-blocker-desc {
  font-size: 13px;
  color: #cbd5e1;
  margin-top: 6px;
  line-height: 1.5;
}
