/* src/pages/Meetings.css */
.meetings-page {
  padding: 20px;
  height: calc(100vh - 60px);
  display: flex;
  flex-direction: column;
}

.meeting-page-header {
  background: linear-gradient(135deg, #2c3e50, #34495e);
  color: white;
  padding: 2px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 2px solid #34495e;
  min-height: inherit;
  z-index: 100;
  display: flex;
  align-items: center;
  margin-bottom: 20px;
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  z-index: 999;
  opacity: 0.4;
}
.meeting-page-header:hover {
  opacity: 1;
}
.meeting-page-header h3{
  margin: 0;
}

.filter-controls {
  display: flex;
  gap: 10px;
}

.filter-controls button {
  padding: 8px 16px;
  border: 2px solid #3498db;
  background: white;
  color: #3498db;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s;
}

.filter-controls button.active,
.filter-controls button:hover {
  background: #3498db;
  color: white;
}

.meetings-content {
  display: grid;
  grid-template-columns: 350px 1fr;
  gap: 20px;
  flex: 1;
  overflow: hidden;
}

.meetings-list {
  border-right: 2px solid #e9ecef;
  padding-right: 20px;
  overflow-y: auto;
}

.meeting-item {
  background: white;
  border-radius: 8px;
  padding: 15px;
  margin-bottom: 10px;
  cursor: pointer;
  border: 2px solid #e9ecef;
  transition: all 0.3s;
}

.meeting-item:hover,
.meeting-item.selected {
  border-color: #3498db;
  box-shadow: 0 2px 8px rgba(52, 152, 219, 0.2);
}

.meeting-info h3 {
  margin: 0 0 8px 0;
  color: #2c3e50;
}

.meeting-info p {
  margin: 4px 0;
  color: #7f8c8d;
  font-size: 13px;
}

.meeting-status {
  margin-top: 10px;
  display: flex;
  justify-content: between;
  align-items: center;
}

.status-badge {
  padding: 3px 8px;
  border-radius: 10px;
  font-size: 11px;
  font-weight: 500;
}

.participant-count {
  font-size: 12px;
  color: #7f8c8d;
}

.chat-history-panel {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.chat-header {
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 1px solid #e9ecef;
}

.chat-messages {
  flex: 1;
  overflow-y: auto;
  padding-right: 10px;
}

.message-item {
  background: #f8f9fa;
  border-radius: 8px;
  padding: 12px;
  margin-bottom: 10px;
}

.message-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
  font-size: 12px;
}

.participant-name {
  font-weight: 500;
  color: #2c3e50;
}

.message-time {
  color: #7f8c8d;
  margin-left: auto;
}

.message-content p {
  margin: 0;
  color: #34495e;
}

.image-message img {
  max-width: 200px;
  border-radius: 4px;
  margin-bottom: 8px;
}

.no-selection {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100%;
  text-align: center;
  color: #7f8c8d;
}

.meeting-stats {
  margin-top: 20px;
  padding-top: 15px;
  border-top: 1px solid #e9ecef;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 15px;
  margin-top: 10px;
}

.stat-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.stat-item label {
  font-size: 12px;
  color: #7f8c8d;
  font-weight: 500;
}

.stat-item span {
  color: #2c3e50;
  font-size: 14px;
}
