@import url("../textfont/stylesheet.css");
@import url("line-awesome.css");
@import url("all.min.css");
@import url("swiper-bundle.min.css");
@import url("animate.css");
@import url("bootstrap.min.css");
@import url("fancybox.css");
@import url("lity.min.css");
@import url("intlTelInput.css");
@import url("aos.css");

/* CSS Variables for Modern Design */
:root {
  --anarenk: #ff6348;
  --kirmizi: #ea0005;
  --gri: #9d9e9d;
  --siyah: #1f1f1f;
  --krem: #fcfcf9;
  --mor: #ea5d44;

  /* Modern UI Colors */
  --primary-color: #ff6348;
  --primary-light: rgba(255, 99, 72, 0.1);
  --secondary-color: #6c757d;
  --success-color: #28a745;
  --danger-color: #dc3545;
  --warning-color: #ffc107;
  --info-color: #17a2b8;

  /* Background Colors */
  --bg-primary: #ffffff;
  --bg-secondary: #f8f9fa;
  --bg-tertiary: #e9ecef;

  /* Text Colors */
  --text-primary: #212529;
  --text-secondary: #6c757d;
  --text-muted: #868e96;

  /* Border & Shadow */
  --border-color: #e9ecef;
  --border-radius: 8px;
  --border-radius-xs: 8px;
  --border-radius-sm: 12px;
  --border-radius-md: 16px;
  --border-radius-lg: 20px;
  --shadow-sm: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
  --shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
  --shadow-lg: 0 1rem 3rem rgba(0, 0, 0, 0.175);

  /* Transitions */
  --transition: all 0.3s ease;
  --transition-fast: all 0.15s ease;
}

/* Base Styles */
* {
  box-sizing: border-box;
}

a {
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  text-decoration: none;
}

ol,
ul {
  padding: 0px;
  margin: 0px;
}

main {
  overflow: hidden;
  width: calc(100vw - 5px);
  min-height: 100vh;
}

body {
  position: relative;
  font-family: "Inter Display", sans-serif;
  background-color: var(--bg-secondary);
}

/* Scrollbar Styles */
.scrollbar::-webkit-scrollbar {
  width: 5px;
  height: 5px;
}

.scrollbar::-webkit-scrollbar-track {
  background: #f6f5f0;
}

.scrollbar::-webkit-scrollbar-thumb {
  background: var(--anarenk);
}

.scrollbar::-webkit-scrollbar-thumb:hover {
  background: #fedd06;
}

.container-fluid {
  max-width: calc(100vw - 30px);
}

.swiper {
  position: relative;
  overflow: hidden;
}

.dikeyortala {
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
}

/* Pagination Styles */
.page-item.active .page-link {
  z-index: 3;
  color: #fff;
  background-color: var(--anarenk);
  border-color: var(--anarenk);
}

.page-link {
  color: var(--anarenk);
}

/* Cookie Policy */
.cerezpolitikasi {
  position: fixed;
  bottom: 20px;
  left: 20px;
  width: 400px;
  max-width: calc(100% - 40px);
  padding: 20px;
  border-radius: 20px;
  background: rgba(0, 0, 0, 0.5);
  font-size: 14px;
  line-height: 20px;
  color: #fff;
  z-index: 100000;
}

/* Bootstrap Grid System Enhanced */
.row {
  display: flex;
  flex-wrap: wrap;
  margin-right: -15px;
  margin-left: -15px;
}

.col-xxl-6 {
  position: relative;
  width: 100%;
  padding-right: 15px;
  padding-left: 15px;
  flex: 0 0 50%;
  max-width: 50%;
}

.col-12 {
  position: relative;
  width: 100%;
  padding-right: 15px;
  padding-left: 15px;
  flex: 0 0 100%;
  max-width: 100%;
}

.col-xxl-4 {
  position: relative;
  width: 100%;
  padding-right: 15px;
  padding-left: 15px;
  flex: 0 0 33.333333%;
  max-width: 33.333333%;
}

.col-xxl-3 {
  position: relative;
  width: 100%;
  padding-right: 15px;
  padding-left: 15px;
  flex: 0 0 25%;
  max-width: 25%;
}

.col-xxl-2 {
  position: relative;
  width: 100%;
  padding-right: 15px;
  padding-left: 15px;
  flex: 0 0 16.666667%;
  max-width: 16.666667%;
}

.col-8 {
  flex: 0 0 66.666667%;
  max-width: 66.666667%;
}

.col-4 {
  flex: 0 0 33.333333%;
  max-width: 33.333333%;
}

.g-3 > * {
  padding-right: calc(1rem * 0.5);
  padding-left: calc(1rem * 0.5);
}

.g1 {
  --bs-gutter-x: 0.25rem;
  --bs-gutter-y: 0;
}

/* Enhanced Button Loading System */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0px 30px;
  height: 56px;
  border-radius: 15px;
  font-size: 18px;
  font-style: normal;
  font-weight: 600;
  line-height: normal;
  text-align: center;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  vertical-align: middle;
  user-select: none;
  background-color: transparent;
  border: 1px solid transparent;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.save-button {
  min-width: 140px;
}

.btn-content,
.btn-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  transition: var(--transition);
}

.btn-loading {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
}

.btn.loading .btn-content {
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
}

.btn.loading .btn-loading {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.btn.loading {
  cursor: not-allowed;
  pointer-events: none;
}

.btn.loading:hover {
  transform: none;
  box-shadow: none;
}

/* Modern Spinner */
.spinner-border {
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255, 255, 255, 0.25);
  border-top: 2px solid #ffffff;
  border-radius: 50%;
  animation: spinner-rotate 0.8s linear infinite;
  display: inline-block;
}

@keyframes spinner-rotate {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.loading-text {
  font-size: 14px;
  font-weight: 500;
}

/* Button variants with loading */
.btn-primary.loading {
  background-color: var(--primary-color);
  opacity: 0.8;
}

.btn-success.loading {
  background-color: var(--success-color);
  opacity: 0.8;
}

.btn-danger.loading {
  background-color: var(--danger-color);
  opacity: 0.8;
}

/* Form Error States */
.has-error .form-label {
  color: var(--danger-color);
}

.has-error .form-control {
  border-color: var(--danger-color) !important;
  box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25) !important;
}

.has-error .form-control:focus {
  border-color: var(--danger-color) !important;
  box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25) !important;
}

.btn-ana {
  background: var(--anarenk);
  border: 1px solid var(--anarenk);
  color: #fff;
}

.btn-ana:hover {
  background: var(--mor);
  border: 1px solid var(--mor);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.btn-mor {
  background: var(--mor);
  border: 1px solid var(--mor);
  color: #fff;
}

.btn-mor:hover {
  background: var(--anarenk);
  border: 1px solid var(--anarenk);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.btn-primary {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  color: #fff;
}

.btn-primary:hover {
  background-color: var(--mor);
  border-color: var(--mor);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.btn-secondary {
  background-color: var(--secondary-color);
  border-color: var(--secondary-color);
  color: #fff;
}

.btn-secondary:hover {
  background-color: #5a6268;
  border-color: #545b62;
  color: #fff;
  transform: translateY(-2px);
}

.btn-success {
  background-color: var(--success-color);
  border-color: var(--success-color);
  color: #fff;
}

.btn-success:hover {
  background-color: #218838;
  border-color: #1e7e34;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.btn-danger {
  background-color: var(--danger-color);
  border-color: var(--danger-color);
  color: #fff;
}

.btn-danger:hover {
  background-color: #c82333;
  border-color: #bd2130;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

/* Modern Restaurant Layout */
.restaurant-layout {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  background: var(--bg-secondary);
}

/* Top Header */
.top-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 70px;
  background: var(--bg-primary);
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  z-index: 1000;
  box-shadow: var(--shadow-sm);
}

.header-left {
  display: flex;
  align-items: center;
  gap: 16px;
}

.sidebar-toggle {
  width: 44px;
  height: 44px;
  border: none;
  background: var(--bg-secondary);
  border-radius: var(--border-radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: var(--text-secondary);
  cursor: pointer;
  transition: var(--transition);
}

.sidebar-toggle:hover {
  background: var(--primary-light);
  color: var(--primary-color);
}

.header-center {
  display: flex;
  align-items: center;
}

.header-logo {
  height: 40px;
  object-fit: contain;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.user-profile {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 16px;
  border-radius: var(--border-radius-lg);
  background: var(--bg-secondary);
  cursor: pointer;
  transition: var(--transition);
}

.user-profile:hover {
  background: var(--primary-light);
}

.user-profile:hover .user-dropdown {
  display: block;
}

.user-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
}

.user-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
}

.user-dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  width: 200px;
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-lg);
  padding: 8px;
  display: none;
  z-index: 1001;
  box-shadow: var(--shadow-lg);
}

.user-dropdown a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  color: var(--text-primary);
  border-radius: var(--border-radius);
  transition: var(--transition);
}

.user-dropdown a:hover {
  background: var(--bg-secondary);
}

/* Sidebar */
.restaurant-sidebar {
  position: fixed;
  top: 70px;
  left: 0;
  width: 280px;
  height: calc(100vh - 70px);
  background: var(--bg-primary);
  border-right: 1px solid var(--border-color);
  z-index: 999;
  transition: var(--transition);
  overflow-y: auto;
}

.restaurant-sidebar.collapsed {
  width: 96px;
}

.sidebar-content {
  height: 100%;
  display: flex;
  flex-direction: column;
  padding: 24px 0;
}

.logo-section {
  padding: 0 24px;
  margin-bottom: 32px;
}

.sidebar-logo {
  height: 32px;
  transition: var(--transition);
}

.sidebar-favicon {
  height: 32px;
  display: none;
  transition: var(--transition);
}

.restaurant-sidebar.collapsed .sidebar-logo {
  display: none;
}

.restaurant-sidebar.collapsed .sidebar-favicon {
  display: block;
}

.user-section {
  padding: 0 24px;
  margin-bottom: 32px;
  transition: var(--transition);
}

.restaurant-sidebar.collapsed .user-section {
  display: none;
}

.user-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  background: var(--bg-secondary);
  border-radius: var(--border-radius-lg);
  margin-bottom: 16px;
}

.user-img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
}

.user-details .user-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
}

.staff-select select {
  width: 100%;
  padding: 12px;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  background: var(--bg-primary);
  font-size: 14px;
}

.sidebar-nav {
  flex: 1;
  padding: 0 8px;
}

.nav-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px;
  color: var(--text-secondary);
  border-radius: var(--border-radius-sm);
  margin-bottom: 8px;
  transition: var(--transition);
  text-decoration: none;
}

