.operator-admin {
  min-height: 100vh;
  color: #202635;
  background:
    radial-gradient(circle at top left, rgba(245, 87, 83, 0.16), transparent 26%),
    linear-gradient(180deg, #f5f1e8 0%, #eef1f6 42%, #e7edf3 100%);
}

.operator-admin__shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
}

.operator-admin__sidebar {
  padding: 28px 18px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent 24%),
    #2a2b31;
  color: #f5f1e8;
}

.operator-admin__brand {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 28px;
  color: inherit;
  text-decoration: none;
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.operator-admin__brand img {
  width: 42px;
  height: 42px;
  object-fit: contain;
}

.operator-admin__nav {
  display: grid;
  gap: 8px;
}

.operator-admin__nav--secondary {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.operator-admin__nav-link,
.operator-admin__mobile-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 14px;
  border-radius: 16px;
  color: rgba(245, 241, 232, 0.76);
  text-decoration: none;
  transition: background-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.operator-admin__nav-link:hover,
.operator-admin__mobile-link:hover,
.operator-admin__nav-link--active,
.operator-admin__mobile-link--active {
  color: #ffffff;
  background: rgba(245, 87, 83, 0.18);
  transform: translateX(2px);
}

.operator-admin__content {
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.operator-admin__topbar {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  padding: 30px 32px 20px;
}

.operator-admin__eyebrow {
  margin: 0 0 8px;
  color: #b04c3e;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.operator-admin__title {
  margin: 0;
  font-size: clamp(2rem, 4vw, 2.8rem);
  line-height: 0.96;
}

.operator-admin__subtitle {
  max-width: 760px;
  margin: 12px 0 0;
  color: #566070;
  line-height: 1.5;
}

.operator-admin__actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.operator-admin__profile {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px 14px 12px 16px;
  border: 1px solid rgba(32, 38, 53, 0.08);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.68);
  box-shadow: 0 18px 40px rgba(23, 31, 48, 0.08);
}

.operator-admin__profile strong,
.operator-admin__profile span {
  display: block;
}

.operator-admin__profile span {
  margin-top: 2px;
  color: #687385;
  font-size: 0.9rem;
}

.operator-admin__logout {
  border: none;
  border-radius: 999px;
  padding: 10px 16px;
  font: inherit;
  font-weight: 700;
  color: #ffffff;
  background: #f55753;
  cursor: pointer;
}

.operator-admin__logout:hover {
  background: #e14945;
}

.operator-admin__mobile-nav {
  display: none;
  gap: 10px;
  padding: 0 16px 12px;
  overflow-x: auto;
}

.operator-admin__mobile-link {
  flex: 0 0 auto;
  color: #303849;
  background: rgba(255, 255, 255, 0.58);
  border: 1px solid rgba(32, 38, 53, 0.08);
}

.operator-admin__mobile-link--active {
  color: #ffffff;
  background: #2a2b31;
}

.operator-admin__main {
  padding: 0 32px 32px;
}

@media (max-width: 960px) {
  .operator-admin__shell {
    grid-template-columns: minmax(0, 1fr);
  }

  .operator-admin__sidebar {
    display: none;
  }

  .operator-admin__topbar {
    padding: 24px 16px 16px;
    flex-direction: column;
  }

  .operator-admin__actions {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
  }

  .operator-admin__profile {
    justify-content: space-between;
  }

  .operator-admin__mobile-nav {
    display: flex;
  }

  .operator-admin__main {
    padding: 0 16px 24px;
  }
}
.operator-events__create {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  border-radius: 999px;
  color: #ffffff;
  background: #f55753;
  box-shadow: 0 16px 32px rgba(245, 87, 83, 0.28);
  font-weight: 800;
  text-decoration: none;
}

.operator-events__create:hover {
  background: #e14945;
}

.operator-events__summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 20px;
}

.operator-events__metric {
  padding: 20px 22px;
  border: 1px solid rgba(32, 38, 53, 0.08);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 20px 44px rgba(23, 31, 48, 0.08);
}

.operator-events__metric span {
  display: block;
  margin-bottom: 8px;
  color: #687385;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.operator-events__metric strong {
  font-size: 1.6rem;
}

.operator-events__toolbar {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
  padding: 18px;
  border: 1px solid rgba(32, 38, 53, 0.08);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 20px 44px rgba(23, 31, 48, 0.08);
}

.operator-events__toggle {
  display: inline-flex;
  gap: 8px;
  padding: 6px;
  border-radius: 999px;
  background: rgba(41, 44, 52, 0.06);
}

.operator-events__tab {
  border: none;
  border-radius: 999px;
  padding: 10px 16px;
  color: #4b5669;
  background: transparent;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.operator-events__tab--active {
  color: #ffffff;
  background: #2a2b31;
}

.operator-events__filters {
  display: flex;
  gap: 12px;
}

.operator-events__search,
.operator-events__limit {
  display: grid;
  gap: 8px;
  color: #687385;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.operator-events__search input,
.operator-events__limit select {
  min-width: 200px;
  padding: 12px 14px;
  border: 1px solid rgba(32, 38, 53, 0.12);
  border-radius: 16px;
  color: #202635;
  background: #ffffff;
  font: inherit;
}

.operator-events__grid {
  display: grid;
  gap: 18px;
}

.operator-events__card {
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr) auto;
  gap: 18px;
  padding: 18px;
  border: 1px solid rgba(32, 38, 53, 0.08);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 20px 44px rgba(23, 31, 48, 0.08);
}

.operator-events__image {
  overflow: hidden;
  border-radius: 18px;
  background: linear-gradient(135deg, #2a2b31 0%, #515560 100%);
  min-height: 140px;
}

.operator-events__image img,
.operator-events__image-placeholder {
  width: 100%;
  height: 100%;
}

.operator-events__image img {
  display: block;
  object-fit: cover;
}

.operator-events__image-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.75);
  font-size: 2rem;
}

.operator-events__body h2 {
  margin: 0 0 8px;
  font-size: 1.4rem;
}

.operator-events__meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.operator-events__venue {
  color: #687385;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.operator-events__status {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.operator-events__status--pending {
  color: #7f5400;
  background: rgba(255, 192, 72, 0.22);
}

.operator-events__status--active {
  color: #10704d;
  background: rgba(0, 187, 162, 0.18);
}

.operator-events__status--ended {
  color: #7d3340;
  background: rgba(245, 87, 83, 0.18);
}

.operator-events__status--error {
  color: #8a2a31;
  background: rgba(216, 63, 78, 0.18);
}

.operator-events__status--neutral {
  color: #4b5669;
  background: rgba(75, 86, 105, 0.12);
}

.operator-events__description {
  margin: 0 0 14px;
  color: #546072;
  line-height: 1.5;
}

.operator-events__details {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
}

.operator-events__details dt {
  margin-bottom: 4px;
  color: #687385;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.operator-events__details dd {
  margin: 0;
  font-weight: 600;
}

.operator-events__errors {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(32, 38, 53, 0.08);
}

.operator-events__errors summary {
  cursor: pointer;
  font-weight: 700;
  color: #8a2a31;
}

.operator-events__errors pre {
  overflow: auto;
  margin: 10px 0 0;
  padding: 12px;
  border-radius: 16px;
  background: #1f232b;
  color: #edf1f7;
  font-size: 0.8rem;
}

.operator-events__actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: stretch;
  justify-content: center;
}

