/* blocked-list-panel.css — чёрный список (правая панель на десктопе, полный экран на мобиле) */

#blockedListScreen {
  display: none;
  flex-direction: column;
  background: #ffffff;
  min-width: 0;
  min-height: 0;
}

#blockedListScreen.blocked-list-screen-visible {
  display: flex;
}

#blockedListScreen .header.blocked-list-header {
  background: #128c7e;
  color: #ffffff;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-sizing: border-box;
  min-height: 64px;
  position: relative;
}

#blockedListScreen .blocked-list-header-title {
  font-weight: 600;
  font-size: 16px;
  text-align: center;
  flex: 1;
  min-width: 0;
}

#blockedListScreen .header .blocked-list-back-btn,
#blockedListScreen .header .blocked-list-close-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  font-size: 18px;
  background: transparent !important;
  border: none !important;
  color: inherit !important;
  width: auto !important;
  margin: 0 !important;
  padding: 8px !important;
  border-radius: 50%;
  line-height: 1;
}

#blockedListScreen .header .blocked-list-back-btn {
  left: 8px;
}

#blockedListScreen .header .blocked-list-close-btn {
  right: 8px;
  display: none;
}

#blockedListScreen .header .blocked-list-back-btn:hover,
#blockedListScreen .header .blocked-list-close-btn:hover {
  background: rgba(255, 255, 255, 0.12) !important;
}

#blockedListScreen .blocked-list-toolbar {
  padding: 12px 16px;
  border-bottom: 1px solid #e9edef;
  flex-shrink: 0;
}

#blockedListScreen .blocked-list-add-btn {
  width: 100% !important;
  margin: 0 !important;
  padding: 10px 14px !important;
  border: 1px dashed #128c7e;
  border-radius: 8px;
  background: rgba(18, 140, 126, 0.06);
  color: #128c7e;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}

#blockedListScreen .blocked-list-add-btn i {
  margin-right: 8px;
}

#blockedListScreen .blocked-list {
  flex: 1 1 0%;
  min-height: 0;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

#blockedListScreen .blocked-list-empty {
  padding: 16px;
  font-size: 14px;
  color: #667781;
}

#blockedListScreen .blocked-list-error {
  color: #e53935;
  padding-bottom: 0;
}

#blockedListScreen .blocked-list-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-bottom: 1px solid #e9edef;
}

#blockedListScreen .blocked-list-item .avatar {
  width: 48px;
  height: 48px;
  min-width: 48px;
  border-radius: 50%;
  background: #128c7e;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 600;
  overflow: hidden;
  flex-shrink: 0;
}

#blockedListScreen .blocked-list-item .avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

#blockedListScreen .blocked-list-item-info {
  flex: 1 1 0%;
  min-width: 0;
}

#blockedListScreen .blocked-list-item-name {
  font-size: 15px;
  font-weight: 600;
  color: #111b21;
  margin: 0 0 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

#blockedListScreen .blocked-list-item-meta {
  font-size: 13px;
  color: #667781;
  margin: 0;
}

#blockedListScreen .blocked-list-unblock-btn {
  width: auto !important;
  flex-shrink: 0;
  margin: 0 !important;
  padding: 8px 12px !important;
  border: none;
  border-radius: 20px;
  background: #ff3b30;
  color: #ffffff;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
}

.chat-block-footer {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 14px 20px;
  background: #f0f2f5;
  border-top: 1px solid #e9edef;
  box-shadow: 0 -1px 4px rgba(0, 0, 0, 0.04);
}

.chat-block-footer-text {
  margin: 0;
  font-size: 14px;
  line-height: 1.45;
  text-align: center;
  color: #667781;
  max-width: 420px;
}

/* Сброс глобального button { width:100%; padding:14px } из styles.css */
.chat-block-footer-link {
  display: inline !important;
  width: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
  border-radius: 0 !important;
  background: none !important;
  color: #128c7e !important;
  font-size: inherit !important;
  font-weight: 500 !important;
  line-height: inherit !important;
  cursor: pointer;
  vertical-align: baseline;
  text-decoration: none;
}

.chat-block-footer-link:hover {
  background: none !important;
  text-decoration: underline;
  color: #0e7a6e !important;
}

.contact-quick-action.disabled,
.contact-quick-action:disabled {
  opacity: 0.45;
  pointer-events: none;
}