.nav-item:hover {
  background: var(--primary-light);
  color: var(--primary-color);
  text-decoration: none;
}

.nav-item.active {
  background: var(--primary-light);
  color: var(--primary-color);
}

.nav-icon {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.nav-icon img {
  max-width: 20px;
  max-height: 20px;
}

.nav-text {
  font-size: 14px;
  font-weight: 500;
  transition: var(--transition);
}

.restaurant-sidebar.collapsed .nav-item {
  flex-direction: column;
  gap: 8px;
  width: 80px;
  height: 80px;
  justify-content: center;
}

.restaurant-sidebar.collapsed .nav-text {
  font-size: 10px;
  text-align: center;
  line-height: 1.2;
}

/* Main Content */
.main-content {
  margin-left: 280px;
  margin-top: 70px;
  min-height: calc(100vh - 70px);
  background: var(--bg-secondary);
  transition: var(--transition);
  width: calc(100% - 280px);
}

.main-content.sidebar-collapsed {
  margin-left: 80px;
  width: calc(100% - 80px);
}

/* Menu List Page Layout */
.menu-list-layout {
  display: flex;
  height: calc(100vh - 70px);
  gap: 16px;
  padding: 16px;
  transition: var(--transition);
  width: 100%;
  overflow: hidden;
}

.main-content.sidebar-collapsed .menu-list-layout {
  width: calc(100% - 50px);
}

/* Category Sidebar */
.category-sidebar {
  width: 140px;
  min-width: 140px;
  background: var(--bg-primary);
  border-radius: var(--border-radius-lg);
  padding: 16px 12px;
  box-shadow: var(--shadow-sm);
  overflow-y: auto;
  flex-shrink: 0;
  transition: var(--transition);
}

.category-item {
  width: 100px;
  height: 100px;
  background: var(--bg-secondary);
  border: 2px solid transparent;
  border-radius: var(--border-radius-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 0 auto 12px auto;
  cursor: pointer;
  transition: var(--transition);
  padding: 12px;
  text-align: center;
}

.category-item:hover {
  background-color: var(--primary-light);
  border-color: var(--primary-color);
  transform: translateY(-2px);
}

.category-item.active {
  background-color: var(--primary-light);
  border-color: var(--primary-color);
}

.category-icon {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-primary);
  border-radius: 8px;
  font-size: 18px;
  color: var(--primary-color);
}

.category-name {
  font-size: 10px;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.2;
  text-align: center;
}

/* Product Content Area */
.product-content-area {
  flex: 1;
  background: var(--bg-primary);
  border-radius: var(--border-radius-lg);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  min-width: 0;
  width: 100%;
}

/* Product Header */
.product-header {
  padding: 24px 32px;
  border-bottom: 1px solid var(--border-color);
  background: var(--bg-primary);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.product-header-left {
  display: flex;
  align-items: center;
  gap: 24px;
  flex: 1;
}

.product-title {
  font-size: 24px;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0;
}

.product-search {
  position: relative;
  flex: 1;
  max-width: 400px;
}

.product-search input {
  width: 100%;
  padding: 12px 16px 12px 44px;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-lg);
  background: var(--bg-secondary);
  font-size: 14px;
  transition: var(--transition);
}

.product-search input:focus {
  outline: none;
  border-color: var(--primary-color);
  background: var(--bg-primary);
}

.product-search .search-icon {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  font-size: 16px;
}

.stock-alert {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: var(--warning-color);
  color: #fff;
  border-radius: var(--border-radius);
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}

.product-header-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.header-btn {
  padding: 12px 24px;
  border: none;
  border-radius: var(--border-radius-lg);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.header-btn-primary {
  background: var(--primary-color);
  color: #fff;
}

.header-btn-primary:hover {
  background: var(--mor);
  color: #fff;
  text-decoration: none;
}

.header-btn-secondary {
  background: var(--mor);
  color: #fff;
}

.header-btn-secondary:hover {
  background: var(--primary-color);
  color: #fff;
  text-decoration: none;
}

/* Product Grid */
.product-content {
  padding: 16px;
  height: calc(100% - 73px);
  overflow-y: auto;
  flex: 1;
  width: 100%;
}

.main-content.sidebar-collapsed .product-content {
  width: calc(100% - 50px);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  width: 100%;
}

/* Product Card */
.product-card {
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-lg);
  padding: 16px;
  transition: var(--transition);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  min-height: 120px;
}
/* Product Card */
.product-card.kritikstok-hidden {
  display: none;
}

.product-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-color);
}

.product-card-header {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 12px;
}

.product-header-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
  width: 100%;
}

.product-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  flex: 1;
}

.product-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 8px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 600;
  white-space: nowrap;
}

.product-badge-kdv {
  background: linear-gradient(135deg, #3b82f6 0%, #60a5fa 100%);
  color: white;
}

.product-badge-mutfak {
  background: linear-gradient(135deg, #fe492c 0%, #fe6447 100%);
  color: white;
}

.product-badge i {
  font-size: 10px;
}

.product-expand {
  background: var(--bg-secondary);
  border: none;
  width: 28px;
  height: 28px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  cursor: pointer;
  transition: var(--transition);
  flex-shrink: 0;
  font-size: 14px;
}

.product-expand:hover {
  background: var(--primary-light);
  color: var(--primary-color);
}

.product-body {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
}

.product-info {
  flex: 1;
}

.product-price {
  font-size: 16px;
  font-weight: 700;
  color: var(--primary-color);
  margin: 0 0 6px 0;
}

.product-stock {
  font-size: 11px;
  color: var(--text-muted);
  margin: 0;
}

.product-stock.low {
  color: var(--danger-color);
  font-weight: 600;
}

.product-image {
  width: 80px;
  height: 80px;
  border-radius: 12px;
  object-fit: cover;
  flex-shrink: 0;
  border: 1px solid var(--border-color);
}

/* Modal Styles */
.product-modal {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
}

.product-modal.show {
  display: flex;
  align-items: center;
  justify-content: center;
  animation: modalFadeIn 0.3s ease;
}

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

.modal-content {
  background: var(--bg-primary);
  border-radius: var(--border-radius-lg);
  width: 90%;
  max-width: 1200px;
  max-height: 90vh;
  overflow-y: auto;
  animation: modalSlideIn 0.3s ease;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

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

.modal-header {
  padding: 24px 32px;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--bg-secondary);
}

.modal-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0;
}

.modal-close {
  background: none;
  border: none;
  font-size: 24px;
  color: var(--text-secondary);
  cursor: pointer;
  padding: 8px;
  border-radius: var(--border-radius);
  transition: var(--transition);
}

.modal-close:hover {
  background: var(--bg-secondary);
  color: var(--danger-color);
}

.modal-body {
  padding: 32px;
}

.modal-footer {
  padding: 24px 32px;
  border-top: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: var(--bg-secondary);
}

.modal-footer-left {
  display: flex;
  gap: 12px;
}

.modal-footer-right {
  display: flex;
  gap: 12px;
}

/* Form Styles Enhanced */
.form-label {
  color: #49454f;
  font-size: 16px;
  font-style: normal;
  font-weight: 600;
  line-height: normal;
  margin-bottom: 8px;
  display: block;
  transition: var(--transition);
}

.form-control {
  padding: 0px 20px;
  height: 56px;
  border-radius: 15px;
  font-size: 18px;
  font-style: normal;
  font-weight: 600;
  line-height: normal;
  border: 1px solid var(--border-color);
  background: var(--bg-primary);
  transition: var(--transition);
  width: 100%;
  display: block;
  color: #212529;
  background-clip: padding-box;
}

.form-control:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 0.2rem rgba(255, 99, 72, 0.25);
  transform: scale(1.02);
}

.form-control:hover {
  border-color: var(--primary-color);
}

input[type="file"].form-control {
  line-height: 56px;
  padding: 0px 5px;
}

textarea.form-control {
  height: auto;
  padding: 12px 20px;
  resize: vertical;
  min-height: 100px;
}

select.form-control {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m1 6 7 7 7-7'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  background-size: 16px 12px;
  padding-right: 2.25rem;
}

.form-check-input {
  vertical-align: middle;
  margin-top: -0.25em;
}

.form-check-input:checked {
  background-color: var(--mor);
  border-color: var(--mor);
}

.form-check input {
  margin-top: 0.25em;
  vertical-align: top;
}

/* Table Image */
.tableimg {
  width: 50px;
  height: 50px;
  object-fit: cover;
}

/* Enhanced Card Styles */
.card {
  background: rgba(255, 255, 255, 0.9);
  border-radius: 20px;
  backdrop-filter: blur(10px);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  overflow: hidden;
  border: 1px solid var(--border-color);
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  word-wrap: break-word;
  background-clip: border-box;
  margin-bottom: 1.5rem;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.card::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 2px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--primary-color),
    transparent
  );
  transition: left 0.5s;
}

.card:hover::before {
  left: 100%;
}

.cardturuncu {
  background: rgb(244 67 54 / 7%);
  border-radius: 20px;
  backdrop-filter: blur(10px);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  overflow: hidden;
  border: 1px solid var(--border-color);
}

.cardturuncu:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.card-body {
  padding: 40px 60px !important;
  flex: 1 1 auto;
}

.card-body h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 10px;
  color: #333;
}

.card-body p {
  font-size: 14px;
  margin: 0;
  color: #555;
}

.card-header {
  border-radius: 20px 20px 0px 0px !important;
  padding: 20px 30px !important;
  border-bottom: 1px solid rgba(255, 99, 72, 0.3) !important;
  color: #49454f;
  font-size: 24px;
  font-style: normal;
  font-weight: 600;
  line-height: normal;
  background: var(--bg-secondary) !important;
  margin-bottom: 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.125);
}

.card-title {
  margin-bottom: 0;
  font-size: 1.25rem;
  font-weight: 600;
}

.card-footer {
  border-radius: 0px 0px 20px 20px !important;
  background: #fff !important;
  padding: 20px 30px !important;
  border-top: 1px solid rgba(255, 99, 72, 0.3) !important;
}

/* Dynamic Row Styles Enhanced */
.satir {
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-lg);
  padding: 20px;
  margin-bottom: 16px;
  background: var(--bg-secondary);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.satir:hover {
  box-shadow: var(--shadow-sm);
  border-color: var(--primary-color);
  transform: translateY(-2px);
}

.satir::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 2px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--primary-color),
    transparent
  );
  transition: left 0.5s;
}

.satir:hover::before {
  left: 100%;
}

.remove-row {
  height: 56px;
}

/* Utility Classes Enhanced */
.mb-3 {
  margin-bottom: 1rem !important;
}

