/* Quick Sales Management System Styles */
#quick-sales-management-section {
  padding: 1rem 0;
  min-height: 100vh;
}

#quick-sales-management-section .dropdown-menu.show {
  z-index: 9999999;
}

/* Sales Panel Styles */
#quick-sales-management-section .sales-panel {
  background: #ffffff;
  border-radius: 20px;
  box-shadow: 0 4px 12px rgba(255, 98, 71, 0.12);
  border: 1px solid rgba(255, 98, 71, 0.1);
  overflow: hidden;
  height: fit-content;
  position: sticky;
  top: 1rem;
  contain: layout style paint;
}

#quick-sales-management-section .sales-header {
  background: linear-gradient(135deg, #ff6247, #ff8a75);
  padding: 1.5rem;
  color: white;
  position: relative;
  overflow: hidden;
}

#quick-sales-management-section .sales-header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 20"><defs><radialGradient id="a" cx="50%" cy="0%" r="100%"><stop offset="0%" stop-color="white" stop-opacity="0.1"/><stop offset="100%" stop-color="white" stop-opacity="0"/></radialGradient></defs><ellipse cx="50" cy="0" rx="50" ry="20" fill="url(%23a)"/></svg>');
  pointer-events: none;
}

#quick-sales-management-section .sales-title {
  font-size: 1.4rem;
  font-weight: 700;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

#quick-sales-management-section .sales-code-badge {
  background: rgba(255, 255, 255, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 15px;
  padding: 0.75rem 1.25rem;
  margin-top: 1rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* Shimmer animasyonu kaldırıldı - performans için */

#quick-sales-management-section .sales-code-info {
  font-size: 1.2rem;
  font-weight: 600;
  color: white;
}

#quick-sales-management-section .sales-adisyon-info {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 10px;
  padding: 0.5rem 0.75rem;
}

#quick-sales-management-section .sales-adisyon-number {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: white;
  font-weight: 500;
}

#quick-sales-management-section .sales-adisyon-number i {
  font-size: 1rem;
}

#quick-sales-management-section .sales-customer-name {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 10px;
  padding: 0.5rem;
}

#quick-sales-management-section .sales-name-input-wrapper {
  display: flex !important;
  flex-direction: row !important;
  gap: 0.4rem;
  align-items: center;
  width: 100%;
}

#quick-sales-management-section .sales-name-input {
  background: white;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 6px;
  padding: 0.4rem 0.6rem;
  font-size: 0.85rem;
  color: #333;
  flex: 1;
  width: auto !important;
  display: inline-block !important;
  transition: all 0.3s ease;
}

#quick-sales-management-section .sales-name-input:focus {
  outline: none;
  border-color: rgba(255, 255, 255, 0.6);
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.2);
}

#quick-sales-management-section .sales-name-save-btn {
  background: white;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 6px;
  padding: 0.4rem 0.6rem;
  color: #ff6247;
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease,
    box-shadow 0.2s ease;
  white-space: nowrap;
  display: flex !important;
  align-items: center;
  gap: 0.25rem;
  height: fit-content;
  flex-shrink: 0;
}

#quick-sales-management-section .sales-name-save-btn:hover {
  background: rgba(255, 255, 255, 0.95);
  border-color: rgba(255, 255, 255, 0.6);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

#quick-sales-management-section .sales-name-save-btn i {
  font-size: 0.8rem;
}

/* Paket Servis Alanı */
#quick-sales-management-section #paketServisAlan {
  margin-top: 0;
}

#quick-sales-management-section #paketServisAlan .sales-customer-name {
  margin-bottom: 12px;
}

#quick-sales-management-section #paketServisAlan .btn {
  width: 100%;
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: white;
  border-radius: 6px;
  padding: 0.4rem 0.6rem;
  font-size: 0.75rem;
  font-weight: 600;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
}

#quick-sales-management-section #paketServisAlan .btn:hover {
  background: rgba(255, 255, 255, 0.3);
  border-color: rgba(255, 255, 255, 0.6);
  transform: translateY(-1px);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

#quick-sales-management-section #paketServisAlan .btn i {
  font-size: 0.8rem;
}

#quick-sales-management-section .sales-content {
  padding: 0;
}

#quick-sales-management-section .sales-items-container::-webkit-scrollbar {
  width: 6px;
}

#quick-sales-management-section
  .sales-items-container::-webkit-scrollbar-track {
  background: transparent;
}

#quick-sales-management-section
  .sales-items-container::-webkit-scrollbar-thumb {
  background: rgba(255, 98, 71, 0.3);
  border-radius: 3px;
}

