/* Conversations List CSS */
:root {
  --primary-color: #4361ee;
  --secondary-color: #3f37c9;
  --accent-color: #4cc9f0;
  --success-color: #0ead69;
  --warning-color: #f9c74f;
  --danger-color: #e63946;
  --light-color: #f8f9fa;
  --dark-color: #212529;
  --gray-color: #6c757d;
  --card-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  --card-shadow-hover: 0 15px 30px rgba(0, 0, 0, 0.15);
}

body {
  font-family: 'Poppins', sans-serif;
  background-color: #f5f7fe;
  color: var(--dark-color);
  min-height: 100vh;
}

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

@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.05); }
  100% { transform: scale(1); }
}

/* Header styles */
.conversations-header {
  text-align: center;
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.conversations-header h1 {
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.conversations-header .subtitle {
  font-size: 1.1rem;
  color: var(--gray-color);
}

/* Container styles */
.conversations-container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 2rem;
  background-color: white;
  box-shadow: var(--card-shadow);
  border-radius: 15px;
  animation: fadeIn 0.5s ease-out;
}

/* Card styles */
.conversation-card {
  background-color: white;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  margin-bottom: 1.5rem;
  padding: 1.5rem;
  transition: all 0.3s ease;
  border-left: 4px solid var(--primary-color);
  cursor: pointer;
}

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

.conversation-title {
  font-weight: 600;
  color: var(--dark-color);
  margin-bottom: 0.75rem;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.conversation-preview {
  color: var(--gray-color);
  margin-bottom: 1rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.5;
}

.conversation-date {
  font-size: 0.9rem;
  color: var(--gray-color);
}

/* Badge styles */
.feedback-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.75rem;
  border-radius: 30px;
  font-size: 0.8rem;
  font-weight: 500;
}

.feedback-yes {
  background-color: rgba(14, 173, 105, 0.15);
  color: var(--success-color);
}

.feedback-no {
  background-color: rgba(230, 57, 70, 0.15);
  color: var(--danger-color);
}

/* Button styles */
.btn-view {
  background-image: linear-gradient(90deg, #1150B2 0%, #5694F7 100%);
;
  color: white;
  border: none;
  border-radius: 30px;
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.btn-view:hover {
  background-position: right center;
  transform: translateX(5px);
  box-shadow: 0 5px 15px rgba(142, 84, 233, 0.4);
}

.btn-back {
  display: inline-flex;
  align-items: center;
  color: var(--primary-color);
  text-decoration: none;
  margin-bottom: 1.5rem;
  font-weight: 500;
  transition: all 0.3s ease;
}

.btn-back i {
  margin-right: 0.5rem;
  transition: transform 0.3s ease;
}

.btn-back:hover {
  color: var(--secondary-color);
}

.btn-back:hover i {
  transform: translateX(-5px);
}

/* Loading animation */
.loader {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 3rem;
  text-align: center;
}

.loader i {
  font-size: 3rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
  animation: pulse 1.5s infinite;
}

.loader p {
  color: var(--gray-color);
  font-size: 1.1rem;
}

/* Empty state */
.empty-state {
  text-align: center;
  padding: 3rem 1rem;
}

.empty-state i {
  font-size: 4rem;
  color: #d1d7e0;
  margin-bottom: 1rem;
}

.empty-state h3 {
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.empty-state p {
  color: var(--gray-color);
  margin-bottom: 1.5rem;
}

/* Utility classes */
.hidden {
  display: none !important;
}

.fade-in {
  animation: fadeIn 0.5s ease-out;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .conversations-container {
    padding: 1.5rem;
    margin: 0 1rem;
  }
  
  .conversation-card {
    padding: 1.25rem;
  }
  
  .conversations-header h1 {
    font-size: 1.75rem;
  }
  
  .conversations-header .subtitle {
    font-size: 1rem;
  }
}

@media (max-width: 576px) {
  .conversations-container {
    padding: 1rem;
    margin: 0 0.5rem;
  }
  
  .conversation-card {
    padding: 1rem;
  }
  
  .conversations-header h1 {
    font-size: 1.5rem;
  }
  
  .conversation-footer {
    flex-direction: column;
  }
  
  .conversation-date {
    margin-bottom: 0.75rem;
  }
  
  .conversation-footer .btn-view {
    width: 100%;
    text-align: center;
  }


  .conversation-title {
    overflow: hidden;
    font-size: 16px;
    -webkit-line-clamp: 2;
}


.feedback-badge {
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.conversation-content {padding:0px;}


}