/* ═════════════════════════════════════════════════════════════════════════
   GÖKÇEOS PMS ENTRY WIZARDS & KIOSK SHARED STYLES (G-098)
   Müşteri Girişi · Rezervasyon Girişi · Grup Girişi · Kurumsal Giriş
   ═════════════════════════════════════════════════════════════════════════ */

/* Modal Backdrop */
.gkv2-wizard-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(10, 15, 29, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  z-index: 99999999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  animation: gkv2FadeIn 0.2s ease-out;
  box-sizing: border-box;
}

@keyframes gkv2FadeIn {
  from { opacity: 0; transform: scale(0.98); }
  to { opacity: 1; transform: scale(1); }
}

/* Modal Shell */
.gkv2-wizard-modal-container {
  width: 100%;
  max-width: 980px;
  height: 88vh;
  max-height: 820px;
  background: #0a1122;
  border: 1.5px solid rgba(56, 189, 248, 0.4);
  border-radius: 14px;
  box-shadow: 0 25px 70px -10px rgba(0, 0, 0, 0.95), 0 0 32px rgba(56, 189, 248, 0.2);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  color: #f8fafc;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  box-sizing: border-box;
}

/* Modal Header & Command Bar */
.gkv2-wizard-header {
  padding: 12px 18px;
  min-height: 52px;
  max-height: 56px;
  background: linear-gradient(135deg, #0c1a32, #081020);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-shrink: 0;
  box-sizing: border-box;
}

.gkv2-wizard-header-title {
  display: flex;
  align-items: center;
  gap: 10px;
}

.gkv2-wizard-header-title h3 {
  margin: 0;
  font-size: 15px;
  font-weight: 800;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 8px;
  letter-spacing: 0.3px;
}

.gkv2-wizard-badge {
  font-size: 10.5px;
  padding: 2px 8px;
  border-radius: 9999px;
  font-weight: 700;
  background: rgba(56, 189, 248, 0.15);
  color: #38bdf8;
  border: 1px solid rgba(56, 189, 248, 0.3);
}

.gkv2-wizard-header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.gkv2-wizard-close-btn {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #cbd5e1;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 14px;
  font-weight: 900;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  outline: none;
}

.gkv2-wizard-close-btn:hover {
  background: rgba(239, 68, 68, 0.25);
  color: #ff8b8b;
  border-color: rgba(239, 68, 68, 0.5);
  transform: scale(1.1) rotate(90deg);
  box-shadow: 0 0 12px rgba(239, 68, 68, 0.4);
}

/* Disclaimer Banner */
.gkv2-wizard-disclaimer {
  background: rgba(2, 132, 199, 0.1);
  border-bottom: 1px solid rgba(56, 189, 248, 0.2);
  padding: 8px 18px;
  font-size: 11px;
  color: #94a3b8;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.gkv2-wizard-disclaimer strong {
  color: #38bdf8;
}

/* Main Body with Left Stepper & Right Workspace */
.gkv2-wizard-main-layout {
  display: flex;
  flex: 1;
  min-height: 0;
  overflow: hidden;
}

/* Left Stepper Column */
.gkv2-wizard-stepper-col {
  width: 220px;
  background: rgba(11, 19, 36, 0.7);
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  padding: 16px 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  overflow-y: auto;
  flex-shrink: 0;
}

.gkv2-wizard-step-node {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.15s ease;
  font-size: 11.5px;
  font-weight: 500;
  color: #64748b;
  border: 1px solid transparent;
}

.gkv2-wizard-step-node:hover {
  background: rgba(255, 255, 255, 0.04);
  color: #cbd5e1;
}

.gkv2-wizard-step-node.active {
  background: rgba(56, 189, 248, 0.12);
  color: #38bdf8;
  font-weight: 600;
  border-color: rgba(56, 189, 248, 0.3);
}

.gkv2-wizard-step-node.completed {
  color: #94a3b8;
}

.gkv2-wizard-step-badge {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: #94a3b8;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 700;
  flex-shrink: 0;
}

.gkv2-wizard-step-node.active .gkv2-wizard-step-badge {
  background: #38bdf8;
  color: #0f172a;
}

.gkv2-wizard-step-node.completed .gkv2-wizard-step-badge {
  background: rgba(34, 197, 94, 0.2);
  color: #4ade80;
  border: 1px solid rgba(34, 197, 94, 0.4);
}

/* Right Content Area */
.gkv2-wizard-content-col {
  flex: 1;
  padding: 20px 24px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}

.gkv2-wizard-step-pane {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.gkv2-wizard-pane-header {
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding-bottom: 10px;
  margin-bottom: 6px;
}

.gkv2-wizard-pane-header h4 {
  margin: 0 0 4px 0;
  font-size: 15px;
  font-weight: 700;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 8px;
}

.gkv2-wizard-pane-header p {
  margin: 0;
  font-size: 11.5px;
  color: #94a3b8;
}

/* Form Groups & Grids */
.gkv2-wizard-form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 12px;
}

.gkv2-wizard-form-group {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.gkv2-wizard-form-group label {
  font-size: 11px;
  font-weight: 600;
  color: #cbd5e1;
}

.gkv2-wizard-input,
.gkv2-wizard-select,
.gkv2-wizard-textarea {
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 6px;
  padding: 7px 10px;
  color: #ffffff;
  font-size: 12px;
  outline: none;
  transition: all 0.15s;
  width: 100%;
  box-sizing: border-box;
}

.gkv2-wizard-input:focus,
.gkv2-wizard-select:focus,
.gkv2-wizard-textarea:focus {
  border-color: #38bdf8;
  box-shadow: 0 0 0 2px rgba(56, 189, 248, 0.2);
}

/* Selection Cards (Stay types, Room options) */
.gkv2-wizard-selection-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 10px;
}

.gkv2-wizard-select-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  padding: 12px;
  cursor: pointer;
  transition: all 0.15s ease;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.gkv2-wizard-select-card:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(56, 189, 248, 0.3);
}