#quick-sales-management-section
  .sales-items-container::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 98, 71, 0.5);
}

/* Sales Item Styles */
#quick-sales-management-section .sales-item-row {
  display: flex;
  align-items: center;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid rgba(255, 98, 71, 0.08);
  transition: background-color 0.2s ease;
  cursor: pointer;
  position: relative;
  gap: 0.75rem;
}

#quick-sales-management-section .sales-item-row:hover {
  background: #fff4f3;
}

#quick-sales-management-section .sales-item-row:last-child {
  border-bottom: none;
}

#quick-sales-management-section .sales-image {
  width: 45px;
  height: 45px;
  min-width: 45px;
  min-height: 45px;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 3px 8px rgba(255, 98, 71, 0.15);
  transition: transform 0.3s ease;
}

#quick-sales-management-section .sales-item-row:hover .sales-image {
  transform: scale(1.05);
}

#quick-sales-management-section .sales-info {
  flex: 1;
  min-width: 0;
  padding-right: 0.5rem;
}

#quick-sales-management-section .sales-name {
  font-weight: 600;
  color: #1f2937;
  margin-bottom: 0.25rem;
  font-size: 0.85rem;
  line-height: 1.2;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#quick-sales-management-section .sales-name .quantity-badge {
  color: #ff6247;
  font-weight: 700;
  margin-left: 0.25rem;
}

#quick-sales-management-section .sales-status {
  font-size: 0.7rem;
  color: #ff6247;
  background: rgba(255, 98, 71, 0.1);
  padding: 0.15rem 0.4rem;
  border-radius: 6px;
  display: inline-block;
  margin-bottom: 0.25rem;
  font-weight: 500;
}

#quick-sales-management-section .sales-price {
  color: #ff6247;
  font-weight: 700;
  font-size: 0.85rem;
}

#quick-sales-management-section .sales-controls {
  display: flex;
  gap: 0.25rem;
  align-items: center;
  flex-shrink: 0;
}

#quick-sales-management-section .sales-control-btn {
  width: 28px;
  height: 28px;
  border: none;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: box-shadow 0.2s ease, background-color 0.2s ease;
  font-size: 0.75rem;
  cursor: pointer;
}

#quick-sales-management-section .sales-control-btn:hover {
  box-shadow: 0 2px 8px rgba(255, 98, 71, 0.2);
}

#quick-sales-management-section .sales-edit-btn {
  background: #e55641;
  color: white;
}

#quick-sales-management-section .sales-delete-btn {
  background: #ff6247;
  color: white;
}

/* Legacy Sales Item Support */
#quick-sales-management-section .siparis {
  display: flex;
  align-items: center;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid rgba(255, 98, 71, 0.08);
  transition: all 0.3s ease;
  cursor: pointer;
  position: relative;
  gap: 0.75rem;
  border-radius: 15px;
  margin-bottom: 0.5rem;
  box-shadow: 0 3px 8px rgba(255, 98, 71, 0.1);
}

#quick-sales-management-section .siparis:last-child {
  border-bottom: none;
}

#quick-sales-management-section .siparis .res {
  width: 45px;
  height: 45px;
  min-width: 45px;
  min-height: 45px;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(255, 98, 71, 0.12);
}

/* Transform scale kaldırıldı - performans için */

#quick-sales-management-section .siparis .bilgi {
  flex: 1;
  min-width: 0;
  padding-right: 0.5rem;
}

#quick-sales-management-section .siparis .bilgi .adi {
  font-weight: 600;
  color: #1f2937;
  margin-bottom: 0.25rem;
  font-size: 0.85rem;
  line-height: 1.2;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#quick-sales-management-section .siparis .bilgi .adi span {
  color: #ff6247;
  font-weight: 700;
  margin-right: 0.25rem;
}

#quick-sales-management-section .siparis .bilgi .durum {
  font-size: 0.7rem;
  color: #ff6247;
  background: rgba(255, 98, 71, 0.1);
  padding: 0.15rem 0.4rem;
  border-radius: 6px;
  display: inline-block;
  margin-bottom: 0.25rem;
  font-weight: 500;
}

#quick-sales-management-section .siparis .bilgi .fiyat {
  color: #ff6247;
  font-weight: 700;
  font-size: 0.85rem;
}

#quick-sales-management-section .siparis .bilgi .fiyat span {
  color: #ff6247;
  font-weight: 700;
}

/* Legacy Dropdown Button Support */
#quick-sales-management-section .siparis .btn-group {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

