/*
 * activity.css — журнал событий пользователя (/user/activity.php, JOURNAL-1).
 * Оформление в стиле нового дизайна: светлые карточки, тонкая левая полоса,
 * круглый значок типа события.
 */

.cb-act-note {
  margin: 12px 0 0;
  padding: 10px 14px;
  background: #f5f8fa;
  border-left: 3px solid #00aeef;
  color: #6b7a8c;
  font-size: 13px;
  line-height: 1.45;
}

.cb-act-total {
  padding-top: 4px;
}

/* направление */
.cb-act-dirs {
  margin: 18px 0 0;
}

.cb-act-dirs a {
  display: inline-block;
  margin-right: 8px;
  padding: 7px 14px;
  border: 1px solid #dfe6ea;
  border-radius: 16px;
  color: #4a5b6a;
  font-size: 14px;
  text-decoration: none;
  background: #fff;
}

.cb-act-dirs a:hover {
  border-color: #00aeef;
  color: #00aeef;
}

.cb-act-dirs a.active {
  background: #00aeef;
  border-color: #00aeef;
  color: #fff;
}

/* лента-фильтр по типам */
.cb-act-kinds {
  margin: 14px 0 0;
}

.cb-act-kind-row {
  margin-bottom: 8px;
}

.cb-act-kind-group {
  display: inline-block;
  width: 150px;
  color: #9aa7b2;
  font-size: 13px;
  vertical-align: middle;
}

.cb-act-kind {
  display: inline-block;
  margin: 0 6px 6px 0;
  padding: 5px 11px 5px 6px;
  border: 1px solid #dfe6ea;
  border-radius: 14px;
  background: #fff;
  color: #4a5b6a;
  font-size: 13px;
  text-decoration: none;
  vertical-align: middle;
}

.cb-act-kind:hover {
  border-color: #00aeef;
  color: #00aeef;
}

.cb-act-kind.active {
  border-color: #00aeef;
  background: #eaf6fd;
  color: #1c7fb5;
}

.cb-act-kind-letter {
  display: inline-block;
  width: 20px;
  height: 20px;
  margin-right: 6px;
  border-radius: 50%;
  color: #fff;
  font-size: 11px;
  font-weight: normal;
  line-height: 20px;
  text-align: center;
  vertical-align: middle;
}

.cb-act-kind-count {
  margin-left: 6px;
  color: #9aa7b2;
  font-size: 12px;
}

/* период */
.cb-act-period {
  margin: 16px 0 0;
  padding: 12px 14px;
  background: #fafcfd;
  border: 1px solid #eef3f6;
  border-radius: 6px;
  color: #6b7a8c;
  font-size: 13px;
}

.cb-act-period label {
  margin-right: 14px;
}

.cb-act-period input[type="date"] {
  padding: 4px 6px;
  border: 1px solid #dfe6ea;
  border-radius: 4px;
  font-size: 13px;
}

.cb-act-btn {
  padding: 6px 16px;
  border: 0;
  border-radius: 4px;
  background: #00aeef;
  color: #fff;
  font-size: 13px;
  cursor: pointer;
}

.cb-act-btn:hover {
  background: #2f97cc;
}

.cb-act-reset {
  margin-left: 12px;
  color: #9aa7b2;
  font-size: 13px;
}

/* лента */
.cb-act-list {
  margin: 22px 0 0;
}

.cb-act-item {
  position: relative;
  display: block;
  padding: 0 0 16px 52px;
  margin-bottom: 16px;
  border-bottom: 1px solid #eef3f6;
  min-height: 38px;
}

.cb-act-item:last-child {
  border-bottom: 0;
}

.cb-act-ico {
  position: absolute;
  left: 0;
  top: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  color: #fff;
  font-size: 15px;
  font-weight: bold;
  line-height: 36px;
  text-align: center;
}

.cb-act-text {
  color: #2b3a47;
  font-size: 15px;
  line-height: 1.45;
}

.cb-act-meta {
  margin-top: 5px;
  color: #9aa7b2;
  font-size: 12px;
}

.cb-act-kind-name {
  color: #7f8c9a;
}

.cb-act-sep {
  margin: 0 5px;
}

.cb-act-in {
  color: #00aeef;
}

.cb-act-private {
  color: #c0392b;
}

.cb-act-empty {
  padding: 26px 0;
  color: #7f8c9a;
  font-size: 14px;
}

.cb-act-pager {
  margin-top: 24px;
}