.mb-4 {
  margin-bottom: 1.5rem !important;
}

.mt-2 {
  margin-top: 0.5rem !important;
}

.mt-4 {
  margin-top: 1.5rem !important;
}

.w-100 {
  width: 100% !important;
}

.d-flex {
  display: flex !important;
}

.align-items-center {
  align-items: center !important;
}

.me-auto {
  margin-right: auto !important;
}

.text-end {
  text-align: right !important;
}

/* Enhanced Success/Error Messages */
.sonuc {
  text-align: center;
  margin-top: 20px;
  padding: 16px 20px;
  border-radius: var(--border-radius);
  font-weight: 600;
  transition: all 0.3s ease;
  min-height: 20px;
  position: relative;
  overflow: hidden;
}

.sonuc:empty {
  padding: 0;
  margin: 0;
  min-height: 0;
}

.sonuc.success {
  background: linear-gradient(
    135deg,
    rgba(40, 167, 69, 0.1) 0%,
    rgba(40, 167, 69, 0.05) 100%
  );
  color: var(--success-color);
  border: 1px solid rgba(40, 167, 69, 0.3);
  animation: successSlideIn 0.5s ease-out;
}

.sonuc.success::before {
  content: "✓";
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 18px;
  font-weight: bold;
}

.sonuc.error {
  background: linear-gradient(
    135deg,
    rgba(220, 53, 69, 0.1) 0%,
    rgba(220, 53, 69, 0.05) 100%
  );
  color: var(--danger-color);
  border: 1px solid rgba(220, 53, 69, 0.3);
  animation: errorSlideIn 0.5s ease-out;
}

.sonuc.error::before {
  content: "⚠";
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 18px;
}

@keyframes successSlideIn {
  0% {
    transform: translateY(-20px);
    opacity: 0;
    max-height: 0;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
    max-height: 100px;
  }
}

@keyframes errorSlideIn {
  0% {
    transform: translateX(-20px);
    opacity: 0;
    max-height: 0;
  }
  50% {
    transform: translateX(5px);
  }
  100% {
    transform: translateX(0);
    opacity: 1;
    max-height: 100px;
  }
}

/* Animation Enhanced */
.fade-in {
  animation: fadeIn 0.5s ease-in;
}

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

/* Responsive Design Enhanced */
@media (max-width: 1400px) {
  .col-xxl-6 {
    flex: 0 0 50%;
    max-width: 50%;
  }
  .col-xxl-4 {
    flex: 0 0 33.333333%;
    max-width: 33.333333%;
  }
  .col-xxl-3 {
    flex: 0 0 25%;
    max-width: 25%;
  }
  .col-xxl-2 {
    flex: 0 0 16.666667%;
    max-width: 16.666667%;
  }
}

@media (max-width: 1200px) {
  .menu-list-layout {
    gap: 12px;
    padding: 12px;
  }

  .main-content .menu-list-layout,
  .main-content.sidebar-collapsed .menu-list-layout {
    width: 100%;
  }

  .main-content .product-header,
  .main-content.sidebar-collapsed .product-header,
  .main-content .product-content,
  .main-content.sidebar-collapsed .product-content {
    width: 100%;
  }

  .category-sidebar {
    width: 120px;
    min-width: 120px;
    padding: 12px 8px;
  }

  .category-item {
    width: 90px;
    height: 90px;
    gap: 6px;
    padding: 8px;
  }

  .category-icon {
    width: 30px;
    height: 30px;
    font-size: 16px;
  }

  .category-name {
    font-size: 9px;
  }

  .product-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .product-header {
    padding: 12px 16px;
    gap: 12px;
    flex-wrap: wrap;
  }

  .product-header-left {
    gap: 12px;
    min-width: 200px;
    flex-wrap: wrap;
  }

  .product-title {
    font-size: 18px;
  }

  .product-search {
    max-width: 200px;
    min-width: 120px;
  }

  .header-btn {
    padding: 6px 12px;
    font-size: 11px;
  }

  .col-xxl-6 {
    flex: 0 0 100%;
    max-width: 100%;
  }
  .col-xxl-4 {
    flex: 0 0 50%;
    max-width: 30%;
  }
  .col-xxl-3 {
    flex: 0 0 50%;
    max-width: 50%;
  }
  .col-xxl-2 {
    flex: 0 0 100%;
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .card-body {
    padding: 20px 20px !important;
  }

  .col-md-6 {
    flex: 0 0 100%;
    max-width: 100%;
  }

  .col-xxl-4,
  .col-xxl-3,
  .col-xxl-2,
  .col-8,
  .col-4 {
    flex: 0 0 100%;
    max-width: 100%;
  }

  .modal-footer {
    flex-direction: column;
    gap: 8px;
    padding: 16px;
  }

  .modal-footer-left,
  .modal-footer-right {
    width: 100%;
    justify-content: center;
  }

  .btn {
    padding: 0px 20px;
    height: 48px;
    font-size: 16px;
  }

  .form-control {
    height: 48px;
    font-size: 16px;
  }

  .restaurant-sidebar {
    transform: translateX(-100%);
    z-index: 1001;
  }

  .restaurant-sidebar.show {
    transform: translateX(0);
  }

  .main-content {
    margin-left: 0;
    width: 100%;
  }

  .main-content.sidebar-collapsed {
    margin-left: 0;
    width: 100%;
  }

  .menu-list-layout {
    flex-direction: column;
    height: auto;
    padding: 8px;
    gap: 8px;
    width: 100%;
    overflow: visible;
  }

  .main-content .menu-list-layout,
  .main-content.sidebar-collapsed .menu-list-layout {
    width: 100%;
  }

  .category-sidebar {
    width: 100%;
    min-width: auto;
    display: flex;
    gap: 8px;
    padding: 12px;
    overflow-x: auto;
    height: auto;
  }

  .category-item {
    width: 80px;
    height: 80px;
    flex-shrink: 0;
    margin: 0;
    gap: 4px;
    padding: 6px;
  }

  .category-icon {
    width: 24px;
    height: 24px;
    font-size: 14px;
  }

  .category-name {
    font-size: 8px;
  }

  .product-header {
    flex-direction: column;
    gap: 12px;
    align-items: stretch;
    padding: 12px;
    width: 100%;
  }

  .main-content .product-header,
  .main-content.sidebar-collapsed .product-header {
    width: 100%;
  }

  .product-header-left {
    flex-direction: column;
    gap: 12px;
    min-width: auto;
  }

  .product-title {
    font-size: 16px;
  }

  .product-search {
    max-width: none;
    min-width: auto;
  }

  .product-header-right {
    justify-content: center;
  }

  .product-grid {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .product-content {
    padding: 12px;
    width: 100%;
  }

  .main-content .product-content,
  .main-content.sidebar-collapsed .product-content {
    width: 100%;
  }

  .product-card {
    padding: 12px;
    min-height: 100px;
  }

  .product-card-header {
    margin-bottom: 8px;
  }

  .product-name {
    font-size: 12px;
  }

  .product-expand {
    width: 24px;
    height: 24px;
    font-size: 12px;
  }

  .product-body {
    gap: 8px;
  }

  .product-price {
    font-size: 14px;
    margin-bottom: 4px;
  }

  .product-stock {
    font-size: 10px;
  }

  .product-image {
    width: 60px;
    height: 60px;
    border-radius: 8px;
  }

  .modal-content {
    width: 95%;
    margin: 10px;
    max-height: 95vh;
  }

  .modal-body {
    padding: 16px;
  }

  .modal-header {
    padding: 16px;
  }
}

@media (max-width: 576px) {
  .row {
    margin-right: -10px;
    margin-left: -10px;
  }

  [class*="col-"] {
    padding-right: 10px;
    padding-left: 10px;
  }

  .card-header {
    padding: 15px 20px !important;
    font-size: 20px;
  }

  .card-body {
    padding: 15px 20px !important;
  }

  .form-label {
    font-size: 14px;
  }

  .btn {
    height: 44px;
    font-size: 14px;
    padding: 0px 15px;
  }

  .form-control {
    height: 44px;
    font-size: 14px;
    padding: 0px 15px;
  }

  textarea.form-control {
    padding: 10px 15px;
  }
}

/* Legacy styles to maintain compatibility */
.aciklama {
  margin-bottom: 24px;
}

.aciklama h1 {
  font-weight: 600;
  font-size: 24px;
  line-height: 34px;
  color: var(--yesil);
  margin-bottom: 14px;
}

.aciklama ul,
ol {
  list-style: none;
  margin-bottom: 24px;
}

.aciklama ul li,
.aciklama ol li {
  position: relative;
  padding-left: 15px;
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  color: var(--yesil);
  opacity: 1;
}

.aciklama ul li:before,
.aciklama ol li:before {
  position: absolute;
  content: "";
  top: 11px;
  left: 0px;
  width: 7px;
  height: 7px;
  border-radius: 4px;
  background: var(--yesil);
  opacity: 1 !important;
}

.aciklama img {
  width: 100% !important;
  border-radius: 20px;
  max-height: 300px;
  object-fit: cover;
  margin-bottom: 25px;
}

.aciklama h2,
.aciklama h3,
.aciklama h4,
.aciklama h5 {
  font-weight: 700;
  font-size: 24px;
  line-height: 36px;
  color: var(--yesil);
  margin-bottom: 20px;
}

.aciklama p {
  font-weight: 500;
  font-size: 16px;
  line-height: 24px;
  color: var(--yesil);
  opacity: 1;
  margin-bottom: 20px;
}

/* Legacy Site Styles */
#site {
  padding: 30px;
}

#site .alan {
  position: relative;
  background: linear-gradient(
    256deg,
    rgba(238, 250, 254, 1) 35.97%,
    rgb(255 99 72) 100.44%
  );
  border-radius: 35px;
  overflow: hidden;
  z-index: 10;
  display: flex;
  flex-wrap: wrap;
  transition: all 0.3s ease;
}

#site .alan:before {
  position: absolute;
  content: "";
  bottom: 0px;
  right: 0px;
  width: 70%;
  height: 70%;
  background: url("../img/filigran-1.png");
  background-size: 100% auto;
  background-position: right bottom;
  background-repeat: no-repeat;
  z-index: -1;
}

#site .alan .sol {
  width: 270px;
  background: #fef5f3;
  border-radius: 35px 0px 0px 35px;
}

#site .alan.active .sol {
  width: 82px;
  overflow: hidden;
}

#site .alan .sol .ust {
  position: relative;
  padding: 0px 40px;
  height: 10vh;
  display: flex;
  align-items: center;
  border-bottom: 1px solid #fee5e2;
}

