/*!*********************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ../../node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[14].oneOf[10].use[2]!../../node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[14].oneOf[10].use[3]!./app/globals.css ***!
  \*********************************************************************************************************************************************************************************************************************************************************************/
:root{
  --brand: #1481C0;
  --bg: #0b0f14;
  --card: #101826;
  --text: #e8eef7;
  --muted: rgba(232,238,247,.7);
  --border: #1481C0;
}

html, body {
  padding: 0;
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

a { color: inherit; }

* { box-sizing: border-box; }

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 24px 16px 64px;
}

.appHeader {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(11,15,20,.9);
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.appHeaderInner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 16px;
}

.appLogo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: var(--text);
  text-decoration: none;
}

.appLogoMark {
  width: 64px;
  height: 64px;
  border-radius: 10px;
  object-fit: cover;
  box-shadow: 0 0 18px rgba(20, 129, 192, 0.35);
}

.appLogoText {
  font-weight: 800;
  font-size: 20px;
  letter-spacing: 0.02em;
}

.appNav {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.appMain {
  padding-top: 24px;
}

.dashboardHeader {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.statGrid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  grid-gap: 12px;
  gap: 12px;
  margin-bottom: 18px;
}

.statCard {
  padding: 14px 16px;
}

.statLabel {
  font-size: 12px;
  color: var(--muted);
}

.statValue {
  font-size: 24px;
  font-weight: 700;
}
.statNote {
  margin-top: 6px;
  font-size: 12px;
  color: var(--muted);
}
.statNoteDanger {
  color: #fca5a5;
}

.botGrid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  grid-gap: 12px;
  gap: 12px;
}

.botCard {
  padding: 14px 16px;
  text-decoration: none;
  color: inherit;
  transition: transform 120ms ease, border-color 120ms ease;
}

.botCard:hover {
  transform: translateY(-2px);
  border-color: var(--brand);
}

.botCardHeader {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
}

.overviewGrid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  grid-gap: 16px;
  gap: 16px;
}

.botName {
  font-weight: 700;
  font-size: 16px;
}

.botMeta {
  font-size: 12px;
  color: var(--muted);
}

.botCta {
  margin-top: 12px;
  font-size: 12px;
  color: var(--brand);
}

@media (max-width: 900px) {
  .overviewGrid {
    grid-template-columns: 1fr;
  }
}

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,.04);
  color: var(--text);
  border-radius: 12px;
  padding: 10px 14px;
  cursor: pointer;
  text-decoration: none;
}

.btnPrimary {
  background: var(--brand);
  border-color: var(--brand);
  color: #111;
  font-weight: 700;
}
.btnStart {
  background: #22c55e;
  border-color: #22c55e;
  color: #0b0f14;
  font-weight: 700;
}
.btnPause {
  background: #f59e0b;
  border-color: #f59e0b;
  color: #0b0f14;
  font-weight: 700;
}
.btnStop {
  background: #ef4444;
  border-color: #ef4444;
  color: #0b0f14;
  font-weight: 700;
}
.btnDisabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.homeGrid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  grid-gap: 18px;
  gap: 18px;
  align-items: start;
}

@media (max-width: 900px) {
  .homeGrid {
    grid-template-columns: 1fr;
  }
  .homeGrid .btn {
    width: 100%;
  }
}

.catalogGrid {
  display: grid;
  grid-template-columns: 280px 1fr;
  grid-gap: 16px;
  gap: 16px;
}

.catalogSidebar {
  height: -moz-fit-content;
  height: fit-content;
  position: -webkit-sticky;
  position: sticky;
  top: 88px;
}

@media (max-width: 900px) {
  .catalogGrid {
    grid-template-columns: 1fr;
  }
  .catalogSidebar {
    position: static;
  }
}

.adminShell {
  display: grid;
  grid-template-columns: 260px 1fr;
}

.adminSidebar {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  height: 100vh;
}

.adminMain {
  padding: 18px;
}

.adminNav {
  display: grid;
  grid-gap: 8px;
  gap: 8px;
}

.adminHeader {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.adminTableWrap {
  overflow-x: auto;
}

.adminTableWrap table {
  min-width: 640px;
}

.adminCards {
  display: none;
  gap: 12px;
}

.adminCard {
  padding: 12px;
}

.adminMeta {
  color: var(--muted);
  font-size: 12px;
}

.adminRow {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}

.adminCardActions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.adminFormGrid {
  display: grid;
  grid-template-columns: 1fr 160px 140px 140px;
  grid-gap: 10px;
  gap: 10px;
  align-items: end;
}

.adminFieldRow {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  grid-gap: 8px;
  gap: 8px;
  margin-top: 10px;
}

@media (max-width: 900px) {
  .adminShell {
    grid-template-columns: 1fr;
  }
  .adminSidebar {
    position: static !important;
    height: auto !important;
    border-right: none !important;
    border-bottom: 1px solid var(--border);
  }
  .adminMain {
    padding: 14px;
  }
  .adminNav {
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  }
  .adminHeader {
    flex-direction: column;
    align-items: flex-start;
  }
  .adminFormGrid {
    grid-template-columns: 1fr;
  }
  .adminFieldRow {
    grid-template-columns: 1fr;
  }
  .adminTableWrap table {
    min-width: 520px;
  }
  .adminTableWrap {
    display: none;
  }
  .adminCards {
    display: grid;
  }
}

.input {
  width: 100%;
  border: 1px solid var(--border);
  background: rgba(255,255,255,.04);
  color: var(--text);
  border-radius: 12px;
  padding: 10px 12px;
  outline: none;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,.04);
  font-size: 12px;
  color: var(--muted);
}
.badgeOk {
  border-color: #22c55e;
  color: #bbf7d0;
}
.badgeWarn {
  border-color: #f59e0b;
  color: #fde68a;
}
.badgeDanger {
  border-color: #ef4444;
  color: #fecaca;
}
.badgeDot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #4bfa00de;
}

.appFooter {
  margin-top: 40px;
  padding: 0px 0 0px;
  border-top: 1px solid rgba(255,255,255,.08);
  background: rgba(0,0,0,.2);
}

.appFooterInner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.appFooterCopy {
  color: var(--muted);
  font-size: 12px;
}

.appFooterLinks {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 13px;
}

.appFooterLinks a {
  text-decoration: none;
  color: var(--text);
  opacity: 0.9;
}

.appFooterLinks a:hover {
  opacity: 1;
}