#quick-sales-management-section .siparis .btn-group .btn {
  width: 32px;
  height: 32px;
  border: none;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  font-size: 0.875rem;
  cursor: pointer;
  background: #e55641;
  color: white;
  padding: 0;
  z-index: 99999999;
}

#quick-sales-management-section .siparis .btn-group .btn:hover {
  transform: scale(1.1);
  box-shadow: 0 3px 8px rgba(255, 98, 71, 0.2);
  background: #ff6247;
}

/* Sales Footer */
#quick-sales-management-section .sales-footer {
  background: #fff4f3;
  padding: 1.5rem;
  border-top: 1px solid rgba(255, 98, 71, 0.1);
}

#quick-sales-management-section .sales-total-summary {
  background: white;
  border-radius: 15px;
  padding: 1.25rem;
  box-shadow: 0 2px 6px rgba(255, 98, 71, 0.08);
  margin-bottom: 1.5rem;
  contain: layout style;
}

#quick-sales-management-section .sales-total-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 0;
  border-bottom: 2px dashed rgba(255, 98, 71, 0.2);
}

#quick-sales-management-section .sales-total-text {
  font-weight: 600;
  color: #1f2937;
  font-size: 1.1rem;
}

#quick-sales-management-section .sales-total-value {
  font-weight: 800;
  color: #ff6247;
  font-size: 1.25rem;
}

#quick-sales-management-section .sales-payment-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

#quick-sales-management-section .sales-payment-choice {
  position: relative;
}

#quick-sales-management-section .sales-payment-choice input[type="radio"] {
  display: none;
}

#quick-sales-management-section .sales-payment-option {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem;
  background: white;
  border: 2px solid rgba(255, 98, 71, 0.2);
  border-radius: 15px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
  box-shadow: 0 2px 6px rgba(255, 98, 71, 0.08);
}

#quick-sales-management-section .sales-payment-option:hover {
  border-color: #ff6247;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(255, 98, 71, 0.15);
}

#quick-sales-management-section
  .sales-payment-choice
  input[type="radio"]:checked
  + .sales-payment-option {
  border-color: #ff6247;
  background: linear-gradient(
    135deg,
    rgba(255, 98, 71, 0.1),
    rgba(229, 86, 65, 0.05)
  );
  box-shadow: 0 5px 15px rgba(255, 98, 71, 0.2);
}

#quick-sales-management-section .sales-payment-symbol {
  font-size: 1.3rem;
  color: #e55641;
  transition: color 0.2s ease;
}

#quick-sales-management-section
  .sales-payment-choice
  input[type="radio"]:checked
  + .sales-payment-option
  .sales-payment-symbol {
  color: #ff6247;
}

#quick-sales-management-section .sales-payment-label {
  font-size: 0.8rem;
  font-weight: 500;
  color: #1f2937;
}

/* Legacy Summary Section Support */
#quick-sales-management-section .katman2 {
  background: #fff4f3;
  padding: 1.5rem;
  border-top: 1px solid rgba(255, 98, 71, 0.1);
  border-radius: 0 0 20px 20px;
}

#quick-sales-management-section .katman2ic {
  background: white;
  border-radius: 15px;
  padding: 1.25rem;
  box-shadow: 0 3px 8px rgba(255, 98, 71, 0.1);
  margin-bottom: 1.5rem;
}

#quick-sales-management-section .toplam {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 0;
  border-bottom: 2px dashed rgba(255, 98, 71, 0.2);
}

#quick-sales-management-section .toplam:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

#quick-sales-management-section .toplam b {
  font-weight: 600;
  color: #1f2937;
  font-size: 1rem;
}

#quick-sales-management-section .toplam span {
  font-weight: 700;
  color: #ff6247;
  font-size: 1.1rem;
}

/* Quick Menu Controls */
#quick-sales-management-section .quick-menu-controls {
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px);
  border-radius: 20px;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 10px 30px rgba(255, 98, 71, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.4);
}

#quick-sales-management-section .quick-category-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

#quick-sales-management-section .quick-category-tab {
  padding: 0.6rem 1.2rem;
  border-radius: 25px;
  border: 2px solid rgba(255, 98, 71, 0.2);
  background: white;
  color: #1f2937;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
}

#quick-sales-management-section .quick-category-tab::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 98, 71, 0.1),
    transparent
  );
  transition: left 0.6s ease;
}

#quick-sales-management-section .quick-category-tab:hover::before {
  left: 100%;
}

#quick-sales-management-section .quick-category-tab:hover {
  background: #ff6247;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(255, 98, 71, 0.2);
  text-decoration: none;
  border-color: #ff6247;
}

