/* ============================================================
   B2B HIZLI TOPLU SİPARİŞ (QUICK ORDER) STİLLERİ
   ============================================================ */

/* Header Butonu */
.sk-header__quick-order-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 212, 0, 0.12);
  border: 1px solid rgba(255, 212, 0, 0.4);
  color: #FFD400;
  padding: 8px 14px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s ease;
  margin-right: 8px;
}

.sk-header__quick-order-btn:hover {
  background: #FFD400;
  border-color: #FFC800;
  color: #121212;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(255, 212, 0, 0.25);
}

.sk-quick-order-flash {
  font-size: 14px;
}

/* Sayfa Başlığı */
.sk-qo-header {
  margin-bottom: 24px;
}

.sk-qo-header__badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 212, 0, 0.1);
  border: 1px solid rgba(255, 212, 0, 0.3);
  color: #FFD400;
  font-size: 11px;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 8px;
  letter-spacing: 0.5px;
}

.sk-qo-header__title {
  font-size: 26px;
  font-weight: 800;
  color: #ffffff;
  margin: 0 0 6px;
}

.sk-qo-header__desc {
  color: #94a3b8;
  font-size: 14px;
  max-width: 800px;
  margin: 0;
  line-height: 1.5;
}

/* Izgara Düzeni (Sol: Giriş, Sağ: Tablo) */
.sk-qo-grid {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 24px;
  align-items: start;
}

@media (max-width: 991px) {
  .sk-qo-grid {
    grid-template-columns: 1fr;
  }
}

/* Kart Yapısı */
.sk-qo-card {
  background: #1c222b;
  border: 1px solid #2d3748;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
}

