/*!*************************************************************************************************************************************************************************************************************************************************************!*\
  !*** 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 ***!
  \*************************************************************************************************************************************************************************************************************************************************************/
* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: #f4f6f8;
  color: #17202a;
  font-family: Arial, Helvetica, sans-serif;
}

button {
  font-family: inherit;
}

.app-shell {
  min-height: 100vh;
  display: flex;
}

.sidebar {
  width: 245px;
  min-height: 100vh;
  background: #151922;
  color: #fff;
  padding: 26px 16px;
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 10px 35px;
}

.logo-mark {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: #ffcc33;
  color: #151922;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 21px;
}

.logo strong {
  display: block;
  font-size: 17px;
}

.logo span {
  display: block;
  color: #89909e;
  font-size: 11px;
  margin-top: 3px;
}

.nav {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.nav-item {
  padding: 13px 14px;
  border-radius: 9px;
  color: #aeb4c0;
  display: flex;
  align-items: center;
  gap: 13px;
  font-size: 14px;
  cursor: pointer;
}

.nav-item span {
  width: 20px;
  text-align: center;
  font-size: 17px;
}

.nav-item.active {
  background: #292f3b;
  color: #fff;
}

.sidebar-bottom {
  margin-top: auto;
  padding: 15px 10px 0;
  border-top: 1px solid #292e38;
}

.system-status {
  color: #aeb4c0;
  font-size: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.online-dot {
  width: 7px;
  height: 7px;
  background: #35c759;
  border-radius: 50%;
}

.version {
  color: #626a78;
  font-size: 11px;
  margin-top: 12px;
}

.content {
  flex: 1 1;
  min-width: 0;
  padding: 30px 38px 50px;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 25px;
  border-bottom: 1px solid #e1e5e9;
}

.topbar h1 {
  margin: 0;
  font-size: 25px;
}

.topbar p {
  margin: 5px 0 0;
  color: #7b8491;
  font-size: 13px;
}

.user {
  display: flex;
  align-items: center;
  gap: 10px;
}

.notification {
  width: 38px;
  height: 38px;
  border: 1px solid #e0e4e8;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 7px;
  color: #59616d;
}

.avatar {
  width: 38px;
  height: 38px;
  background: #e9edf2;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

.user strong,
.user span {
  display: block;
}

.user strong {
  font-size: 13px;
}

.user span {
  color: #8a929d;
  font-size: 11px;
  margin-top: 3px;
}

.welcome {
  display: flex;
  justify-content: space-between;
  align-items: end;
  margin: 30px 0 28px;
}

.welcome h2 {
  margin: 0;
  font-size: 23px;
}

.welcome p {
  margin: 7px 0 0;
  color: #7b8491;
  font-size: 14px;
}

.date {
  color: #89919d;
  font-size: 12px;
}

.section {
  margin-bottom: 30px;
}

.section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.section-heading h3 {
  margin: 0;
  font-size: 16px;
}

.section-heading span {
  color: #8a929d;
  font-size: 12px;
}

.metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-gap: 15px;
  gap: 15px;
}

.metric-card {
  background: #fff;
  border: 1px solid #e3e7eb;
  border-radius: 13px;
  padding: 20px;
  box-shadow: 0 2px 8px rgba(20, 30, 40, 0.03);
}

.metric-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #747d89;
  font-size: 12px;
}

.metric-icon {
  width: 31px;
  height: 31px;
  border-radius: 8px;
  background: #f1f3f5;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #4d5662;
  font-weight: 700;
}

.metric-card strong {
  display: block;
  margin: 16px 0 8px;
  font-size: 25px;
}

.metric-card small {
  color: #8a929d;
  font-size: 11px;
}

.metric-card small.positive {
  color: #1c9b57;
}

.main-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(320px, 1fr);
  grid-gap: 18px;
  gap: 18px;
  margin-top: 30px;
}

