/* Muqayiseli Satis modul stilleri */
.ms-back {
  background: #e5e7eb;
  color: #111;
  font-weight: 700;
  display: inline-block;
  width: auto;
  padding: 8px 12px;
  margin-bottom: 10px;
}

.ms-title { margin: 6px 0 10px 0; }

.ms-listbox {
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 6px;
  max-height: 55vh;
  overflow: auto;
}

.ms-list-item {
  display: grid;
  grid-template-columns: 20px 1fr;
  align-items: center;
  gap: 10px;
  padding: 6px 8px;
  border-bottom: 1px dashed #eee;
}

.ms-list-item:last-child { border-bottom: none; }
.ms-list-item label { font-weight: 600; color: #111; cursor: pointer; }

.ms-select-products-btn {
  width: 100%;
  text-align: left;
  justify-content: space-between;
  display: flex;
  align-items: center;
}

.ms-date-row {
  display: flex;
  gap: 15px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.ms-date-col { flex: 1; min-width: 120px; }
.ms-full-width { width: 100%; }
.ms-fetch-btn { width: 100%; padding: 10px; font-size: 16px; }
.ms-help { margin-top: 4px; display: block; }
.ms-gap-20 { margin-bottom: 20px; }
.ms-gap-10 { margin-top: 10px; }
.ms-gap-8 { margin-bottom: 8px; }

.ms-cols-row {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin: 8px 0;
}

.ms-cols-modal { max-width: 520px; }
.ms-product-modal { max-width: 560px; }
.ms-modal-title { margin: 0 0 10px 0; }

.ms-product-modal .close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 999px;
  color: #334155;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  border: 1px solid #dbe3f0;
  box-shadow: 0 3px 12px rgba(15, 23, 42, 0.08);
  transition: all 0.2s ease;
}

.ms-product-modal .close:hover {
  color: #0f172a;
  border-color: #bfdbfe;
  box-shadow: 0 8px 18px rgba(59, 130, 246, 0.2);
  transform: translateY(-1px);
}

.ms-cols-list {
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 6px;
  max-height: 55vh;
  overflow: auto;
}

.ms-modal-actions {
  display: flex;
  gap: 8px;
  justify-content: flex-end;
  margin-top: 10px;
}

.ms-no-margin { margin-top: 0; }

.ms-product-footer {
  display: flex;
  gap: 8px;
  justify-content: space-between;
  margin-top: 12px;
}

.ms-modal-actions button {
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 7px 14px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.2px;
  line-height: 1.2;
  transition: all 0.22s ease;
}

.ms-btn-apply,
.ms-btn-blue {
  color: #ffffff;
  border-color: #4f46e5;
  background: linear-gradient(135deg, #6366f1 0%, #7c3aed 100%);
  box-shadow: 0 6px 16px rgba(99, 102, 241, 0.35);
}

.ms-btn-clear,
.ms-btn-gray {
  color: #0f172a;
  border-color: #f9a8d4;
  background: linear-gradient(135deg, #fdf2f8 0%, #fee2e2 100%);
  box-shadow: 0 5px 14px rgba(244, 114, 182, 0.22);
}

.ms-modal-actions button:hover {
  transform: translateY(-1px);
  filter: saturate(1.08);
}