#site .alan.active .sol .ust {
  padding: 0px 20px;
}

#site .alan .sol .ust .logo {
  display: block;
}

#site .alan.active .sol .ust .logo {
  display: none;
}

#site .alan .sol .ust .logo img {
  height: 43px;
}

#site .alan .sol .ust .fav {
  display: none;
}

#site .alan.active .sol .ust .fav {
  display: block;
}

#site .alan .sol .ust .fav img {
  height: 43px;
}

#site .alan .sol .ust .kapatac {
  position: absolute;
  bottom: -16px;
  right: -16px;
  width: 36px;
  height: 36px;
  border-radius: 3px;
  font-size: 18px;
  color: #626264;
  background: #fef3f1;
  border: 1px solid #fbe5e2;
  display: flex;
  align-items: center;
  justify-content: center;
}

#site .alan.active .sol .ust .kapatac {
  right: 6px;
  transform: rotate(180deg);
}

#site .alan .sol .ust .mkapatac {
  position: absolute;
  bottom: 22px;
  right: 22px;
  width: 43px;
  height: 43px;
  border-radius: 3px;
  font-size: 28px;
  color: #626264;
  background: #fef3f1;
  border: 1px solid #fbe5e2;
  display: none;
  align-items: center;
  justify-content: center;
}

#site .alan.active .sol .ust .mkapatac {
  right: 6px;
  transform: rotate(180deg);
}

#site .alan .sol .profil {
  position: relative;
  padding: 20px 40px;
}

#site .alan.active .sol .profil {
  display: none;
}

#site .alan .sol .profil .profilic {
  position: relative;
  display: flex;
  align-items: center;
}

#site .alan .sol .profil .profilic .res {
  width: 40px;
  height: 40px;
  border-radius: 20px;
  object-fit: cover;
  object-position: center;
}

#site .alan .sol .profil .profilic .adi {
  width: calc(100% - 40px);
  padding-left: 10px;
  color: #49454f;
  font-size: 16px;
  font-style: normal;
  font-weight: 600;
  line-height: normal;
}

#site .alan .sol .profil .acilan {
  position: absolute;
  top: 100%;
  right: 20px;
  width: calc(100% - 40px);
  background: #fff;
  border-radius: 20px;
  padding: 20px;
  display: none;
  flex-direction: column;
  grid-gap: 10px;
  z-index: 20;
}

#site .alan .sol .profil .acilan a {
  display: flex;
  align-items: center;
  grid-gap: 5px;
  font-size: 14px;
  color: #000;
}

#site .alan .sol .profil .acilan a i {
  font-size: 20px;
}

#site .alan .sol .profil:hover .acilan {
  display: flex;
}

#site .alan .sol .menu {
  display: flex;
  flex-direction: column;
  padding: 8px 8px;
}

#site .alan .sol .menu .menulink {
  display: flex;
  align-items: center;
  grid-gap: 10px;
  padding: 16px 32px;
  color: #71717a;
  font-size: 16px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
  border-radius: 8px;
}

#site .alan.active .sol .menu .menulink {
  padding: 16px 20px;
  color: rgba(0, 0, 0, 0);
}

#site .alan .sol .menu .menulink.active,
#site .alan .sol .menu .menulink:hover {
  background: rgba(255, 99, 72, 0.3);
  color: #fe492c;
}

#site .alan .sol .menu .menulink span {
  width: 32px;
}

#site .alan .sol .menu .menulink span img {
  max-width: 24px;
}

#site .alan .sag {
  width: calc(100% - 270px);
  min-height: calc(100vh - 60px);
  background: rgba(255, 255, 255, 0.6);
}

#site .alan.active .sag {
  width: calc(100% - 82px);
}

#site .alan .sag .ust {
  display: none;
  align-items: center;
  grid-gap: 20px;
  padding: 0px 20px;
  height: 8vh;
}

#site .alan .sag .ust .fav {
  display: block;
  margin-right: auto;
}

#site .alan .sag .ust .fav img {
  height: 43px;
}

#site .alan .sag .ust .mkapatac {
  width: 43px;
  height: 43px;
  border-radius: 3px;
  font-size: 34px;
  color: #626264;
  background: #fef3f1;
  border: 1px solid #fbe5e2;
  display: flex;
  align-items: center;
  justify-content: center;
}

#site .alan .sag .alt {
  padding: 20px 40px;
}

/* Main Container */
#masalar {
  padding: 16px;
  max-width: 1800px;
  margin: 0 auto;
}

/* Header */
#masalar .masalarust {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  flex-wrap: wrap;
  gap: 16px;
  background: #ffffff;
  padding: 16px;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
}

/* Filter Pills */
#masalar .bolumler {
  flex: 1;
  min-width: 280px;
}

#masalar .bolumler .bolumleric {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding: 12px;
  background: #f8fafc;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
}

#masalar .bolumler .bolumleric a {
  padding: 8px 16px;
  border-radius: 8px;
  text-decoration: none;
  color: #64748b;
  font-size: 14px;
  font-weight: 600;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  white-space: nowrap;
}

#masalar .bolumler .bolumleric a.active {
  color: #fff;
  background: #fe6447;
  border-color: #fe6447;
}

/* Action Buttons */
#masalar .butonlar {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

#masalar .butonlar .btn {
  padding: 10px 20px;
  border: none;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  width: max-content;
  text-decoration: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  background: #334155;
  color: #fff;
  border: 1px solid #e2e8f0;
}

/* Hızlı Satışlar - Sipariş Açma Butonları */
.quick-order-buttons-hizlisatislar {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  width: 100%;
  min-width: 500px;
}

.quick-order-btn-hizlisatislar {
  background: white;
  border: 2px solid #e2e8f0;
  border-radius: 12px;
  padding: 1rem;
  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: 0.75rem;
  text-decoration: none;
  color: #1f2937;
  position: relative;
  min-height: 100px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

/* Pseudo-element kaldırıldı - performans için */

.quick-order-btn-hizlisatislar:hover {
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.12);
  border-color: transparent;
}

.quick-order-btn-hizlisatislar.loading {
  opacity: 0.6;
  pointer-events: none;
}

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

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

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

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

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

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

.quick-order-btn-self-hizlisatislar .quick-order-btn-title-hizlisatislar,
.quick-order-btn-self-hizlisatislar .quick-order-btn-subtitle-hizlisatislar {
  color: white;
}

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

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

.quick-order-btn-paket-hizlisatislar .quick-order-btn-title-hizlisatislar,
.quick-order-btn-paket-hizlisatislar .quick-order-btn-subtitle-hizlisatislar {
  color: white;
}

#masalar .butonlar .btn-mutfak,
#masalar .butonlar .btn-bolum {
  background: #334155;
  color: #fff;
}

#masalar .butonlar .btn-duzenle {
  background: #fe6447;
  color: #fff;
}

/* Grid Layout - Responsive masa kartları */
#masalar .row {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
  align-items: stretch;
  width: 100%;
}
#masalar .hsrow {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
  align-items: stretch;
  width: 100%;
}

/* Remove Bootstrap Classes */
#masalar .col-lg-4,
#masalar .col-xxl-3 {
  width: auto !important;
  max-width: none !important;
  flex: none !important;
  padding: 0 !important;
  height: 100%;
  display: flex;
  flex-direction: column;
}

/* Table Cards */
#masalar .masaitem {
  background: #ffffff;
  border-radius: 12px;
  border: 1px solid #e2e8f0 !important;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  height: 100%;
  min-height: 200px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  contain: layout style;
}

/* Status Indicators */
#masalar .masaitem.status-danger {
  border-left: 4px solid #fe6447;
  background: #fff;
}

#masalar .masaitem.status-success {
  border-left: 4px solid #10b981;
  background: #fff;
}

#masalar .masaitem.status-warning {
  border-left: 4px solid #f59e0b;
  background: #fff;
}

#masalar .masaitem.status-inactive {
  border-left: 4px solid #64748b;
  background: #fff;
  opacity: 0.8;
}

/* Order Type Indicators - Paket Servis ve Self Servis Ayrımı */
#masalar .masaitem.order-type-paket {
  border-left: 4px solid #3b82f6;
  background: linear-gradient(
    to right,
    rgba(59, 130, 246, 0.05) 0%,
    #ffffff 4%
  );
}

#masalar .masaitem.order-type-self {
  border-left: 4px solid #10b981;
  background: linear-gradient(
    to right,
    rgba(16, 185, 129, 0.05) 0%,
    #ffffff 4%
  );
}

#masalar .masaitem .katman1 .kleft .order-type-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 0.75em;
  font-weight: 600;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

#masalar .masaitem .katman1 .kleft .order-type-badge i {
  font-size: 1em;
  margin-right: 0;
}

#masalar .masaitem .katman1 .kleft .order-type-badge.badge-paket {
  background: rgba(59, 130, 246, 0.1);
  color: #1e40af;
  border: 1px solid rgba(59, 130, 246, 0.2);
}

#masalar .masaitem .katman1 .kleft .order-type-badge.badge-paket i {
  color: #3b82f6;
}

#masalar .masaitem .katman1 .kleft .order-type-badge.badge-self {
  background: rgba(16, 185, 129, 0.1);
  color: #047857;
  border: 1px solid rgba(16, 185, 129, 0.2);
}

#masalar .masaitem .katman1 .kleft .order-type-badge.badge-self i {
  color: #10b981;
}

/* Card Header */
#masalar .masaitem .katman1 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px;
  border-bottom: 1px solid #e2e8f0 !important;
  text-decoration: none;
  color: inherit;
  background: #ffffff;
  border-color: #e2e8f0;
}

#masalar .masaitem .katman1 .kleft {
  flex: 1;
}

#masalar .masaitem .katman1 .kleft .musteri-adi {
  font-size: 0.85em;
  color: #64748b;
  margin-bottom: 4px;
  font-weight: 500;
  display: flex;
  align-items: center;
}

#masalar .masaitem .katman1 .kleft .musteri-adi.musteri-yok {
  color: #94a3b8;
  font-style: italic;
}

#masalar .masaitem .katman1 .kleft .musteri-adi i {
  margin-right: 4px;
  font-size: 0.9em;
}

#masalar .masaitem .katman1 .kleft .adi {
  font-size: 16px;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 2px;
}

#masalar .masaitem .katman1 .kleft .sure {
  font-size: 7px;
  color: #64748b;
  font-weight: 500;
  width: max-content;
}

#masalar .masaitem .katman1 .kleft .son-siparis {
  font-size: 9px;
  color: #94a3b8;
  font-weight: 400;
  margin-top: 4px;
  line-height: 1.2;
}