#quick-sales-management-section .active-quick-tab {
  background: linear-gradient(135deg, #ff6247, #e55641);
  color: white;
  border-color: #ff6247;
  box-shadow: 0 5px 15px rgba(255, 98, 71, 0.3);
}

/* Quick Search Wrapper */
#quick-sales-management-section .quick-search-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

#quick-sales-management-section .quick-search-field {
  width: 100%;
  padding: 1rem 1rem 1rem 3rem;
  border: 2px solid rgba(255, 98, 71, 0.2);
  border-radius: 20px;
  font-size: 1rem;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
  box-shadow: 0 3px 8px rgba(255, 98, 71, 0.08);
}

#quick-sales-management-section .quick-search-field:focus {
  outline: none;
  border-color: #ff6247;
  box-shadow: 0 0 0 4px rgba(255, 98, 71, 0.1);
  background: white;
}

#quick-sales-management-section .quick-search-icon {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: #e55641;
  font-size: 1.1rem;
  z-index: 1;
}

/* Barkod Okut Butonu (Hızlı Satış) */
#quick-sales-management-section .barkod-okut-btn {
  padding: 1rem 1.25rem;
  background: linear-gradient(135deg, #ff6247, #ff8a75);
  color: white;
  border: none;
  border-radius: 20px;
  font-size: 1.2rem;
  cursor: pointer;
  transition: background 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 2px 6px rgba(255, 98, 71, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 50px;
  height: 50px;
  flex-shrink: 0;
}

#quick-sales-management-section .barkod-okut-btn:hover {
  background: linear-gradient(135deg, #e55641, #ff7a66);
  box-shadow: 0 3px 12px rgba(255, 98, 71, 0.3);
}

/* Quick Menu Grid */
#quick-sales-management-section .quick-menu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.25rem;
  margin-top: 1.5rem;
}

/* Quick Menu Item Styles */
#quick-sales-management-section .quick-menu-item {
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  cursor: pointer;
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  contain: layout style;
}

#quick-sales-management-section .quick-menu-item:hover {
  border-color: #fe6447;
  box-shadow: 0 3px 15px rgba(254, 100, 71, 0.15);
}

#quick-sales-management-section .quick-menu-card,
#quick-sales-management-section .quick-add-card {
  background: linear-gradient(135deg, #fafafa 0%, #ffffff 100%);
  position: relative;
  flex: 1;
  display: flex;
  align-items: center;
  cursor: pointer;
  gap: 16px;
  border-radius: 12px;
  margin: 8px;
}

#quick-sales-management-section .quick-menu-image {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: 14px;
  box-shadow: 0 4px 12px rgba(254, 100, 71, 0.2);
  flex-shrink: 0;
  border: 2px solid rgba(254, 100, 71, 0.1);
}

#quick-sales-management-section .quick-menu-details {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

#quick-sales-management-section .quick-menu-name {
  font-size: 16px;
  font-weight: 600;
  color: #1f2937;
  margin-bottom: 0;
  line-height: 1.3;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#quick-sales-management-section .quick-menu-price {
  font-size: 20px;
  font-weight: 700;
  color: #fe6447;
  display: flex;
  align-items: center;
  gap: 2px;
}

/* Comprehensive Responsive Grid System */

/* Large Desktop (1601px+) - Ultra Wide */
@media (min-width: 1601px) {
  #quick-sales-management-section .quick-menu-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    max-width: 1800px;
    margin: 0 auto;
  }
}

/* Desktop XL (1401px - 1600px) */
@media (min-width: 1401px) and (max-width: 1600px) {
  #quick-sales-management-section .quick-menu-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
  }
}

/* Desktop Large (1301px - 1400px) */
@media (min-width: 1301px) and (max-width: 1400px) {
  #quick-sales-management-section .quick-menu-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }
}

/* Desktop Standard (1025px - 1300px) - POS Tablets/Small Desktops */
@media (min-width: 1025px) and (max-width: 1300px) {
  #quick-sales-management-section .quick-menu-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  #quick-sales-management-section .quick-menu-card {
    padding: 18px;
    gap: 14px;
  }

  #quick-sales-management-section .quick-menu-image {
    width: 56px;
    height: 56px;
  }

  #quick-sales-management-section .quick-menu-name {
    font-size: 15px;
  }

  #quick-sales-management-section .quick-menu-price {
    font-size: 16px;
  }
}

