/* =========================
   LOGI — ZAKŁADKI JAK W BIBLIOTECE
========================= */

.log-tabs,
.library-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 14px 0;
}

.library-tab {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 13px;
  border: 1px solid #333;
  border-radius: 8px;
  background: #111;
  color: #ddd;
  text-decoration: none;
  line-height: 1;
}

.library-tab:hover {
  border-color: #666;
  color: #fff;
}

.library-tab.active {
  border-color: #d6b56d;
  color: #d6b56d;
  background: #17130c;
}

/* =========================
   LOGI AKTYWNOŚCI
========================= */

.log-muted {
  color: #b9b9b9;
}

.activity-log-list {
  display: grid;
  gap: 8px;
  margin-top: 12px;
}

.activity-date-header {
  margin-top: 14px;
  color: #d6b56d;
  font-weight: 700;
  border-bottom: 1px solid #333;
  padding-bottom: 5px;
}

.activity-log-item {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 10px;
  border: 1px solid #333;
  border-radius: 10px;
  padding: 10px;
  background: #141414;
}

.activity-log-time {
  color: #aaa;
  font-size: 13px;
}

.activity-log-type {
  color: #d6b56d;
  font-weight: 700;
  margin-bottom: 4px;
}

.activity-log-message {
  color: #eee;
  line-height: 1.35;
}


/* =========================
   LOGI WALK
========================= */

.battle-log-list {
  display: grid;
  gap: 8px;
  margin-top: 12px;
}

.battle-log-item {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 10px;
  border: 1px solid #333;
  border-radius: 10px;
  padding: 10px;
  background: #141414;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.15s ease, background 0.15s ease, transform 0.15s ease;
}

.battle-log-item:hover {
  border-color: #555;
  background: #181818;
  transform: translateY(-1px);
}

.battle-log-item.win {
  border-left: 3px solid #55c878;
}

.battle-log-item.loss {
  border-left: 3px solid #c85555;
}

.battle-log-time {
  color: #aaa;
  font-size: 13px;
}

.battle-log-body {
  min-width: 0;
}

.battle-log-top {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 4px;
}

.battle-log-type {
  color: #d6b56d;
  font-weight: 700;
}

.battle-log-result {
  font-weight: 700;
}

.battle-log-result.win {
  color: #7ee09b;
}

.battle-log-result.loss {
  color: #ff8585;
}

.battle-log-title {
  color: #eee;
  line-height: 1.35;
}

.battle-log-rewards {
  margin-top: 5px;
  color: #aaa;
  font-size: 13px;
}

.battle-log-rewards span {
  color: #555;
  margin: 0 5px;
}


.log-separator {
  border: 0;
  border-top: 1px solid #333;
  margin: 18px 0;
}

.battle-details-header {
  border: 1px solid #333;
  border-radius: 10px;
  padding: 10px;
  background: #141414;
  margin-bottom: 10px;
}

.battle-details-header h3 {
  margin: 0 0 4px;
}