#masalar .masaitem .katman1 .kright span {
  color: #334155;
  font-weight: 600;
  font-size: 17px;
  min-width: 60px;
  text-align: center;
}

/* Price Display */
#masalar .masaitem .katman2 {
  flex: 1;
  display: flex;
  align-items: center;
  text-decoration: none;
  padding: 16px;
}

#masalar .masaitem .katman2 span {
  width: 100%;
  padding: 16px;
  border-radius: 8px;
  text-align: center;
  font-size: 18px;
  font-weight: 700;
  border: 1px solid #e2e8f0;
}

#masalar .masaitem .katman2 span.pasif {
  background: #ff000024;
  color: #64748b;
}

#masalar .masaitem .katman2 span.aktif {
  background: #fff;
  color: #fe6447;
  border-color: #fe6447;
}

#masalar .masaitem .katman2 span:not(.pasif):not(.aktif) {
  background: rgba(25, 135, 84, 0.3);
  color: #198754;
}

/* Stats Section */
#masalar .masaitem .katman3 {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  border-top: 1px solid #e2e8f0;
  gap: 12px;
  flex-wrap: wrap;
  background: #ffffff;
}

#masalar .masaitem .katman3:last-child {
  border-bottom-left-radius: 11px;
  border-bottom-right-radius: 11px;
}

#masalar .masaitem .katman3 span {
  font-size: 12px;
  color: #475569;
  font-weight: 600;
  padding: 6px 12px;
  background: #f8fafc;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
}

#masalar .masaitem .katman3 b {
  color: #fff;
  font-weight: 700;
  background: #fe6447;
  padding: 4px 10px;
  border-radius: 8px;
  margin-left: 8px;
  border: 1px solid #fe6447;
}

/* Action Buttons */
#masalar .masaitem .katman3 .badge {
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 11px;
  font-weight: 700;
  text-decoration: none;
  border: none;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

#masalar .masaitem .katman3 .btn-tasi {
  background: #fe6447;
  color: #fff;
  border: 1px solid #fe6447;
}

#masalar .masaitem .katman3 .btn-yazdir {
  background: #64748b;
  color: #fff;
  border: 1px solid #64748b;
}

#masalar .masaitem .katman3 .btn-gor {
  background: #334155;
  color: #fff;
  border: 1px solid #334155;
}

/* Hidden Elements */
#masalar #canlianaekranbuton {
  display: none !important;
}

#masalar .ackapaitem.hidden {
  display: none;
}

/* Loading State */
#masalar .loading {
  opacity: 0.6;
  pointer-events: none;
}

/* Tablet Responsive (768px - 1024px) */
@media (max-width: 1024px) {
  #masalar {
    padding: 12px;
  }

  #masalar .masalarust {
    margin-bottom: 16px;
    gap: 12px;
    padding: 12px;
    border-radius: 8px;
  }

  #masalar .row {
    gap: 12px;
    grid-template-columns: repeat(5, 1fr);
    align-items: stretch;
  }
  #masalar .hsrow {
    gap: 12px;
    grid-template-columns: repeat(5, 1fr);
    align-items: stretch;
  }

  #masalar .col-lg-4,
  #masalar .col-xxl-3 {
    height: 100%;
    display: flex;
    flex-direction: column;
  }

  #masalar .masaitem {
    min-height: 250px;
    height: 100%;
    border-radius: 8px;
  }

  #masalar .masaitem .katman1 {
    padding: 12px;
  }

  #masalar .masaitem .katman1 .kleft .adi {
    font-size: 15px;
    margin-bottom: 6px;
  }

  #masalar .masaitem .katman1 .kleft .sure {
    padding: 5px 10px;
    font-size: 11px;
  }

  #masalar .masaitem .katman1 .kleft .son-siparis {
    font-size: 10px;
    margin-top: 3px;
  }

  #masalar .masaitem .katman1 .kright span {
    padding: 8px 12px;
    font-size: 13px;
  }

  #masalar .masaitem .katman2 {
    padding: 12px;
  }

  #masalar .masaitem .katman2 span {
    padding: 12px;
    font-size: 16px;
  }

  #masalar .masaitem .katman3 {
    padding: 8px 12px;
    gap: 8px;
  }

  #masalar .masaitem .katman3 span {
    font-size: 11px;
    padding: 5px 8px;
  }
}

/* Responsive masa kartları - Ekran boyutuna göre otomatik ayarlama */
@media (min-width: 1400px) {
  #masalar .row {
    grid-template-columns: repeat(6, 1fr);
    gap: 12px;
    align-items: stretch;
  }
  #masalar .hsrow {
    grid-template-columns: repeat(5, 1fr);
    gap: 12px;
    align-items: stretch;
  }
  #masalar .col-lg-4,
  #masalar .col-xxl-3 {
    height: 100%;
    display: flex;
    flex-direction: column;
  }

  #masalar .masaitem {
    min-height: 240px;
    height: 100%;
  }
}

@media (min-width: 1200px) and (max-width: 1399px) {
  #masalar .row {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 10px;
    align-items: stretch;
  }
  #masalar .hsrow {
    grid-template-columns: repeat(5, 1fr);
    gap: 12px;
    align-items: stretch;
  }
  #masalar .col-lg-4,
  #masalar .col-xxl-3 {
    height: 100%;
    display: flex;
    flex-direction: column;
  }

  #masalar .masaitem {
    min-height: 230px;
    height: 100%;
  }
}

@media (min-width: 1000px) and (max-width: 1199px) {
  #masalar .row {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 8px;
  }
  #masalar .hsrow {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 8px;
  }

  #masalar .col-lg-4,
  #masalar .col-xxl-3 {
    height: 100%;
    display: flex;
    flex-direction: column;
  }

  #masalar .masaitem {
    min-height: 220px;
    height: 100%;
  }
}

@media (min-width: 800px) and (max-width: 999px) {
  #masalar .row {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 8px;
    align-items: stretch;
  }
  #masalar .hsrow {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 8px;
    align-items: stretch;
  }
  #masalar .col-lg-4,
  #masalar .col-xxl-3 {
    height: 100%;
    display: flex;
    flex-direction: column;
  }

  #masalar .masaitem {
    min-height: 240px;
    height: 100%;
  }
}

/* Mobile Responsive (max-width: 768px) */
@media (max-width: 768px) {
  #masalar {
    padding: 4px 4px 4px 6px; /* top right bottom left: add 2px left padding */
  }

  #masalar .masalarust {
    flex-direction: column;
    gap: 6px;
    padding: 6px;
    margin-bottom: 8px;
  }

  #masalar .bolumler {
    min-width: auto;
    width: 100%;
  }

  #masalar .bolumler .bolumleric {
    justify-content: center;
    padding: 4px;
    gap: 3px;
    border-radius: 4px;
  }

  #masalar .bolumler .bolumleric a {
    padding: 3px 6px;
    font-size: 10px;
    border-radius: 3px;
  }

  #masalar .butonlar {
    justify-content: center;
    width: 100%;
    gap: 3px;
  }

  #masalar .butonlar .btn {
    padding: 4px 8px;
    font-size: 10px;
    flex: 1;
    justify-content: center;
    min-width: 0;
    border-radius: 3px;
  }

  .quick-order-buttons-hizlisatislar {
    grid-template-columns: 1fr;
    gap: 0.75rem;
    min-width: auto;
  }

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

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

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

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

  #masalar .row {
    grid-template-columns: repeat(3, 1fr);
    gap: 4px;
    align-items: stretch;
  }
  #masalar .hsrow {
    grid-template-columns: repeat(3, 1fr);
    gap: 4px;
    align-items: stretch;
  }

  #masalar .col-lg-4,
  #masalar .col-xxl-3 {
    height: 100%;
    display: flex;
    flex-direction: column;
  }

  #masalar .masaitem {
    min-height: 180px;
    height: 100%;
    border-radius: 4px;
  }

  #masalar .masaitem .katman1 {
    padding: 6px;
  }

  #masalar .masaitem .katman1 .kleft .adi {
    font-size: 11px;
    margin-bottom: 2px;
  }

  #masalar .masaitem .katman1 .kleft .sure {
    font-size: 8px;
    padding: 2px 4px;
    border-radius: 3px;
  }

  #masalar .masaitem .katman1 .kright span {
    padding: 4px 6px;
    font-size: 9px;
    border-radius: 3px;
    min-width: 35px;
  }

  #masalar .masaitem .katman2 {
    padding: 6px;
  }

  #masalar .masaitem .katman2 span {
    padding: 6px;
    font-size: 12px;
    border-radius: 3px;
  }

  #masalar .masaitem .katman3 {
    padding: 4px 6px;
    gap: 4px;
    flex-wrap: wrap;
  }

  #masalar .masaitem .katman3 span {
    font-size: 8px;
    padding: 3px 4px;
    border-radius: 3px;
  }

  #masalar .masaitem .katman3 .badge {
    padding: 3px 4px;
    font-size: 7px;
    border-radius: 3px;
    letter-spacing: 0.25px;
  }

  #masalar .masaitem .katman3 b {
    padding: 2px 4px;
    margin-left: 3px;
    border-radius: 3px;
  }
}

/* Extra Small Mobile (max-width: 480px) */
@media (max-width: 480px) {
  #masalar {
    padding: 2px 2px 2px 4px; /* add 2px extra left padding */
  }

  #masalar .masalarust {
    padding: 4px;
    gap: 4px;
    margin-bottom: 6px;
  }

  #masalar .bolumler .bolumleric {
    padding: 2px;
    gap: 2px;
  }

  #masalar .bolumler .bolumleric a {
    padding: 2px 4px;
    font-size: 9px;
  }

  #masalar .butonlar {
    gap: 2px;
  }

  #masalar .butonlar .btn {
    padding: 3px 6px;
    font-size: 9px;
  }

  .quick-order-buttons-hizlisatislar {
    grid-template-columns: 1fr;
    gap: 0.5rem;
    min-width: auto;
  }

  .quick-order-btn-hizlisatislar {
    min-height: 100px;
    padding: 1rem;
  }

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

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

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

  #masalar .row {
    gap: 3px;
    grid-template-columns: repeat(3, 1fr);
    padding-left: 12px;
    align-items: stretch;
  }
  #masalar .hsrow {
    gap: 3px;
    grid-template-columns: repeat(2, 1fr);
    padding-left: 7px;
    align-items: stretch;
  }

  #masalar .masaitem {
    min-height: 160px;
    border-radius: 3px;
  }

  #masalar .masaitem .katman1 {
    padding: 4px;
  }

  #masalar .masaitem .katman1 .kleft .adi {
    font-size: 10px;
    margin-bottom: 1px;
  }

  #masalar .masaitem .katman1 .kleft .sure {
    font-size: 7px;
    padding: 1px 3px;
  }

  #masalar .masaitem .katman1 .kright span {
    padding: 3px 4px;
    font-size: 8px;
    min-width: 30px;
  }

  #masalar .masaitem .katman2 {
    padding: 4px;
  }

  #masalar .masaitem .katman2 span {
    padding: 4px;
    font-size: 11px;
  }

  #masalar .masaitem .katman3 {
    padding: 3px 4px;
    gap: 3px;
  }

  #masalar .masaitem .katman3 span {
    font-size: 7px;
    padding: 2px 3px;
  }

  #masalar .masaitem .katman3 .badge {
    padding: 2px 3px;
    font-size: 6px;
  }

  #masalar .masaitem .katman3 b {
    padding: 1px 3px;
    margin-left: 2px;
  }
}