/* цвета значков по типам событий */
.cb-act-ico-login, .cb-act-ico-login.cb-act-kind-letter { background: #6b7a8c; }
.cb-act-ico-settings, .cb-act-ico-settings.cb-act-kind-letter { background: #8e8e93; }
.cb-act-ico-password, .cb-act-ico-password.cb-act-kind-letter { background: #6d7d8b; }
.cb-act-ico-comment, .cb-act-ico-comment.cb-act-kind-letter { background: #00aeef; }
.cb-act-ico-pm, .cb-act-ico-pm.cb-act-kind-letter { background: #2f9e6e; }
.cb-act-ico-friend, .cb-act-ico-friend.cb-act-kind-letter { background: #e67e22; }
.cb-act-ico-fan, .cb-act-ico-fan.cb-act-kind-letter { background: #c0392b; }
.cb-act-ico-photo_mark, .cb-act-ico-photo_mark.cb-act-kind-letter { background: #9b59b6; }
.cb-act-ico-album, .cb-act-ico-album.cb-act-kind-letter { background: #16a085; }
.cb-act-ico-place_visit, .cb-act-ico-place_visit.cb-act-kind-letter { background: #d35400; }
.cb-act-ico-place_fav, .cb-act-ico-place_fav.cb-act-kind-letter { background: #e0a800; }
.cb-act-ico-resident, .cb-act-ico-resident.cb-act-kind-letter { background: #8e44ad; }
/* FACE-SUGGEST-BEGIN */
.cb-act-ico-mark_suggest,
.cb-act-ico-mark_suggest.cb-act-kind-letter { background: #7048e8; }

/* FACE: счётчик предложений, которые ждут решения владельца. */
.cb-act-face-pending {
  margin: 0 0 16px;
  padding: 12px 16px;
  font-size: 14px;
  color: #3b2f7a;
  background: #f3f0ff;
  border: 1px solid #d3c9f7;
  border-radius: 8px;
}
.cb-act-face-pending-num { font-size: 18px; color: #7048e8; }
.cb-act-face-pending a { color: #4b32c3; text-decoration: underline; }
.cb-act-face-pending a:hover { text-decoration: none; }

.cb-face-suggest {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-top: 12px;
  padding: 12px;
  border: 1px solid #e3e8ee;
  border-radius: 8px;
  background: #fafbfc;
}

.cb-face-shot {
  position: relative;
  display: block;
  flex: 0 0 auto;
  width: 180px;
  height: 135px;
  overflow: hidden;
  border-radius: 6px;
  background: #eef1f4;
}
.cb-face-shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.cb-face-zoom {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 3px 0;
  text-align: center;
  font-size: 11px;
  color: #fff;
  background: rgba(0, 0, 0, 0.45);
}

.cb-face-actions { flex: 1 1 auto; min-width: 0; }
.cb-face-score {
  font-size: 13px;
  color: #46505c;
  margin-bottom: 10px;
}
.cb-face-thr { color: #8b95a1; }
.cb-face-album { color: #8b95a1; }

.cb-face-form { display: flex; flex-wrap: wrap; gap: 8px; }
.cb-face-btn {
  display: inline-block;
  padding: 8px 16px;
  font-size: 13px;
  line-height: 1.2;
  border: 0;
  border-radius: 5px;
  cursor: pointer;
  color: #fff;
}
.cb-face-yes { background: #2f9e6e; }
.cb-face-yes:hover { background: #268257; }
.cb-face-no { background: #c0392b; }
.cb-face-no:hover { background: #a33125; }

.cb-face-done {
  font-size: 13px;
  padding: 8px 12px;
  border-radius: 5px;
}
.cb-face-done-yes { background: #eaf7f1; color: #1e6b4a; }
.cb-face-done-no { background: #fdeeec; color: #8c2b20; }

.cb-face-popup {
  position: fixed;
  z-index: 10000;
  left: 0; top: 0; right: 0; bottom: 0;
  background: rgba(0, 0, 0, 0.78);
}
.cb-face-popup-box {
  position: relative;
  width: 92%;
  height: 92%;
  margin: 4% auto 0;
  text-align: center;
}
.cb-face-popup-box img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}
.cb-face-popup-close {
  position: absolute;
  right: 0; top: -6px;
  width: 34px; height: 34px;
  font-size: 26px;
  line-height: 34px;
  color: #fff;
  cursor: pointer;
}
/* FACE-SUGGEST-END */
