/* Профиль бота — в стиле bots (тёмный, зелёные акценты) */

.profile-bot-page .bots-main {
  padding-bottom: 100px;
}

/* Шлюз авторизации */
.profile-bot-gate {
  position: relative;
  z-index: 1;
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 20px;
}
.profile-bot-gate-card {
  width: 100%;
  max-width: 400px;
  background: var(--bots-dark);
  border-radius: 20px;
  padding: 32px 24px;
  border: 1px solid rgba(60, 255, 195, 0.2);
  text-align: center;
}
.profile-bot-gate-title {
  font-size: 20px;
  font-weight: 800;
  color: #fff;
  margin: 0 0 16px 0;
}
.profile-bot-gate-text {
  font-size: 14px;
  line-height: 1.5;
  color: #bbb;
  margin: 0 0 24px 0;
}
.profile-bot-gate-card .bots-event-cta {
  display: inline-block;
}

/* Hero */
.profile-bot-hero {
  text-align: center;
  margin-bottom: 24px;
}
.profile-bot-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(60, 255, 195, 0.2);
  border: 2px solid rgba(60, 255, 195, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 800;
  color: var(--bots-green);
  margin: 0 auto 12px auto;
}
.profile-bot-greeting {
  font-size: 22px;
  font-weight: 800;
  color: #fff;
  margin: 0 0 4px 0;
}
.profile-bot-status {
  font-size: 14px;
  color: #888;
  margin: 0;
}

/* Статистика */
.profile-bot-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 24px;
}
.profile-bot-stat {
  background: var(--bots-dark);
  border-radius: 16px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  text-align: center;
}
.profile-bot-stat-value {
  display: block;
  font-size: 18px;
  font-weight: 800;
  color: var(--bots-green);
  margin-bottom: 4px;
}
.profile-bot-stat-label {
  font-size: 12px;
  color: #888;
}

/* Карточки профиля */
.profile-bot-card .bots-event-title {
  margin-bottom: 16px;
}
.profile-bot-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.profile-bot-field label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: #888;
  margin-bottom: 4px;
}
.profile-bot-field input {
  width: 100%;
  box-sizing: border-box;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(0, 0, 0, 0.2);
  color: #fff;
  font-size: 15px;
  font-family: inherit;
}
.profile-bot-field input::placeholder {
  color: #666;
}
.profile-bot-field input:focus {
  outline: none;
  border-color: rgba(60, 255, 195, 0.4);
}
.profile-bot-field input[readonly] {
  opacity: 0.8;
  cursor: default;
}
.profile-bot-submit {
  margin-top: 8px;
  cursor: pointer;
  border: none;
  font-family: inherit;
}

/* История заказов */
.profile-bot-orders-empty {
  font-size: 14px;
  color: #888;
  margin: 0;
}
.profile-bot-orders-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.profile-bot-order-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 14px;
}
.profile-bot-order-item:last-child {
  border-bottom: none;
}
.profile-bot-order-name {
  color: #ddd;
  font-weight: 500;
}
.profile-bot-order-meta {
  color: #888;
  font-size: 12px;
  margin-top: 2px;
}
.profile-bot-order-total {
  color: var(--bots-green);
  font-weight: 700;
  white-space: nowrap;
}

/* Выход */
.profile-bot-out {
  margin-top: 24px;
  text-align: center;
}
.profile-bot-out-btn {
  padding: 12px 24px;
  font-size: 14px;
  font-family: inherit;
  font-weight: 600;
  color: #888;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s;
}
.profile-bot-out-btn:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.3);
}

/* Тосты */
.profile-bot-toast {
  position: fixed;
  bottom: 80px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1001;
  padding: 12px 20px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 500;
  background: var(--bots-green);
  color: #000;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  max-width: 90%;
}
.profile-bot-toast-err {
  background: #e63946;
  color: #fff;
}