/* Nav Tabs */
.nav-tabs {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  grid-gap: 8px;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0px 5px 15px 1px rgba(113, 113, 122, 0.1);
  padding: 8px;
  margin-bottom: 10px;
  border: none;
}

.nav-tabs .nav-link {
  padding: 10px 23px;
  border-radius: 13px;
  opacity: 0.9;
  color: #71717a !important;
  font-size: 16px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
  border: 0px;
  background: transparent;
}

.nav-tabs .nav-link.active,
.nav-tabs .nav-link:hover {
  background: #fde0db !important;
  color: #fe492c !important;
}

.tab-pane {
  border-radius: 20px;
  padding: 20px 30px !important;
  background: #fff !important;
}

/* Genelsayfa Styles */
#genelsayfa {
  position: relative;
  padding: 24px;
}

.bread {
  position: relative;
  display: flex;
  align-items: center;
  margin-bottom: 30px;
}

.bread .baslik {
  color: #49454f;
  font-size: 30px;
  font-style: normal;
  font-weight: 600;
  line-height: normal;
  margin-right: auto;
}

.bread .linkler {
  display: flex;
  align-items: center;
  grid-gap: 10px;
  color: #49454f;
  font-size: 14px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
}

.bread .linkler a {
  color: #49454f;
}

.bread .linkler a.active {
  color: var(--anarenk);
}

.keypad-container {
  background: #ddd;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.keypad-container .keypad {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

.keypad-container .keypad button {
  width: calc(25% - 3px);
  height: 60px;
  font-size: 20px;
  font-weight: bold;
  border: none;
  border-radius: 16px;
}

.keypad-container .keypad button:active {
  background: #444;
}

.keypad-container .keypadust {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.keypad-container .keypadust button {
  width: calc(20% - 4px);
  height: 60px;
  font-size: 20px;
  font-weight: bold;
  border: none;
  border-radius: 16px;
}

.keypad-container .keypadust button:active {
  background: #444;
}

.keypad-container .btn-wide {
  width: 64%;
}

.urunitem {
  border-radius: 20px;
  background: #fff;
  padding: 8px;
}

.urunitem:hover {
  border-radius: 20px;
  background: #fe492c;
  padding: 8px;
  cursor: grab;
}

.urunitem .urunitemust {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  border-radius: 12px;
  background: #f6f6f6;
  padding: 8px;
  margin-bottom: 8px;
}

.urunitem .urunitemust .res {
  width: 92px;
  height: 92px;
  object-fit: cover;
  object-position: center;
  border-radius: 8px;
}

.urunitem .urunitemust .bilgi {
  width: calc(100% - 92px);
  padding-left: 10px;
}

.urunitem .urunitemust .bilgi .adi {
  color: #49454f;
  font-size: 20px;
  font-style: normal;
  font-weight: 600;
  line-height: normal;
}

.urunitem .urunitemust .bilgi .fiyat {
  color: rgba(153, 153, 153, 0.97);
  font-size: 20px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
}

.urunitem .urunitemust .bilgi .fiyat span {
  color: #fe492c;
}

.urunitem .form-control {
  height: 40px;
  border-radius: 12px;
}

.urunitem .btn {
  height: 40px;
  border-radius: 12px;
}

/* Badge Styles */
.badge {
  display: inline-block;
  padding: 0.375rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1;
  color: #fff;
  text-align: center;
  white-space: nowrap;
  vertical-align: baseline;
  border-radius: 0.375rem;
  text-decoration: none;
  transition: var(--transition);
}

.badge:hover {
  text-decoration: none;
  color: #fff;
}

.light.sharp {
  opacity: 0.8;
}

.light.sharp:hover {
  opacity: 1;
}

/* Table Responsive */
.table-responsive {
  border-radius: var(--border-radius-lg);
  overflow: hidden;
}

.table {
  background: var(--bg-primary);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  border-collapse: separate;
  border-spacing: 0;
}

.table th {
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border-color);
  padding: 16px;
  font-weight: 600;
  color: var(--text-primary);
}

.table td {
  padding: 16px;
  border-bottom: 1px solid var(--border-color);
  vertical-align: middle;
}

.table tbody tr:hover {
  background: var(--bg-secondary);
}

/* Alert Styles */
.alert {
  padding: 1rem 1.25rem;
  margin-bottom: 1rem;
  border: 1px solid transparent;
  border-radius: var(--border-radius-lg);
}

.alert-warning {
  color: #856404;
  background-color: #fff3cd;
  border-color: #ffeaa7;
}

.alert .media {
  display: flex;
  align-items: flex-start;
}

.alert-left-icon-big {
  margin-right: 1rem;
}

.alert-left-icon-big span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.1);
  font-size: 24px;
}

.media-body h5 {
  margin-top: 0;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.media-body p {
  margin-bottom: 0;
}

/* Icon Support */
.las,
.la {
  font-family: "Line Awesome Free", "Font Awesome 6 Free";
  font-weight: 900;
}

.las.la-trash:before {
  content: "\f2ed";
}

.las.la-save:before {
  content: "\f0c7";
}

/* Focus and accessibility improvements */
.btn:focus,
.form-control:focus {
  outline: 2px solid var(--primary-color);
  outline-offset: 2px;
}

/* Additional utility classes */
.ms-3 {
  margin-left: 1rem !important;
}

/* Modern Page Header */
.modern-page-header {
  background: var(--bg-primary);
  border-radius: var(--border-radius-lg);
  padding: 32px;
  margin-bottom: 24px;
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  position: relative;
  overflow: hidden;
}

.modern-page-header::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 3px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--primary-color),
    transparent
  );
  transition: left 0.5s;
}

.modern-page-header:hover::before {
  left: 100%;
}

.modern-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  font-size: 14px;
  color: var(--text-secondary);
}

.modern-breadcrumb a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: var(--transition-fast);
  display: flex;
  align-items: center;
  gap: 6px;
}

.modern-breadcrumb a:hover {
  color: var(--primary-color);
}

.modern-breadcrumb .active {
  color: var(--primary-color);
  font-weight: 600;
}

.header-title-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
}

.title-container {
  display: flex;
  align-items: center;
  gap: 16px;
}

.modern-page-title {
  font-size: 32px;
  font-weight: 800;
  color: var(--text-primary);
  margin: 0;
  line-height: 1.2;
}

.total-count-badge {
  background: var(--primary-light);
  color: var(--primary-color);
  padding: 8px 16px;
  border-radius: var(--border-radius);
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
}

.header-subtitle {
  color: var(--text-secondary);
  font-size: 16px;
  margin-bottom: 24px;
  line-height: 1.5;
}

/* Modern Controls Section */
.modern-controls-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.search-container {
  position: relative;
  flex: 1;
  max-width: 400px;
}

.modern-search-input {
  width: 100%;
  padding: 14px 20px 14px 48px;
  border: 2px solid var(--border-color);
  border-radius: var(--border-radius-lg);
  background: var(--bg-secondary);
  font-size: 15px;
  transition: var(--transition);
  outline: none;
}

.modern-search-input:focus {
  border-color: var(--primary-color);
  background: var(--bg-primary);
  box-shadow: 0 0 0 3px var(--primary-light);
  transform: scale(1.02);
}

.search-icon {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  font-size: 18px;
  transition: var(--transition-fast);
}

.modern-search-input:focus + .search-icon {
  color: var(--primary-color);
}

.action-buttons-group {
  display: flex;
  gap: 12px;
}

.modern-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 24px;
  border: none;
  border-radius: var(--border-radius-lg);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.modern-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  transition: left 0.5s;
}

.modern-btn:hover::before {
  left: 100%;
}

.modern-btn-primary {
  background: var(--primary-color);
  color: white;
}

.modern-btn-primary:hover {
  background: var(--mor);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  color: white;
  text-decoration: none;
}

.modern-btn-secondary {
  background: var(--bg-tertiary);
  color: var(--text-primary);
  border: 1px solid var(--border-color);
}

.modern-btn-secondary:hover {
  background: var(--bg-primary);
  border-color: var(--primary-color);
  color: var(--primary-color);
  transform: translateY(-2px);
}

/* Modern Filter Panel */
.modern-filter-panel {
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-lg);
  padding: 24px;
  margin-bottom: 24px;
  box-shadow: var(--shadow-sm);
  animation: slideDown 0.3s ease;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
    max-height: 0;
  }
  to {
    opacity: 1;
    transform: translateY(0);
    max-height: 200px;
  }
}

.filter-content {
  max-width: 100%;
}

.filter-row {
  display: flex;
  gap: 20px;
  align-items: end;
  flex-wrap: wrap;
}

.filter-group {
  flex: 1;
  min-width: 200px;
}

.filter-label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: var(--text-primary);
  font-size: 14px;
}

.filter-select,
.filter-input {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  background: var(--bg-primary);
  font-size: 14px;
  transition: var(--transition);
}

.filter-select:focus,
.filter-input:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px var(--primary-light);
}

/* Modern Table Container */
.modern-table-container {
  background: var(--bg-primary);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  border: 1px solid rgba(255, 255, 255, 0.2);
  position: relative;
}

.table-wrapper {
  overflow-x: auto;
  overflow-y: hidden;
}

.modern-vendor-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: var(--bg-primary);
}

/* Modern Table Header */
.modern-table-header {
  background: linear-gradient(
    135deg,
    var(--bg-tertiary) 0%,
    var(--bg-secondary) 100%
  );
  position: relative;
}

.modern-table-header::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--primary-color), var(--mor));
}

.modern-table-header th {
  padding: 20px 24px;
  text-align: left;
  border-bottom: 2px solid var(--border-color);
  position: relative;
}

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