/* Tablet Large (769px - 1024px) - Large POS Tablets */
@media (min-width: 769px) and (max-width: 1024px) {
  #quick-sales-management-section .quick-menu-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }

  #quick-sales-management-section .quick-menu-card {
    padding: 16px;
    gap: 12px;
  }

  #quick-sales-management-section .quick-menu-image {
    width: 52px;
    height: 52px;
  }

  #quick-sales-management-section .quick-menu-name {
    font-size: 14px;
  }

  #quick-sales-management-section .quick-menu-price {
    font-size: 15px;
  }
}

/* Tablet Standard (577px - 768px) - Standard Tablets */
@media (min-width: 577px) and (max-width: 768px) {
  #quick-sales-management-section .quick-menu-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }

  #quick-sales-management-section .quick-menu-card {
    padding: 16px;
    gap: 12px;
    flex-direction: column;
    text-align: center;
  }

  #quick-sales-management-section .quick-menu-image {
    width: 60px;
    height: 60px;
    align-self: center;
  }

  #quick-sales-management-section .quick-menu-name {
    font-size: 14px;
    white-space: normal;
    text-overflow: initial;
    overflow: visible;
    text-align: center;
  }

  #quick-sales-management-section .quick-menu-price {
    font-size: 16px;
    justify-content: center;
  }
}

/* Mobile Large (481px - 576px) */
@media (min-width: 481px) and (max-width: 576px) {
  #quick-sales-management-section .quick-menu-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  #quick-sales-management-section .quick-menu-card {
    padding: 14px;
    gap: 10px;
    flex-direction: column;
    text-align: center;
  }

  #quick-sales-management-section .quick-menu-image {
    width: 56px;
    height: 56px;
    align-self: center;
  }

  #quick-sales-management-section .quick-menu-name {
    font-size: 13px;
    white-space: normal;
    text-overflow: initial;
    overflow: visible;
    text-align: center;
    line-height: 1.2;
  }

  #quick-sales-management-section .quick-menu-price {
    font-size: 15px;
    justify-content: center;
  }
}

/* Mobile Standard (321px - 480px) */
@media (min-width: 321px) and (max-width: 480px) {
  #quick-sales-management-section .quick-menu-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
  }

  #quick-sales-management-section .quick-menu-item {
    border-radius: 12px;
  }

  #quick-sales-management-section .quick-menu-card {
    padding: 12px;
    gap: 8px;
    flex-direction: column;
    text-align: center;
  }

  #quick-sales-management-section .quick-menu-image {
    width: 48px;
    height: 48px;
    align-self: center;
    border-radius: 10px;
  }

  #quick-sales-management-section .quick-menu-name {
    font-size: 12px;
    white-space: normal;
    text-overflow: initial;
    overflow: visible;
    text-align: center;
    line-height: 1.2;
  }

  #quick-sales-management-section .quick-menu-price {
    font-size: 14px;
    justify-content: center;
  }
}

/* Mobile Small (320px and below) */
@media (max-width: 320px) {
  #quick-sales-management-section .quick-menu-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  #quick-sales-management-section .quick-menu-item {
    border-radius: 10px;
  }

  #quick-sales-management-section .quick-menu-card {
    padding: 12px;
    gap: 8px;
    flex-direction: row;
    text-align: left;
  }

  #quick-sales-management-section .quick-menu-image {
    width: 44px;
    height: 44px;
    border-radius: 8px;
  }

  #quick-sales-management-section .quick-menu-name {
    font-size: 12px;
    white-space: normal;
    text-overflow: initial;
    overflow: visible;
    text-align: left;
    line-height: 1.2;
  }

  #quick-sales-management-section .quick-menu-price {
    font-size: 13px;
    justify-content: flex-start;
  }
}

/* Special POS Screen Optimizations (768px - 1300px range) */
@media (min-width: 768px) and (max-width: 1300px) {
  #quick-sales-management-section .quick-menu-grid {
    padding: 0 8px;
  }

  #quick-sales-management-section .quick-menu-item {
    min-height: 120px;
  }

  #quick-sales-management-section .quick-menu-item:hover {
    transform: translateY(-1px);
  }
}

/* Landscape Phone Orientation */
@media (max-height: 500px) and (orientation: landscape) {
  #quick-sales-management-section .quick-menu-grid {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 8px;
  }

  #quick-sales-management-section .quick-menu-card {
    padding: 8px;
    gap: 8px;
    flex-direction: row;
  }

  #quick-sales-management-section .quick-menu-image {
    width: 40px;
    height: 40px;
  }

  #quick-sales-management-section .quick-menu-name {
    font-size: 11px;
    line-height: 1.1;
  }

  #quick-sales-management-section .quick-menu-price {
    font-size: 12px;
  }
}