.operator-events__action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 112px;
  padding: 11px 14px;
  border: 1px solid rgba(32, 38, 53, 0.12);
  border-radius: 14px;
  color: #202635;
  background: #ffffff;
  font: inherit;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}

.operator-events__action:hover {
  border-color: rgba(245, 87, 83, 0.3);
  color: #f55753;
}

.operator-events__action--danger {
  color: #ffffff;
  background: #2a2b31;
}

.operator-events__action--danger:hover {
  color: #ffffff;
  background: #171a20;
}

.operator-events__state {
  padding: 28px;
  border: 1px solid rgba(32, 38, 53, 0.08);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.78);
  color: #425067;
  text-align: center;
  box-shadow: 0 20px 44px rgba(23, 31, 48, 0.08);
}

.operator-events__state--error {
  color: #8a2a31;
}

@media (max-width: 1100px) {
  .operator-events__summary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .operator-events__toolbar {
    flex-direction: column;
  }

  .operator-events__filters {
    flex-wrap: wrap;
  }

  .operator-events__card {
    grid-template-columns: 160px minmax(0, 1fr);
  }

  .operator-events__actions {
    grid-column: 1 / -1;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-start;
  }
}

@media (max-width: 720px) {
  .operator-events__summary {
    grid-template-columns: minmax(0, 1fr);
  }

  .operator-events__toggle {
    width: 100%;
  }

  .operator-events__tab {
    flex: 1 1 0;
  }

  .operator-events__search input,
  .operator-events__limit select {
    min-width: 0;
    width: 100%;
  }

  .operator-events__card {
    grid-template-columns: minmax(0, 1fr);
  }

  .operator-events__image {
    min-height: 180px;
  }

  .operator-events__details {
    grid-template-columns: minmax(0, 1fr);
  }
}
.operator-home {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 24px;
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.24), transparent 34%),
    linear-gradient(140deg, #a51f2c 0%, #df4a52 48%, #f6f7fb 48%, #eef1f7 100%);
}