.header-text {
  font-weight: 700;
  font-size: 13px;
  color: var(--text-primary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.sortable-header {
  cursor: pointer;
  user-select: none;
  transition: var(--transition-fast);
}

.sortable-header:hover {
  background: var(--primary-light);
}

.sortable-header:hover .header-text {
  color: var(--primary-color);
}

.sort-icon {
  opacity: 0.5;
  transition: var(--transition-fast);
  font-size: 12px;
}

.sortable-header:hover .sort-icon {
  opacity: 1;
  color: var(--primary-color);
}

.actions-header {
  text-align: center;
}

/* Modern Table Body */
.modern-vendor-row {
  border-bottom: 1px solid var(--border-color);
  transition: var(--transition);
  cursor: pointer;
  position: relative;
}

.modern-vendor-row:hover::before {
  width: 4px;
}

.modern-vendor-row:hover {
  background: linear-gradient(
    135deg,
    var(--primary-light) 0%,
    rgba(139, 92, 246, 0.05) 100%
  );
  transform: translateX(4px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.modern-vendor-row.row-selected {
  background: var(--primary-light);
}

.modern-vendor-row.row-selected::before {
  width: 4px;
}

.modern-vendor-row:last-child {
  border-bottom: none;
}

.modern-vendor-row td {
  padding: 20px 24px;
  vertical-align: middle;
  border: none;
}

/* Modern Vendor Info */
.vendor-info {
  display: flex;
  align-items: center;
  gap: 16px;
}

.vendor-selection {
  position: relative;
}

.modern-checkbox {
  width: 20px;
  height: 20px;
  border: 2px solid var(--border-color);
  border-radius: 6px;
  cursor: pointer;
  transition: var(--transition-fast);
  appearance: none;
  outline: none;
  position: relative;
}

.modern-checkbox:checked {
  background: var(--primary-color);
  border-color: var(--primary-color);
}

.modern-checkbox:checked::after {
  content: "✓";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  font-size: 12px;
  font-weight: bold;
}

.vendor-logo-modern {
  width: 48px;
  height: 48px;
  border-radius: var(--border-radius);
  background: linear-gradient(135deg, var(--primary-color), var(--mor));
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  font-size: 16px;
  border: 2px solid var(--border-color);
  transition: var(--transition);
}

.modern-vendor-row:hover .vendor-logo-modern {
  border-color: var(--primary-color);
  transform: scale(1.1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.vendor-details {
  flex: 1;
}

.vendor-name {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0 0 4px 0;
  line-height: 1.3;
}

.vendor-description {
  font-size: 14px;
  color: var(--text-secondary);
  margin: 0;
}

/* Performance Container */
.performance-container {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.price-display {
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.currency-amount {
  font-size: 18px;
  font-weight: 700;
  color: var(--primary-color);
}

.currency-symbol {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-secondary);
  display: inline;
  white-space: nowrap;
}

/* Price Display Fix - Gider Listele ve Müşteri Listele */
.performance-container {
  display: inline-block;
  width: 100%;
}

.performance-container .price-display {
  display: inline-flex !important;
  flex-direction: row !important;
  align-items: baseline !important;
  gap: 4px !important;
  white-space: nowrap !important;
  flex-wrap: nowrap !important;
  width: auto !important;
}

.performance-container .currency-amount {
  display: inline-block !important;
  white-space: nowrap !important;
  margin-right: 0 !important;
}

.performance-container .currency-symbol {
  display: inline !important;
  white-space: nowrap !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  float: none !important;
  position: static !important;
}

.category-info {
  display: flex;
}

.category-badge {
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.category-genel {
  background: var(--primary-light);
  color: var(--primary-color);
}

.category-yiyecek {
  background: rgba(16, 185, 129, 0.1);
  color: var(--success-color);
}

.category-ticari {
  background: rgba(59, 130, 246, 0.1);
  color: var(--info-color);
}

.category-operasyonel {
  background: rgba(245, 158, 11, 0.1);
  color: var(--warning-color);
}

/* Date Display */
.date-display {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.date-primary {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
}

.date-secondary {
  font-size: 12px;
  color: var(--text-secondary);
}

/* Status Container */
.status-container {
  display: flex;
}

.status-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: var(--border-radius);
  font-size: 12px;
  font-weight: 600;
}

.status-active {
  background: rgba(16, 185, 129, 0.1);
  color: var(--success-color);
}

.status-inactive {
  background: rgba(239, 68, 68, 0.1);
  color: var(--danger-color);
}

/* Action Buttons */
.action-buttons-cell {
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: center;
}

.action-btn {
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  text-decoration: none;
}

.btn-edit {
  background: var(--success-color);
  color: white;
}

.btn-edit:hover {
  background: #059669;
  transform: scale(1.1);
  box-shadow: var(--shadow);
  color: white;
  text-decoration: none;
}

.btn-more {
  background: var(--bg-tertiary);
  color: var(--text-secondary);
}

.btn-more:hover {
  background: var(--primary-color);
  color: white;
  transform: scale(1.1);
}

/* Modern Pagination */
.modern-pagination-container {
  padding: 24px 32px;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.pagination-wrapper {
  display: flex;
  gap: 8px;
  align-items: center;
}

.pagination-info {
  color: var(--text-secondary);
  font-size: 14px;
  margin-left: auto;
}

/* Modern Empty State */
.modern-empty-state {
  text-align: center;
  padding: 60px 20px;
  color: var(--text-secondary);
}

.empty-icon {
  font-size: 64px;
  color: var(--text-muted);
  margin-bottom: 24px;
  opacity: 0.5;
}

.empty-title {
  font-size: 24px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.empty-description {
  font-size: 16px;
  margin-bottom: 24px;
  line-height: 1.5;
}

/* Modern Action Menu Modal */
.modern-action-menu-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: modalFadeIn 0.3s ease;
}

.modern-action-menu-content {
  background: var(--bg-primary);
  border-radius: var(--border-radius-lg);
  min-width: 280px;
  max-width: 400px;
  box-shadow: var(--shadow-xl);
  animation: modalSlideIn 0.3s ease;
  overflow: hidden;
}

.action-menu-header {
  padding: 20px 24px;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--bg-secondary);
}

.menu-title {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
  color: var(--text-primary);
}

.action-menu-close {
  background: none;
  border: none;
  font-size: 18px;
  color: var(--text-secondary);
  cursor: pointer;
  padding: 8px;
  border-radius: var(--border-radius);
  transition: var(--transition);
}

.action-menu-close:hover {
  background: var(--bg-tertiary);
  color: var(--danger-color);
}

.action-menu-body {
  padding: 12px;
}

.modern-action-menu-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: var(--border-radius);
  color: var(--text-primary);
  text-decoration: none;
  transition: var(--transition);
  margin-bottom: 4px;
}

.modern-action-menu-item:hover {
  background: var(--bg-secondary);
  color: var(--text-primary);
  text-decoration: none;
}

.modern-action-menu-item.danger:hover {
  background: rgba(239, 68, 68, 0.1);
  color: var(--danger-color);
}

.modern-action-menu-item i {
  width: 16px;
  text-align: center;
}

.menu-divider {
  height: 1px;
  background: var(--border-color);
  margin: 8px 0;
}

/* Loading Overlay */
.loading-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.loading-spinner {
  text-align: center;
  color: white;
}

.spinner {
  width: 48px;
  height: 48px;
  border: 4px solid rgba(255, 255, 255, 0.3);
  border-top: 4px solid white;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: 0 auto 16px;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* Modern Notifications */
.modern-notification {
  position: fixed;
  top: 20px;
  right: 20px;
  padding: 16px 20px;
  border-radius: var(--border-radius-lg);
  color: white;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 2500;
  transform: translateX(100%);
  transition: transform 0.3s ease;
  box-shadow: var(--shadow-lg);
}

.modern-notification.show {
  transform: translateX(0);
}

.notification-success {
  background: var(--success-color);
}

.notification-error {
  background: var(--danger-color);
}

.notification-info {
  background: var(--info-color);
}

/* Gider Listele - Özel Stiller */
.gider-kategori-kart-modern {
  background: white;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  color: white;
  min-height: 180px;
  display: flex;
  align-items: center;
}

.gider-kategori-kart-modern::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.1) 0%,
    transparent 70%
  );
  pointer-events: none;
}

.gider-kategori-kart-modern:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.kategori-kart-content {
  width: 100%;
  z-index: 1;
  position: relative;
}

.kategori-kart-top {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.kategori-icon-wrapper {
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.25);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.kategori-icon-wrapper i {
  font-size: 24px;
  color: white;
}

.kategori-baslik-modern {
  font-size: 16px;
  font-weight: 600;
  color: white;
  flex: 1;
  line-height: 1.4;
}

.kategori-kart-bottom {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.kategori-tutar-modern {
  font-size: 28px;
  font-weight: 700;
  color: white;
  line-height: 1.2;
}

.currency-symbol-small {
  font-size: 20px;
  font-weight: 500;
  opacity: 0.9;
}

.kategori-degisim-modern {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  padding: 6px 12px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  backdrop-filter: blur(10px);
  width: fit-content;
}

.kategori-degisim-modern i {
  font-size: 16px;
}

.kategori-degisim-modern.degisim-artis {
  background: rgba(255, 255, 255, 0.25);
}

.kategori-degisim-modern.degisim-azalis {
  background: rgba(76, 175, 80, 0.3);
}

.kategori-degisim-modern small {
  font-size: 11px;
  opacity: 0.9;
  margin-left: 4px;
}

.tedarikci-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
  color: white;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
}

.tedarikci-badge i {
  font-size: 14px;
}

.fatura-no-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.fatura-no-badge i {
  font-size: 12px;
}

@media (max-width: 768px) {
  .gider-kategori-kart-modern {
    min-height: 160px;
    padding: 20px;
  }

  .kategori-tutar-modern {
    font-size: 24px;
  }
}

/* Animation Classes */
.fade-in {
  animation: fadeIn 0.6s ease-out;
}

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

.slide-up {
  animation: slideUp 0.4s ease-out;
}

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

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

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

/* Enhanced Responsive Design */
@media (max-width: 1024px) {
  .modern-controls-section {
    flex-direction: column;
    align-items: stretch;
  }

  .search-container {
    max-width: none;
  }

  .action-buttons-group {
    justify-content: center;
  }

  .filter-group {
    min-width: auto;
  }
}

@media (max-width: 768px) {
  .modern-page-header {
    padding: 24px 20px;
  }

  .modern-page-title {
    font-size: 24px;
  }

  .header-title-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .modern-vendor-table {
    font-size: 14px;
  }

  .modern-vendor-row td {
    padding: 16px 12px;
  }

  .vendor-info {
    gap: 12px;
  }

  .vendor-logo-modern {
    width: 40px;
    height: 40px;
    font-size: 14px;
  }

  .vendor-name {
    font-size: 14px;
  }

  .vendor-description {
    font-size: 12px;
  }

  .modern-pagination-container {
    padding: 16px 20px;
    flex-direction: column;
    gap: 16px;
  }

  .pagination-info {
    margin-left: 0;
    text-align: center;
  }

  .modern-action-menu-content {
    min-width: calc(100vw - 40px);
    margin: 20px;
  }

  .hide-mobile {
    display: none;
  }
}

@media (max-width: 480px) {
  .modern-page-header {
    padding: 16px;
  }

  .modern-controls-section {
    gap: 12px;
  }

  .modern-btn {
    padding: 12px 16px;
    font-size: 13px;
  }

  .modern-vendor-row td {
    padding: 12px 8px;
  }

  .performance-container {
    gap: 4px;
  }

  .currency-amount {
    font-size: 16px;
  }

  .category-badge {
    font-size: 10px;
    padding: 3px 8px;
  }
}

#canlianaekran,
.live-screen {
  margin-top: 20px !important;
}

/* Siparis Modal Styles */
.siparis-modal-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
}

.siparis-modal-container {
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
  max-width: 90vw;
  max-height: 90vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

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

.siparis-modal-title {
  margin: 0;
  font-size: 20px;
  font-weight: 600;
}

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

.siparis-modal-close:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: scale(1.1);
}

.siparis-modal-body {
  padding: 24px;
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  min-height: 0;
  -webkit-overflow-scrolling: touch;
}

.siparis-content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  height: auto;
  min-height: 0;
}

.siparis-orders-section {
  display: flex;
  flex-direction: column;
  max-height: calc(94vh - 95px);
  overflow: hidden;
  min-height: 0;
}

.siparis-orders-list-container {
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
  min-height: 0;
  -webkit-overflow-scrolling: touch;
}

.siparis-orders-list-container::-webkit-scrollbar {
  width: 8px;
}

.siparis-orders-list-container::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 10px;
}

.siparis-orders-list-container::-webkit-scrollbar-thumb {
  background: #888;
  border-radius: 10px;
}

.siparis-orders-list-container::-webkit-scrollbar-thumb:hover {
  background: #555;
}

.siparis-orders-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid #f0f0f0;
  flex-shrink: 0;
}

.siparis-orders-title {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  color: #333;
  display: flex;
  align-items: center;
  gap: 8px;
}

.siparis-orders-actions {
  display: flex;
  gap: 8px;
}

.select-all-btn,
.undo-all-btn {
  background: #fe6447;
  color: white;
  border: none;
  border-radius: 8px;
  padding: 8px 12px;
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 6px;
}

.select-all-btn:hover,
.undo-all-btn:hover {
  background: #e55a3f;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(254, 100, 71, 0.3);
}

.select-all-btn {
  background: #28a745;
}

.select-all-btn:hover {
  background: #218838;
  box-shadow: 0 4px 12px rgba(40, 167, 69, 0.3);
}

.siparis-order-item {
  background: #ffffff;
  border: 2px solid #e9ecef;
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  display: flex;
  gap: 12px;
  min-height: 80px;
  flex-shrink: 0;
}

.siparis-order-item:hover {
  border-color: #fe6447;
  box-shadow: 0 4px 12px rgba(254, 100, 71, 0.1);
}

.siparis-order-item.selected-order {
  border-color: #fe6447;
  background: linear-gradient(
    135deg,
    rgba(255, 98, 71, 0.15) 0%,
    rgba(255, 98, 71, 0.08) 100%
  );
}

.siparis-order-item.max-limited {
  text-decoration: line-through;
  opacity: 0.7;
}

.siparis-order-image {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 8px;
  flex-shrink: 0;
}

.siparis-order-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.siparis-order-name {
  font-size: 14px;
  font-weight: 600;
  color: #333;
  line-height: 1.3;
}

.order-quantity {
  color: #fe6447;
  font-weight: 700;
}

.order-variant {
  color: #666;
  font-size: 12px;
}

.order-paid-badge {
  display: inline-block;
  background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
  color: white;
  font-size: 10px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 12px;
  margin-left: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 6px rgba(40, 167, 69, 0.3);
  animation: badgePulse 2s ease-in-out infinite;
}

@keyframes badgePulse {
  0%,
  100% {
    transform: scale(1);
    box-shadow: 0 2px 6px rgba(40, 167, 69, 0.3);
  }
  50% {
    transform: scale(1.05);
    box-shadow: 0 3px 8px rgba(40, 167, 69, 0.5);
  }
}

.siparis-order-extras {
  font-size: 12px;
  color: #666;
  line-height: 1.2;
}

.siparis-order-status {
  font-size: 11px;
  color: #fe6447;
  background: rgba(254, 100, 71, 0.1);
  padding: 2px 6px;
  border-radius: 4px;
  display: inline-block;
  width: fit-content;
}

.siparis-order-price-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 8px;
}

.siparis-order-price {
  font-size: 16px;
  font-weight: 700;
  color: #fe6447;
}

.undo-order-btn {
  background: #dc3545;
  color: white;
  border: none;
  border-radius: 6px;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 12px;
}

.undo-order-btn:hover {
  background: #c82333;
  transform: scale(1.1);
}

.click-counter {
  position: absolute;
  top: 8px;
  right: 8px;
  background: linear-gradient(135deg, #fe6447 0%, #ff4f38 100%);
  color: white;
  border-radius: 50%;
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: bold;
  z-index: 10;
  box-shadow: 0 2px 8px rgba(255, 98, 71, 0.3);
  border: 2px solid #fff;
}

/* Responsive */
@media (max-width: 768px) {
  .siparis-content-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .siparis-orders-header {
    display: none !important;
  }

  .siparis-orders-actions {
    flex-direction: column;
    gap: 4px;
  }

  .select-all-btn,
  .undo-all-btn {
    font-size: 11px;
    padding: 6px 10px;
  }
}

/* Masa Çağır Modal Styles */
/* Masa Çağır Modal Styles */
.masa-cagir-modal .modal-body {
  padding: 20px;
}

/* Desktop: Yan yana layout */
@media (min-width: 768px) {
  #masaCagirModal .modal-dialog {
    max-width: 520px;
  }

  .masa-cagir-modal .modal-body {
    display: flex;
    gap: 20px;
    align-items: flex-start;
  }

  .masa-cagir-bolum-section {
    flex: 0 0 auto;
    margin-bottom: 0;
    width: 160px;
  }

  .masa-cagir-numpad-container {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 240px;
    flex-shrink: 0;
  }
}

/* Mobile: Dikey layout */
@media (max-width: 767px) {
  .masa-cagir-bolum-section {
    margin-bottom: 20px;
  }

  .masa-cagir-numara-section {
    margin-bottom: 20px;
  }
}

.masa-cagir-label {
  display: block;
  font-weight: 600;
  font-size: 13px;
  margin-bottom: 8px;
  color: #333;
}

.masa-cagir-bolum-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 8px;
}