/* Container Query Support (Future-proofing) */
@container (max-width: 600px) {
  #quick-sales-management-section .quick-menu-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@container (min-width: 601px) and (max-width: 900px) {
  #quick-sales-management-section .quick-menu-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@container (min-width: 901px) {
  #quick-sales-management-section .quick-menu-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Focus and Accessibility */
#quick-sales-management-section .quick-menu-item:focus {
  outline: 2px solid #fe6447;
  outline-offset: 2px;
}

/* High DPI Display Optimization */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  #quick-sales-management-section .quick-menu-image {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
  }
}

/* Hızlı Ekleme Butonu */
#quick-sales-management-section .quick-menu-item {
  position: relative;
}

#quick-sales-management-section .quick-add-btn {
  position: absolute;
  bottom: 6px;
  right: 6px;
  width: 28px;
  height: 28px;
  border: 1px solid rgba(180, 180, 180, 0.3);
  border-radius: 5px;
  background: rgba(250, 250, 250, 0.85);
  backdrop-filter: blur(8px);
  color: #b0b0b0;
  font-size: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  z-index: 100;
  padding: 0;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
  pointer-events: auto;
}

#quick-sales-management-section .quick-add-btn:hover {
  background: rgba(255, 255, 255, 0.95);
  border-color: rgba(140, 140, 140, 0.5);
  color: #888;
  transform: scale(1.08);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
}

#quick-sales-management-section .quick-add-btn:active {
  transform: scale(0.96);
}

#quick-sales-management-section .quick-add-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  transform: none;
}

#quick-sales-management-section .quick-add-btn i {
  font-size: 11px;
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
  #quick-sales-management-section .quick-menu-item {
    transition: none;
  }

  #quick-sales-management-section .quick-menu-item:hover {
    transform: none;
  }
}

/* Hızlı Sipariş Açma Butonları */
.quick-order-buttons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 1rem;
}

.quick-order-btn {
  background: white;
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-radius: 16px;
  padding: 1.5rem;
  cursor: pointer;
  transition: border-color 0.2s ease, box-shadow 0.2s ease,
    background-color 0.2s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  text-decoration: none;
  color: white;
  position: relative;
  min-height: 140px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.quick-order-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  opacity: 0.1;
  transition: opacity 0.3s ease;
}

.quick-order-btn:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  border-color: rgba(255, 255, 255, 0.6);
}

.quick-order-btn:hover::before {
  opacity: 0.15;
}

.quick-order-btn:active {
  transform: translateY(-2px);
}

.quick-order-btn-icon {
  font-size: 3rem;
  z-index: 1;
  position: relative;
}

.quick-order-btn-content {
  text-align: center;
  z-index: 1;
  position: relative;
}

.quick-order-btn-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
  line-height: 1.2;
}

.quick-order-btn-subtitle {
  font-size: 0.85rem;
  font-weight: 500;
  opacity: 0.9;
}

