/* Agents Interface Styles */
.messaging-layout {
  height: 100vh;
  overflow: hidden;
}

.agent-sidebar {
  background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
  border-right: 1px solid #e2e8f0;
}

.agent-list {
  background: #ffffff;
  border-right: 1px solid #e2e8f0;
}

.agent-details {
  background: #f8fafc;
}

.agent-card {
  transition: all 0.2s ease-in-out;
  border-left: 3px solid transparent;
}

.agent-card:hover {
  background-color: #f8fafc;
  border-left-color: #8b5cf6;
}

.agent-card.active {
  background-color: #f3e8ff;
  border-left-color: #8b5cf6;
}

.agent-avatar {
  background: linear-gradient(135deg, #8b5cf6 0%, #a855f7 100%);
  box-shadow: 0 2px 4px rgba(139, 92, 246, 0.2);
}

.status-indicator {
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.5;
  }
}

.search-input {
  transition: all 0.2s ease-in-out;
}

.search-input:focus {
  border-color: #8b5cf6;
  box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.1);
}

.nav-icon {
  transition: all 0.2s ease-in-out;
}

.nav-icon:hover {
  transform: scale(1.05);
}

.nav-icon.active {
  background: linear-gradient(135deg, #8b5cf6 0%, #a855f7 100%);
  box-shadow: 0 4px 8px rgba(139, 92, 246, 0.3);
}

.detail-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  transition: all 0.2s ease-in-out;
}

.detail-card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .messaging-layout {
    flex-direction: column;
  }

  .agent-sidebar {
    width: 100%;
    height: auto;
    flex-direction: row;
    justify-content: space-around;
  }

  .agent-list {
    width: 100%;
    height: 50vh;
  }

  .agent-details {
    height: 50vh;
  }
}