.masa-cagir-bolum-item {
  position: relative;
  cursor: pointer;
  margin: 0;
}

.masa-cagir-bolum-item input[type="radio"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.masa-cagir-bolum-text {
  display: block;
  padding: 10px 16px;
  background: #f5f5f5;
  border: 2px solid #ddd;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
  color: #666;
  transition: all 0.2s ease;
  text-align: center;
}

.masa-cagir-bolum-item input[type="radio"]:checked + .masa-cagir-bolum-text {
  background: #ff6247;
  border-color: #ff6247;
  color: white;
}

.masa-cagir-bolum-item:hover .masa-cagir-bolum-text {
  border-color: #ff6247;
}

.masa-cagir-hint {
  font-size: 12px;
  color: #999;
}

.masa-cagir-numara-section {
  margin-bottom: 0;
}

.masa-cagir-input {
  width: 100%;
  padding: 8px 10px;
  font-size: 16px;
  text-align: center;
  border: 2px solid #ddd;
  border-radius: 6px;
  background: #f8f9fa;
  color: #333;
  font-weight: 600;
  letter-spacing: 2px;
}

.masa-cagir-input::placeholder {
  color: #aaa;
  font-weight: normal;
  letter-spacing: normal;
}

.masa-cagir-numpad {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
}

.numpad-btn {
  padding: 10px;
  font-size: 16px;
  font-weight: 600;
  border: 2px solid #ddd;
  border-radius: 6px;
  background: white;
  color: #333;
  cursor: pointer;
  transition: all 0.2s ease;
  min-height: 44px;
}

.numpad-btn:hover {
  background: #f5f5f5;
  border-color: #ff6247;
}

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

.numpad-backspace,
.numpad-clear {
  background: #f5f5f5;
}

.masa-cagir-footer {
  border-top: 1px solid #dee2e6;
  padding: 15px 20px;
}

/* Desktop: Tamam butonu sağda */
@media (min-width: 768px) {
  .masa-cagir-footer {
    border-top: none;
    padding: 0;
    margin-top: 0;
  }

  .btn-tamam {
    width: 100%;
    padding: 10px 16px;
  }
}

.btn-tamam {
  width: 100%;
  padding: 12px;
  font-size: 16px;
  font-weight: 600;
  background: #ff6247;
  color: white;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-tamam:hover {
  background: #ff4a2a;
  transform: translateY(-1px);
}

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

/* Açık Hesap Modal Stilleri */
.acik-hesap-modal .swal2-html-container {
  padding: 0;
}

.acik-hesap-modal .form-group {
  margin-bottom: 15px;
}

.acik-hesap-modal #musteriAramaInput {
  width: 100%;
  max-width: 100%;
}

.acik-hesap-modal #musteriAramaSonuclari {
  scrollbar-width: thin;
  scrollbar-color: #cbd5e0 #f7fafc;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: white;
  border: 1px solid #ddd;
  border-radius: 4px;
  max-height: 300px;
  overflow-y: auto;
  z-index: 1000;
  margin-top: 2px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.acik-hesap-modal #musteriAramaSonuclari::-webkit-scrollbar {
  width: 6px;
}

.acik-hesap-modal #musteriAramaSonuclari::-webkit-scrollbar-track {
  background: #f7fafc;
}

.acik-hesap-modal #musteriAramaSonuclari::-webkit-scrollbar-thumb {
  background: #cbd5e0;
  border-radius: 3px;
}

.acik-hesap-modal #musteriAramaSonuclari::-webkit-scrollbar-thumb:hover {
  background: #a0aec0;
}

.acik-hesap-modal .musteri-result-item:last-child {
  border-bottom: none !important;
}

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