/* Members Drawer Styles */
/* Follows Admin Panel design standards */

/* ===== DRAWER PANEL ===== */
.members-drawer {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100vw;
  height: 100vh;
  background: #FFFFFF;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  z-index: 10002;
}

/* ===== SCROLLABLE CONTENT AREA ===== */
.members-content {
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
  background: #FFFFFF;
  touch-action: pan-y;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  padding: 16px 10px 40px 10px;
}

/* ===== MEMBERS LIST ===== */
.members-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 0 20px;
}

/* ===== MEMBER CARD ===== */
.member-card {
  background: #F5F5F5;
  border: 1px solid #D3D3D3;
  border-radius: 12px;
  padding: 16px 20px;
  box-shadow: -2px 2px 0px 0px #4682B4;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

/* ===== MEMBER INFO ===== */
.member-info {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
  min-width: 0; /* Allow text truncation */
}

.member-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #E5E7EB;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 20px;
}

.member-details {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
  flex: 1;
}

.member-name {
  font-size: 16px;
  font-weight: 700;
  color: #1f2937;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.member-role {
  font-size: 13px;
  font-weight: 600;
  color: #6b7280;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.member-role.admin {
  color: #4682B4;
}

/* ===== MEMBER ACTIONS ===== */
.member-actions {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}

.member-action-btn {
  width: 36px;
  height: 36px;
  border: 1.5px solid #D3D3D3;
  border-radius: 8px;
  background: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 150ms ease-in-out;
  -webkit-tap-highlight-color: transparent;
}

.member-action-btn:active {
  transform: scale(0.95);
}

.member-action-btn.remove {
  border-color: #DC143C;
  color: #DC143C;
}

.member-action-btn.remove:active {
  background: #DC143C;
  color: #FFFFFF;
}

/* ===== EMPTY STATE ===== */
.members-empty {
  text-align: center;
  padding: 60px 20px;
  color: #6b7280;
}

.members-empty-title {
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 8px 0;
  color: #1f2937;
}

.members-empty-text {
  font-size: 14px;
  margin: 0;
}

/* ===== STATS HEADER ===== */
.members-stats {
  background: #F5F5F5;
  border: 1px solid #D3D3D3;
  border-radius: 12px;
  padding: 16px 20px;
  margin: 0 20px 20px;
  text-align: center;
}

.members-stats-number {
  font-size: 32px;
  font-weight: 800;
  color: #4682B4;
  margin: 0 0 4px;
}

.members-stats-label {
  font-size: 14px;
  font-weight: 600;
  color: #6b7280;
  margin: 0;
}