.sk-qo-card__header {
  padding: 16px 20px;
  background: #161b22;
  border-bottom: 1px solid #2d3748;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}

.sk-qo-card__title-box {
  display: flex;
  align-items: center;
  gap: 10px;
}

.sk-qo-step-num {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #FFD400;
  color: #121212;
  font-size: 12px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sk-qo-card__title {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 8px;
}

.sk-qo-count-badge {
  background: #FFD400;
  color: #121212;
  padding: 2px 8px;
  border-radius: 12px;
  font-size: 11px;
  font-weight: 800;
}

.sk-qo-format-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: #252e3d;
  color: #94a3b8;
  padding: 3px 8px;
  border-radius: 6px;
  font-size: 11px;
}

.sk-qo-card__body {
  padding: 20px;
}

.sk-qo-card__body--table {
  padding: 0;
}

/* Textarea */
.sk-qo-textarea-wrap {
  margin-bottom: 16px;
}

.sk-qo-textarea {
  width: 100%;
  box-sizing: border-box;
  background: #13171e;
  border: 1px solid #364152;
  border-radius: 8px;
  color: #f1f5f9;
  font-family: 'Consolas', 'Courier New', monospace;
  font-size: 13px;
  line-height: 1.6;
  padding: 12px;
  resize: vertical;
  min-height: 180px;
  outline: none;
  transition: border-color 0.2s ease;
}

.sk-qo-textarea:focus {
  border-color: #FFD400;
  box-shadow: 0 0 0 2px rgba(255, 212, 0, 0.15);
}

.sk-qo-actions-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.sk-qo-parse-btn {
  flex: 1;
  min-width: 160px;
  height: 42px;
  background: #FFD400;
  border: none;
  border-radius: 6px;
  color: #121212;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.2s ease;
}

.sk-qo-parse-btn:hover {
  background: #FFC800;
  transform: translateY(-1px);
}

.sk-qo-btn-sample {
  height: 42px;
  padding: 0 14px;
  background: transparent;
  border: 1px solid #364152;
  border-radius: 6px;
  color: #cbd5e1;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s ease;
}

.sk-qo-btn-sample:hover {
  border-color: #FFD400;
  color: #FFD400;
}

.sk-qo-btn-clear {
  height: 42px;
  padding: 0 10px;
  background: transparent;
  border: none;
  color: #64748b;
  font-size: 12px;
  cursor: pointer;
}

.sk-qo-btn-clear:hover {
  color: #ef4444;
}

/* Format Rehberi */
.sk-qo-helper-box {
  background: #14181f;
  border-left: 3px solid #FFD400;
  padding: 10px 12px;
  border-radius: 0 6px 6px 0;
  font-size: 12px;
}

.sk-qo-helper-title {
  color: #e2e8f0;
  font-weight: 700;
  display: block;
  margin-bottom: 4px;
}

.sk-qo-helper-examples {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.sk-qo-helper-examples code {
  color: #38bdf8;
  background: rgba(56, 189, 248, 0.1);
  padding: 2px 6px;
  border-radius: 4px;
  display: inline-block;
  font-size: 11px;
}

.sk-qo-helper-examples em {
  color: #94a3b8;
  font-size: 11px;
}

/* Boş Durum & Yükleniyor */
.sk-qo-empty {
  text-align: center;
  padding: 60px 20px;
  color: #64748b;
}

.sk-qo-empty__icon {
  font-size: 40px;
  margin-bottom: 10px;
}

.sk-qo-empty__title {
  font-size: 16px;
  font-weight: 700;
  color: #cbd5e1;
  margin: 0 0 6px;
}

.sk-qo-empty__desc {
  font-size: 13px;
  margin: 0;
}

.sk-qo-loading {
  text-align: center;
  padding: 50px 20px;
  color: #cbd5e1;
}

.sk-qo-spinner {
  width: 36px;
  height: 36px;
  border: 3px solid rgba(255, 212, 0, 0.2);
  border-top-color: #FFD400;
  border-radius: 50%;
  animation: sk-qo-spin 0.8s linear infinite;
  margin: 0 auto 12px;
}

@keyframes sk-qo-spin {
  to { transform: rotate(360deg); }
}

/* Tablo Yapısı */
.sk-qo-table-wrap {
  width: 100%;
  overflow-x: auto;
  max-height: 420px;
}

.sk-qo-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  text-align: left;
}

.sk-qo-table th {
  background: #14181f;
  color: #94a3b8;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  padding: 10px 14px;
  border-bottom: 1px solid #2d3748;
  position: sticky;
  top: 0;
  z-index: 2;
}

.sk-qo-table td {
  padding: 10px 14px;
  border-bottom: 1px solid #252d3a;
  vertical-align: middle;
}

.sk-qo-thumb-img {
  width: 42px;
  height: 42px;
  object-fit: contain;
  background: #14181f;
  border-radius: 6px;
  display: block;
}

.sk-qo-sku-badge {
  display: inline-block;
  background: #252e3d;
  color: #FFD400;
  font-family: monospace;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 4px;
  margin-bottom: 2px;
}

.sk-qo-pname {
  display: block;
  color: #e2e8f0;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
}

.sk-qo-pname:hover {
  color: #FFD400;
}

.sk-qo-pname--error {
  color: #ef4444;
}

.sk-qo-row-qty {
  width: 60px;
  height: 32px;
  background: #14181f;
  border: 1px solid #364152;
  border-radius: 6px;
  color: #ffffff;
  text-align: center;
  font-size: 13px;
  font-weight: 700;
  outline: none;
}

.sk-qo-row-qty:focus {
  border-color: #FFD400;
}

.sk-qo-row-total {
  font-weight: 700;
  color: #FFD400;
}

.sk-qo-status-badge {
  display: inline-block;
  padding: 3px 8px;
  border-radius: 12px;
  font-size: 11px;
  font-weight: 700;
}

.sk-qo-status-badge.status-ok {
  background: rgba(34, 197, 94, 0.15);
  color: #22c55e;
  border: 1px solid rgba(34, 197, 94, 0.3);
}

.sk-qo-status-badge.status-warning {
  background: rgba(245, 158, 11, 0.15);
  color: #f59e0b;
  border: 1px solid rgba(245, 158, 11, 0.3);
}

.sk-qo-status-badge.status-out,
.sk-qo-status-badge.status-error {
  background: rgba(239, 68, 68, 0.15);
  color: #ef4444;
  border: 1px solid rgba(239, 68, 68, 0.3);
}

.sk-qo-remove-row {
  background: transparent;
  border: none;
  color: #64748b;
  font-size: 14px;
  cursor: pointer;
  padding: 4px;
}

.sk-qo-remove-row:hover {
  color: #ef4444;
}

/* Kart Altı & Toplamlar */
.sk-qo-card__footer {
  padding: 16px 20px;
  background: #161b22;
  border-top: 1px solid #2d3748;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.sk-qo-totals {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.sk-qo-total-item {
  font-size: 13px;
  color: #94a3b8;
}

.sk-qo-total-item strong {
  color: #ffffff;
  font-size: 15px;
  margin-left: 4px;
}

.sk-qo-total-item--price strong {
  color: #FFD400;
  font-size: 18px;
}

.sk-qo-submit-btn {
  min-width: 260px;
  height: 48px;
  background: #FFD400;
  border: none;
  border-radius: 8px;
  color: #121212;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.2s ease;
}

.sk-qo-submit-btn:hover {
  background: #FFC800;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 212, 0, 0.35);
}

.sk-qo-submit-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.sk-qo-submit-btn.sk-btn--success {
  background: #22c55e !important;
  color: #ffffff !important;
}
