/* Arı CRM — Command Palette (Cmd+K) Modern SOTA Tasarımı */
.ari-palette-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 9999;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 12vh;
  animation: ariFadeIn 0.15s cubic-bezier(0.16, 1, 0.3, 1);
}

.ari-palette-modal {
  width: 100%;
  max-width: 640px;
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25), 0 0 0 1px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  animation: ariScaleUp 0.18s cubic-bezier(0.16, 1, 0.3, 1);
}

.ari-palette-header {
  display: flex;
  align-items: center;
  padding: 14px 18px;
  border-bottom: 1px solid #f1f5f9;
  gap: 12px;
}

.ari-palette-icon {
  font-size: 18px;
  color: #64748b;
  user-select: none;
}

.ari-palette-input {
  flex: 1;
  border: none;
  outline: none;
  font-size: 16px;
  font-family: inherit;
  color: #0f172a;
  background: transparent;
}

.ari-palette-input::placeholder {
  color: #94a3b8;
}

.ari-palette-badge {
  font-size: 11px;
  font-weight: 600;
  padding: 3px 6px;
  border-radius: 6px;
  background: #f1f5f9;
  color: #64748b;
  border: 1px solid #e2e8f0;
}

.ari-palette-results {
  max-height: 380px;
  overflow-y: auto;
  padding: 8px;
}

.ari-palette-group-title {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #94a3b8;
  padding: 8px 12px 4px;
}

.ari-palette-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.12s ease;
  user-select: none;
}

.ari-palette-item:hover,
.ari-palette-item.active {
  background: #f8fafc;
  color: #0284c7;
}

.ari-palette-item.active {
  background: #f0f9ff;
  border-left: 3px solid #0284c7;
}

.ari-palette-item-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.ari-palette-item-icon {
  font-size: 16px;
}

.ari-palette-item-title {
  font-size: 14px;
  font-weight: 500;
  color: #1e293b;
}

.ari-palette-item.active .ari-palette-item-title {
  color: #0369a1;
  font-weight: 600;
}

.ari-palette-item-desc {
  font-size: 12px;
  color: #64748b;
  margin-left: 6px;
}

.ari-palette-footer {
  padding: 10px 18px;
  background: #f8fafc;
  border-top: 1px solid #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: #64748b;
}

.ari-palette-footer-keys {
  display: flex;
  gap: 12px;
}

.ari-palette-footer-keys span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.ari-palette-footer-keys kbd {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 4px;
  padding: 1px 5px;
  font-size: 10px;
  font-weight: 600;
  color: #475569;
}

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

@keyframes ariScaleUp {
  from { opacity: 0; transform: scale(0.96) translateY(-8px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}
