.chat-delete-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(8px);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.chat-delete-overlay.active {
  opacity: 1;
  pointer-events: all;
}

.chat-delete-popup {
  background: rgba(30, 41, 59, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 24px;
  width: 90%;
  max-width: 400px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  transform: translateY(20px);
  transition: transform 0.3s ease;
  color: #f8fafc;
  font-family: 'Inter', sans-serif;
}

.chat-delete-overlay.active .chat-delete-popup {
  transform: translateY(0);
}

.chat-delete-header {
  margin-bottom: 20px;
}

.chat-delete-header h3 {
  margin: 0 0 8px 0;
  font-size: 1.25rem;
  font-weight: 600;
  color: #f1f5f9;
}

.chat-delete-header p {
  margin: 0;
  font-size: 0.875rem;
  color: #94a3b8;
  line-height: 1.4;
}

.chat-delete-list {
  max-height: 250px;
  overflow-y: auto;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* Custom scrollbar for list */
.chat-delete-list::-webkit-scrollbar {
  width: 6px;
}
.chat-delete-list::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.02);
}
.chat-delete-list::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 3px;
}

.chat-delete-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px;
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  transition: all 0.2s;
}

.chat-delete-item:hover {
  background: rgba(15, 23, 42, 0.9);
  border-color: rgba(239, 68, 68, 0.3);
}

.chat-delete-item-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
  overflow: hidden;
  padding-right: 12px;
}

.chat-delete-item-title {
  font-size: 0.875rem;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: #f8fafc;
}

.chat-delete-item-date {
  font-size: 0.75rem;
  color: #64748b;
}

.chat-delete-btn {
  background: transparent;
  color: #ef4444;
  border: 1px solid rgba(239, 68, 68, 0.3);
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 0.75rem;
  cursor: pointer;
  transition: all 0.2s;
  flex-shrink: 0;
}

.chat-delete-btn:hover {
  background: rgba(239, 68, 68, 0.1);
  border-color: #ef4444;
}

.chat-delete-close {
  width: 100%;
  padding: 10px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #e2e8f0;
  border-radius: 8px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
  font-family: inherit;
}

.chat-delete-close:hover {
  background: rgba(255, 255, 255, 0.1);
}