.gkv2-wizard-select-card.active {
  background: rgba(56, 189, 248, 0.12);
  border-color: #38bdf8;
  box-shadow: 0 0 12px rgba(56, 189, 248, 0.15);
}

.gkv2-wizard-select-card strong {
  font-size: 12.5px;
  color: #ffffff;
}

.gkv2-wizard-select-card span {
  font-size: 11px;
  color: #94a3b8;
}

.gkv2-wizard-select-card .price {
  font-size: 12px;
  font-weight: 700;
  color: #38bdf8;
  margin-top: 4px;
}

/* Summary Box */
.gkv2-wizard-summary-box {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.gkv2-wizard-summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11.5px;
  padding-bottom: 6px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.gkv2-wizard-summary-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
  padding-top: 4px;
}

.gkv2-wizard-summary-row span {
  color: #94a3b8;
}

.gkv2-wizard-summary-row strong {
  color: #ffffff;
}

.gkv2-wizard-summary-row.total strong {
  font-size: 14px;
  color: #38bdf8;
}

/* Checklist Items */
.gkv2-wizard-checklist {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.gkv2-wizard-check-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 11.5px;
}

.gkv2-wizard-check-item.warning {
  background: rgba(245, 158, 11, 0.06);
  border-color: rgba(245, 158, 11, 0.25);
  color: #fde68a;
}

.gkv2-wizard-check-item.success {
  background: rgba(34, 197, 94, 0.06);
  border-color: rgba(34, 197, 94, 0.25);
  color: #86efac;
}

/* Footer Navigation Bar */
.gkv2-wizard-footer {
  padding: 14px 22px;
  min-height: 60px;
  background: #080e1d;
  border-top: 1.5px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-shrink: 0;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.6);
  z-index: 20;
}

.gkv2-wizard-footer-left {
  display: flex;
  align-items: center;
  gap: 8px;
}

.gkv2-wizard-footer-right {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Quick Launch Strip in Reception & Kiosk */
.gkv2-quick-wizards-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 10px;
  margin-bottom: 14px;
}

.gkv2-quick-wizard-card {
  background: linear-gradient(135deg, rgba(30, 41, 59, 0.7) 0%, rgba(15, 23, 42, 0.9) 100%);
  border: 1px solid rgba(56, 189, 248, 0.2);
  border-radius: 8px;
  padding: 12px 14px;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  gap: 12px;
}

.gkv2-quick-wizard-card:hover {
  border-color: #38bdf8;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(56, 189, 248, 0.15);
}

.gkv2-quick-wizard-card .icon {
  font-size: 22px;
}

.gkv2-quick-wizard-card strong {
  display: block;
  font-size: 12.5px;
  color: #ffffff;
}

.gkv2-quick-wizard-card span {
  font-size: 10.5px;
  color: #94a3b8;
}

/* Kiosk Touch Enhancements */
.gkv2-kiosk-touch-wrapper .gkv2-wizard-select-card,
.gkv2-kiosk-touch-wrapper .gkv2-quick-wizard-card {
  padding: 16px;
  min-height: 60px;
}

.gkv2-kiosk-touch-wrapper button {
  min-height: 42px;
  padding: 8px 16px;
  font-size: 13px;
}

/* Responsive Rules */
@media (max-width: 800px) {
  .gkv2-wizard-main-layout {
    flex-direction: column;
    min-height: unset;
  }
  .gkv2-wizard-stepper-col {
    width: 100%;
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    flex-direction: row;
    padding: 10px;
    gap: 8px;
    overflow-x: auto;
    box-sizing: border-box;
  }
  .gkv2-wizard-step-node {
    flex-shrink: 0;
  }
  .gkv2-wizard-content-col {
    padding: 14px;
    max-height: 55vh;
  }
}

@media (max-width: 480px) {
  .gkv2-wizard-modal-backdrop {
    padding: 8px;
  }
  .gkv2-wizard-modal-container {
    max-height: 94vh;
    border-radius: 10px;
  }
  .gkv2-wizard-header {
    padding: 10px 14px;
  }
  .gkv2-wizard-header-title h3 {
    font-size: 13.5px;
  }
  .gkv2-wizard-disclaimer {
    font-size: 10px;
    padding: 6px 12px;
  }
  .gkv2-wizard-form-grid {
    grid-template-columns: 1fr;
  }
  .gkv2-wizard-selection-grid {
    grid-template-columns: 1fr;
  }
  .gkv2-wizard-footer {
    padding: 10px 12px;
    flex-wrap: wrap;
  }
  .gkv2-wizard-footer-right button,
  .gkv2-wizard-footer-left button {
    min-height: 44px;
    font-size: 12px;
    padding: 8px 14px;
  }
}