.operator-home__layout {
  width: min(1080px, 100%);
  display: grid;
  grid-template-columns: minmax(320px, 420px) minmax(320px, 1fr);
  gap: 40px;
  align-items: center;
}

.operator-home__panel {
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(165, 31, 44, 0.16);
  border-radius: 24px;
  box-shadow: 0 24px 60px rgba(44, 52, 76, 0.18);
  padding: 32px;
}

.operator-home__brand {
  width: 220px;
  max-width: 100%;
}

.operator-home__heading {
  margin: 28px 0 10px;
  font-size: 28px;
  line-height: 1.1;
  color: #242b3a;
}

.operator-home__copy {
  margin: 0 0 28px;
  color: #4f586c;
  font-size: 15px;
  line-height: 1.6;
}

.operator-home__form {
  display: grid;
  gap: 18px;
}

.operator-home__field {
  display: grid;
  gap: 8px;
}

.operator-home__field label {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: #6b7285;
}

.operator-home__field input {
  width: 100%;
  border: 1px solid #d6dbe7;
  border-radius: 14px;
  padding: 14px 16px;
  font-size: 15px;
  color: #1f2635;
  background: #ffffff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.operator-home__field input:focus {
  outline: none;
  border-color: #cb2d3e;
  box-shadow: 0 0 0 4px rgba(203, 45, 62, 0.14);
}

.operator-home__error {
  min-height: 18px;
  font-size: 12px;
  color: #cb2d3e;
}

.operator-home__submit {
  border: none;
  border-radius: 14px;
  padding: 15px 18px;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: #ffffff;
  background: linear-gradient(135deg, #b61f30 0%, #df4a52 100%);
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

.operator-home__submit:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 26px rgba(182, 31, 48, 0.28);
}

.operator-home__submit:disabled {
  opacity: 0.7;
  cursor: wait;
  transform: none;
  box-shadow: none;
}

.operator-home__server-error {
  border-radius: 14px;
  border: 1px solid rgba(182, 31, 48, 0.18);
  background: rgba(182, 31, 48, 0.08);
  color: #8d1c29;
  padding: 14px 16px;
  font-size: 14px;
}

.operator-home__hero {
  display: flex;
  justify-content: center;
  align-items: center;
}

.operator-home__hero img {
  width: min(540px, 100%);
  height: auto;
  filter: drop-shadow(0 24px 60px rgba(28, 33, 48, 0.2));
}

@media (max-width: 900px) {
  .operator-home {
    padding: 24px 16px 40px;
  }

  .operator-home__layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .operator-home__panel {
    padding: 24px;
  }
}
:root {
  color-scheme: light;
  font-family: 'Raleway', sans-serif;
}

html,
body,
#app-root {
  min-height: 100%;
}

body {
  margin: 0;
}

* {
  box-sizing: border-box;
}

.operator-shell__legacy {
  min-height: 100vh;
}

.operator-shell__legacy-root {
  min-height: 100vh;
}

.operator-shell__panel {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  color: #21283a;
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.2), transparent 34%),
    linear-gradient(140deg, #f4f6fb 0%, #e8edf6 100%);
}

.operator-shell__panel--error {
  color: #8d1c29;
}
