/**
 * Public bot profile page — modern style aligned with home page.
 * 3-column layout (left sidebar, main, right sidebar), light UI, no dashboard feel.
 */

.bot-public-page {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 0 3rem;
  background: #fff;
}

.bot-public-page .bot-breadcrumb {
  font-size: 0.875rem;
  color: #64748b;
  margin-bottom: 1.5rem;
}

.bot-public-page .bot-breadcrumb a {
  color: #171717;
  text-decoration: none;
  font-weight: 500;
}

.bot-public-page .bot-breadcrumb a:hover {
  text-decoration: underline;
}

/* ─── 3-column layout ─── */
.bot-public-cols {
  display: grid;
  grid-template-columns: 260px 1fr 240px;
  gap: 1.75rem;
  align-items: start;
}

@media (max-width: 1024px) {
  .bot-public-cols {
    grid-template-columns: 1fr 240px;
  }
  .bot-public-cols .bot-public-left {
    grid-column: 1 / -1;
    max-width: 360px;
  }
}

@media (max-width: 768px) {
  .bot-public-cols {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .bot-public-cols .bot-public-left {
    max-width: none;
  }
}

/* ─── Cards (modern, home-style) ─── */
.bot-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
  margin-bottom: 1.25rem;
  overflow: hidden;
}

.bot-card__title {
  padding: 0.75rem 1rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #374151;
  border-bottom: 1px solid #f3f4f6;
  background: #fafafa;
}

.bot-card__body {
  padding: 1rem;
}

/* ─── Left: profile card ─── */
.bot-profile-card {
  text-align: center;
  padding: 1.5rem 1rem;
}

.bot-profile-card__avatar {
  width: 100px;
  height: 100px;
  border-radius: 12px;
  object-fit: cover;
  display: block;
  margin: 0 auto 1rem;
  border: 1px solid #e5e7eb;
}

.bot-profile-card__avatar-placeholder {
  width: 100px;
  height: 100px;
  margin: 0 auto 1rem;
  background: #f3f4f6;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  border: 1px solid #e5e7eb;
}

.bot-profile-card__name {
  font-size: 1.125rem;
  font-weight: 600;
  color: #111;
  margin-bottom: 0.25rem;
  word-break: break-word;
}

.bot-profile-card__username {
  font-size: 0.875rem;
  color: #64748b;
  margin-bottom: 1rem;
}

.bot-btn {
  display: inline-block;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: 6px;
  text-decoration: none;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
  width: 100%;
  text-align: center;
  box-sizing: border-box;
  margin-bottom: 0.5rem;
  border: 1px solid transparent;
}

.bot-btn:last-child {
  margin-bottom: 0;
}

.bot-btn--primary {
  background: #171717;
  color: #fff;
  border-color: #171717;
}

.bot-btn--primary:hover {
  background: #333;
  color: #fff;
  border-color: #333;
}

.bot-btn--secondary {
  background: #fff;
  color: #374151;
  border-color: #d1d5db;
}

.bot-btn--secondary:hover {
  background: #f9fafb;
  border-color: #9ca3af;
}

/* Sidebar blocks */
.bot-sidebar-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.5rem 0;
  font-size: 0.875rem;
  border-bottom: 1px solid #f3f4f6;
}

.bot-sidebar-row:last-child {
  border-bottom: none;
}

.bot-sidebar-row__label {
  color: #6b7280;
}

.bot-sidebar-row__value {
  font-weight: 500;
  color: #111;
}

.bot-empty-state {
  font-size: 0.8125rem;
  color: #9ca3af;
  padding: 0.75rem 0;
}

/* ─── Main: profile hero block ─── */
.bot-hero-profile {
  padding: 1.5rem 1.25rem;
}

.bot-hero-profile__name {
  font-size: 1.5rem;
  font-weight: 700;
  color: #111;
  margin-bottom: 0.25rem;
}

.bot-hero-profile__username {
  font-size: 0.9375rem;
  color: #64748b;
  margin-bottom: 0.75rem;
}

.bot-hero-profile__short {
  font-size: 1rem;
  line-height: 1.6;
  color: #374151;
  margin-bottom: 1rem;
}

.bot-hero-profile__long {
  font-size: 0.9375rem;
  line-height: 1.65;
  color: #4b5563;
  margin-bottom: 1rem;
}

.bot-hero-profile__meta {
  font-size: 0.8125rem;
  color: #6b7280;
  margin-top: 0.75rem;
}

/* ─── Wall / Feed ─── */
.bot-wall-title {
  padding: 0.75rem 1rem;
  font-size: 0.9375rem;
  font-weight: 600;
  color: #374151;
  border-bottom: 1px solid #f3f4f6;
  background: #fafafa;
}

.bot-wall-item {
  padding: 1rem 1.25rem;
  border-bottom: 1px solid #f3f4f6;
}

.bot-wall-item:last-child {
  border-bottom: none;
}

.bot-wall-item__head {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.bot-wall-item__type {
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  padding: 0.2rem 0.5rem;
  background: #f3f4f6;
  color: #6b7280;
  border-radius: 4px;
}

.bot-wall-item__date {
  font-size: 0.8125rem;
  color: #9ca3af;
}

.bot-wall-item__title {
  font-size: 1rem;
  font-weight: 600;
  color: #111;
  margin-bottom: 0.35rem;
}

.bot-wall-item__preview {
  font-size: 0.875rem;
  line-height: 1.5;
  color: #4b5563;
  margin-bottom: 0.75rem;
}

.bot-wall-item__actions {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.bot-wall-item__actions .bot-btn {
  width: auto;
  padding: 0.35rem 0.75rem;
  font-size: 0.8125rem;
}

.bot-wall-empty {
  padding: 2.5rem 1.5rem;
  text-align: center;
  font-size: 0.9375rem;
  color: #6b7280;
}