.quick-order-btn-self {
  background: linear-gradient(135deg, #4caf50 0%, #45a049 100%);
}

.quick-order-btn-self .quick-order-btn-icon {
  color: rgba(255, 255, 255, 0.95);
}

.quick-order-btn-paket {
  background: linear-gradient(135deg, #ff6247 0%, #e55641 100%);
}

.quick-order-btn-paket .quick-order-btn-icon {
  color: rgba(255, 255, 255, 0.95);
}

/* Responsive */
@media (max-width: 768px) {
  .quick-order-buttons {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .quick-order-btn {
    min-height: 120px;
    padding: 1.25rem;
  }

  .quick-order-btn-icon {
    font-size: 2.5rem;
  }

  .quick-order-btn-title {
    font-size: 1rem;
  }

  .quick-order-btn-subtitle {
    font-size: 0.8rem;
  }
}

/* Müşteri Bilgileri Bölümü */
.customer-info-section {
  background: rgba(255, 255, 255, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 12px;
  padding: 1rem;
  margin-top: 1rem;
}

.customer-info-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  font-size: 0.9rem;
  color: white;
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

.customer-info-header i {
  font-size: 1.2rem;
}

.customer-info-field {
  margin-bottom: 0.75rem;
}

.customer-field-label {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 0.4rem;
}

.customer-field-label i {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.8);
}

.field-optional {
  font-weight: 400;
  font-size: 0.7rem;
  opacity: 0.8;
}

.customer-input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.customer-input {
  width: 100%;
  background: white;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 8px;
  padding: 0.6rem 0.75rem;
  font-size: 0.85rem;
  color: #333;
  transition: all 0.3s ease;
  box-sizing: border-box;
}

.customer-input.customer-input-with-btn {
  padding-right: 2.75rem;
}

.customer-input:focus {
  outline: none;
  border-color: rgba(255, 255, 255, 0.6);
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.2);
  background: #fff;
}

.customer-input::placeholder {
  color: #999;
}

.customer-input-save-btn {
  position: absolute;
  right: 0.4rem;
  background: rgba(40, 167, 69, 0.9);
  border: none;
  border-radius: 6px;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  color: white;
  flex-shrink: 0;
  padding: 0;
}

.customer-input-save-btn:hover {
  background: rgba(40, 167, 69, 1);
  transform: scale(1.05);
  box-shadow: 0 2px 8px rgba(40, 167, 69, 0.4);
}

.customer-input-save-btn:active {
  transform: scale(0.95);
}

.customer-input-save-btn i {
  font-size: 1rem;
}

.customer-input-save-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.customer-actions {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 1rem;
}

.customer-action-btn {
  width: 100%;
  padding: 0.65rem 1rem;
  border: none;
  border-radius: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  white-space: nowrap;
}

.customer-action-btn i {
  font-size: 1rem;
}

.customer-action-primary {
  background: rgba(255, 255, 255, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: white;
}

.customer-action-primary:hover {
  background: rgba(255, 255, 255, 0.35);
  border-color: rgba(255, 255, 255, 0.6);
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.customer-action-success {
  background: rgba(40, 167, 69, 0.9);
  border: 1px solid rgba(40, 167, 69, 1);
  color: white;
}

.customer-action-success:hover {
  background: rgba(40, 167, 69, 1);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(40, 167, 69, 0.4);
}

.customer-action-success:active {
  transform: translateY(0);
}

.customer-info-note {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin-top: 0.75rem;
  padding: 0.6rem;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 6px;
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.4;
}

.customer-info-note i {
  font-size: 0.9rem;
  margin-top: 0.1rem;
  flex-shrink: 0;
}

/* Müşteri Seçim Modal Styles */
.musteri-secim-modal {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  z-index: 99999 !important;
  display: none !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 20px;
  box-sizing: border-box;
  overflow: hidden;
  margin: 0 !important;
}

.musteri-secim-modal.show {
  display: flex !important;
  animation: musteriModalFadeIn 0.3s ease;
}

@keyframes musteriModalFadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.musteri-secim-modal-backdrop {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  z-index: 1;
}

.musteri-secim-modal-content {
  position: relative !important;
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  width: 100%;
  max-width: 900px;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  animation: musteriModalSlideIn 0.3s ease;
  z-index: 2 !important;
  margin: auto;
}

@keyframes musteriModalSlideIn {
  from {
    transform: translateY(-30px) scale(0.95);
    opacity: 0;
  }
  to {
    transform: translateY(0) scale(1);
    opacity: 1;
  }
}

.musteri-secim-modal-header {
  background: linear-gradient(135deg, #fe6447 0%, #ff8a73 100%);
  padding: 24px 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: white;
  border-radius: 16px 16px 0 0;
}

.musteri-secim-modal-title {
  margin: 0;
  font-size: 22px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 12px;
}

.musteri-secim-modal-title i {
  font-size: 26px;
}

.musteri-secim-modal-close {
  background: rgba(255, 255, 255, 0.2);
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  color: white;
  font-size: 22px;
  padding: 0;
}

.musteri-secim-modal-close:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: rotate(90deg);
}

.musteri-secim-modal-body {
  padding: 32px;
  flex: 1;
  overflow-y: auto;
  background: #f8fafc;
}

/* Arama Container */
.musteri-secim-search-container {
  background: white;
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 24px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.musteri-secim-search-row {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 16px;
  align-items: end;
}

.musteri-secim-search-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.musteri-secim-search-label {
  font-size: 14px;
  font-weight: 600;
  color: #475569;
  display: flex;
  align-items: center;
  gap: 6px;
}

.musteri-secim-search-label i {
  color: #fe6447;
  font-size: 16px;
}

.musteri-secim-search-input {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid #e2e8f0;
  border-radius: 8px;
  font-size: 14px;
  transition: all 0.3s ease;
  background: #f8fafc;
}

.musteri-secim-search-input:focus {
  outline: none;
  border-color: #fe6447;
  background: white;
  box-shadow: 0 0 0 3px rgba(254, 100, 71, 0.1);
}

.musteri-secim-search-button {
  display: flex;
  align-items: end;
}

.musteri-secim-search-btn {
  background: linear-gradient(135deg, #fe6447 0%, #ff8a73 100%);
  color: white;
  border: none;
  border-radius: 8px;
  padding: 12px 24px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 12px rgba(254, 100, 71, 0.3);
  white-space: nowrap;
}

.musteri-secim-search-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(254, 100, 71, 0.4);
}

.musteri-secim-search-btn:active {
  transform: translateY(0);
}

/* Liste Container */
.musteri-secim-list-container {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  min-height: 300px;
  max-height: 500px;
  overflow-y: auto;
}

.musteri-secim-list-container::-webkit-scrollbar {
  width: 8px;
}

.musteri-secim-list-container::-webkit-scrollbar-track {
  background: #f1f5f9;
}

.musteri-secim-list-container::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 4px;
}

.musteri-secim-list-container::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

.musteri-secim-empty-state {
  text-align: center;
  padding: 60px 20px;
  color: #94a3b8;
}

.musteri-secim-empty-state i {
  font-size: 64px;
  margin-bottom: 16px;
  opacity: 0.5;
}

.musteri-secim-empty-state p {
  margin: 0;
  font-size: 16px;
  font-weight: 500;
}

/* Müşteri Tablosu */
.musteri-secim-list-container table {
  width: 100%;
  border-collapse: collapse;
}

.musteri-secim-list-container thead {
  background: #f8fafc;
  position: sticky;
  top: 0;
  z-index: 10;
}

.musteri-secim-list-container thead th {
  padding: 16px;
  text-align: left;
  font-size: 13px;
  font-weight: 700;
  color: #475569;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-bottom: 2px solid #e2e8f0;
}

.musteri-secim-list-container tbody tr {
  border-bottom: 1px solid #f1f5f9;
  transition: all 0.2s ease;
}

.musteri-secim-list-container tbody tr:hover {
  background: #f8fafc;
}

.musteri-secim-list-container tbody td {
  padding: 16px;
  font-size: 14px;
  color: #334155;
  vertical-align: top;
}

.musteri-secim-list-container tbody td:last-child {
  text-align: right;
}

.musteri-secim-list-container .btn {
  padding: 8px 16px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.musteri-secim-list-container .btn-primary {
  background: linear-gradient(135deg, #fe6447 0%, #ff8a73 100%);
  color: white;
  box-shadow: 0 2px 8px rgba(254, 100, 71, 0.3);
}

.musteri-secim-list-container .btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(254, 100, 71, 0.4);
}

/* Responsive */
@media (max-width: 768px) {
  .musteri-secim-modal {
    padding: 10px;
  }

  .musteri-secim-modal-content {
    max-height: 95vh;
  }

  .musteri-secim-search-row {
    grid-template-columns: 1fr;
  }

  .musteri-secim-search-button {
    width: 100%;
  }

  .musteri-secim-search-btn {
    width: 100%;
    justify-content: center;
  }

  .musteri-secim-modal-header {
    padding: 20px;
  }

  .musteri-secim-modal-body {
    padding: 20px;
  }

  .musteri-secim-list-container {
    max-height: 400px;
  }
}

/* ==================== KURYE ÜCRETİ TOGGLE STİLLERİ ==================== */
.kurye-toggle-switch {
  position: relative;
  display: inline-block;
  width: 44px;
  height: 24px;
}

.kurye-toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.kurye-toggle-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #e5e7eb;
  transition: 0.3s;
  border-radius: 24px;
}

.kurye-toggle-slider:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  transition: 0.3s;
  border-radius: 50%;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.kurye-toggle-switch input:checked + .kurye-toggle-slider {
  background-color: #fe492c;
}

.kurye-toggle-switch input:checked + .kurye-toggle-slider:before {
  transform: translateX(20px);
}

.kurye-toggle-switch input:disabled + .kurye-toggle-slider {
  opacity: 0.5;
  cursor: not-allowed;
}

.kurye-ucreti-row {
  animation: kuryeFadeIn 0.3s ease;
}

@keyframes kuryeFadeIn {
  from {
    opacity: 0;
    transform: translateY(-5px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ==================== KURYE DURUM BAR MOBİL ==================== */
@media (max-width: 768px) {
  .kurye-durum-bar {
    padding: 0 !important;
    font-size: 11px !important;
  }

  #quick-sales-management-section .quick-add-btn {
    width: 26px;
    height: 26px;
    bottom: 4px;
    right: 4px;
  }

  #quick-sales-management-section .quick-add-btn i {
    font-size: 10px;
  }
}

@media (max-width: 480px) {
  #quick-sales-management-section .quick-add-btn {
    width: 24px;
    height: 24px;
    bottom: 3px;
    right: 3px;
  }

  #quick-sales-management-section .quick-add-btn i {
    font-size: 9px;
  }
}