.panel {
  background: #fff;
  border: 1px solid #e3e7eb;
  border-radius: 14px;
  box-shadow: 0 2px 8px rgba(20, 30, 40, 0.03);
  overflow: hidden;
}

.panel-header {
  padding: 21px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.panel-header h3 {
  margin: 0;
  font-size: 15px;
}

.panel-header p {
  margin: 5px 0 0;
  color: #8a929d;
  font-size: 11px;
}

.counter {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: #fff3d6;
  color: #9a6a00;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 12px;
}

.task-list {
  border-top: 1px solid #edf0f2;
}

.task-item {
  min-height: 78px;
  padding: 15px 22px;
  display: flex;
  align-items: center;
  gap: 13px;
  border-bottom: 1px solid #edf0f2;
}

.task-icon {
  width: 35px;
  height: 35px;
  flex-shrink: 0;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

.task-icon.warning {
  background: #fff3d6;
  color: #b17700;
}

.task-icon.blue {
  background: #e7f0ff;
  color: #3974c8;
}

.task-icon.purple {
  background: #eee9ff;
  color: #7556c7;
}

.task-info {
  flex: 1 1;
  min-width: 0;
}

.task-info strong,
.task-info span {
  display: block;
}

.task-info strong {
  font-size: 13px;
}

.task-info span {
  color: #8a929d;
  font-size: 11px;
  margin-top: 5px;
}

.task-item button {
  border: 0;
  background: #f2f4f6;
  color: #3e4651;
  border-radius: 7px;
  padding: 8px 11px;
  font-size: 11px;
  cursor: pointer;
  white-space: nowrap;
}

.task-item button:hover {
  background: #e8ebee;
}

.panel-footer {
  padding: 14px 22px;
  color: #59616d;
  font-size: 11px;
  border-top: 1px solid #edf0f2;
}

.agent-list {
  border-top: 1px solid #edf0f2;
}

.agent-item {
  min-height: 69px;
  padding: 13px 20px;
  display: flex;
  align-items: center;
  gap: 11px;
  border-bottom: 1px solid #edf0f2;
}

.agent-avatar {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: #f0f2f4;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 12px;
}

.agent-info {
  flex: 1 1;
}

.agent-info strong,
.agent-info span {
  display: block;
}

.agent-info strong {
  font-size: 12px;
}

.agent-info span {
  color: #8a929d;
  font-size: 10px;
  margin-top: 4px;
}

.agent-status {
  font-size: 10px;
  white-space: nowrap;
}

.agent-status i {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  margin-right: 4px;
}

.active-status {
  color: #229653;
}

.active-status i {
  background: #35c759;
}

.waiting-status {
  color: #8a929d;
}

.waiting-status i {
  background: #b5bbc2;
}

.events-panel {
  margin-top: 18px;
}

.events {
  border-top: 1px solid #edf0f2;
}

.event {
  display: grid;
  grid-template-columns: 48px 2px 1fr;
  grid-gap: 15px;
  gap: 15px;
  padding: 17px 22px;
  align-items: start;
  border-bottom: 1px solid #edf0f2;
}

.event:last-child {
  border-bottom: 0;
}

.event-time {
  color: #8a929d;
  font-size: 11px;
  padding-top: 2px;
}

.event-line {
  width: 2px;
  height: 31px;
  background: #dfe3e7;
}

.event strong,
.event span {
  display: block;
}

.event strong {
  font-size: 12px;
}

.event span {
  color: #8a929d;
  font-size: 10px;
  margin-top: 5px;
}

@media (max-width: 1000px) {
  .sidebar {
    width: 205px;
  }

  .metrics {
    grid-template-columns: repeat(2, 1fr);
  }

  .main-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  .sidebar {
    display: none;
  }

  .content {
    padding: 20px;
  }

  .metrics {
    grid-template-columns: 1fr;
  }

  .welcome {
    display: block;
  }

  .date {
    margin-top: 12px;
  }

  .task-item {
    align-items: flex-start;
  }
}

