@charset "UTF-8";

:root {
  --lc-sidebar-width: 16.25rem;
  --lc-card-shadow: 0 0.75rem 1.5rem rgba(34, 48, 62, 0.08);
  --lc-muted: #6f7d8c;
}

body {
  background:
    radial-gradient(circle at top right, rgba(105, 108, 255, 0.12), transparent 22rem),
    linear-gradient(180deg, #f7f8fc 0%, #eef1f7 100%);
}

.layout-page {
  min-height: 100vh;
  min-width: 0;
}

.content-wrapper {
  min-height: 100vh;
}

.lc-page-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.lc-page-header h4,
.lc-page-header h5 {
  margin-bottom: 0.35rem;
}

.lc-page-subtitle {
  color: var(--lc-muted);
  margin-bottom: 0;
}

.lc-stat-card,
.lc-panel,
.lc-auth-card {
  border: 0;
  border-radius: 1.25rem;
  box-shadow: var(--lc-card-shadow);
}

.lc-stat-card {
  overflow: hidden;
  position: relative;
}

.lc-stat-card::after {
  background: rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  content: "";
  height: 7rem;
  position: absolute;
  right: -2rem;
  top: -2rem;
  width: 7rem;
}

.lc-stat-icon {
  align-items: center;
  background: rgba(255, 255, 255, 0.18);
  border-radius: 1rem;
  display: inline-flex;
  font-size: 1rem;
  font-weight: 700;
  height: 2.5rem;
  justify-content: center;
  width: 2.5rem;
}

.lc-kpi-value {
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.1;
}

.lc-panel .card-header,
.lc-panel .card-body,
.lc-auth-card .card-body {
  padding: 1.5rem;
}

.lc-panel .card-header {
  background: transparent;
  border-bottom: 1px solid rgba(34, 48, 62, 0.08);
}

.lc-empty {
  align-items: center;
  color: var(--lc-muted);
  display: flex;
  justify-content: center;
  min-height: 14rem;
  text-align: center;
}

.lc-chip {
  align-items: center;
  border-radius: 999px;
  display: inline-flex;
  font-size: 0.75rem;
  font-weight: 600;
  gap: 0.35rem;
  padding: 0.4rem 0.75rem;
}

.lc-chip.is-success,
.lc-chip.is-completed,
.lc-chip.is-active {
  background: rgba(113, 221, 55, 0.14);
  color: #477c23;
}

.lc-chip.is-warning,
.lc-chip.is-pending,
.lc-chip.is-assigned {
  background: rgba(255, 171, 0, 0.16);
  color: #8d5d00;
}

.lc-chip.is-danger,
.lc-chip.is-cancelled,
.lc-chip.is-inactive {
  background: rgba(255, 62, 29, 0.13);
  color: #a22a14;
}

.lc-chip.is-info,
.lc-chip.is-progress {
  background: rgba(3, 195, 236, 0.14);
  color: #006f87;
}

.lc-chip.is-neutral {
  background: rgba(133, 146, 163, 0.14);
  color: #5c6775;
}

.lc-table thead th {
  border-bottom-width: 1px;
  color: var(--lc-muted);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.lc-table tbody tr:last-child td {
  border-bottom: 0;
}

.lc-entity {
  align-items: center;
  display: flex;
  gap: 0.9rem;
}

.lc-avatar {
  align-items: center;
  background: linear-gradient(135deg, rgba(105, 108, 255, 0.16), rgba(3, 195, 236, 0.18));
  border-radius: 1rem;
  color: #5661d2;
  display: inline-flex;
  font-size: 0.9rem;
  font-weight: 700;
  height: 2.75rem;
  justify-content: center;
  width: 2.75rem;
}

.lc-avatar.is-lg {
  border-radius: 1.25rem;
  font-size: 1.35rem;
  height: 4rem;
  width: 4rem;
}

.lc-meta {
  color: var(--lc-muted);
  display: block;
  font-size: 0.82rem;
}

.lc-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.lc-form-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(12, minmax(0, 1fr));
}

.lc-form-grid > .span-12 {
  grid-column: span 12;
}

.lc-form-grid > .span-6 {
  grid-column: span 6;
}

.lc-detail-list {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.lc-detail-item {
  background: rgba(34, 48, 62, 0.03);
  border-radius: 1rem;
  padding: 1rem;
}

.lc-detail-item.full {
  grid-column: 1 / -1;
}

.feedback-stars {
  color: #ffb400;
  display: inline-flex;
  gap: 0.18rem;
  font-size: 1rem;
}

.feedback-card__comment {
  color: #22303e;
  line-height: 1.6;
}

.feedback-distribution {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.feedback-distribution__row {
  align-items: center;
  display: grid;
  gap: 0.75rem;
  grid-template-columns: 3.75rem minmax(0, 1fr) 2rem;
}

.feedback-distribution__label {
  align-items: center;
  color: #5c6775;
  display: inline-flex;
  gap: 0.3rem;
  font-size: 0.88rem;
  font-weight: 700;
}

.feedback-distribution__bar {
  background: rgba(34, 48, 62, 0.08);
  border-radius: 999px;
  height: 0.65rem;
  overflow: hidden;
}

.feedback-distribution__bar span {
  background: linear-gradient(135deg, #ffb400, #ff8f00);
  border-radius: inherit;
  display: block;
  height: 100%;
}

.feedback-distribution__count {
  color: var(--lc-muted);
  font-size: 0.85rem;
  font-weight: 700;
  text-align: end;
}

.lc-detail-label {
  color: var(--lc-muted);
  display: block;
  font-size: 0.78rem;
  margin-bottom: 0.35rem;
  text-transform: uppercase;
}

.lc-chart {
  min-height: 21rem;
}

.lc-sidebar-label {
  font-size: 0.92rem;
  font-weight: 500;
}

.lc-auth-shell {
  min-height: 100vh;
  position: relative;
}

.lc-auth-shell::before {
  background:
    radial-gradient(circle at top left, rgba(105, 108, 255, 0.16), transparent 18rem),
    radial-gradient(circle at bottom right, rgba(3, 195, 236, 0.18), transparent 18rem);
  content: "";
  inset: 0;
  position: absolute;
}

.lc-auth-shell > .container-xxl {
  position: relative;
  z-index: 1;
}

.lc-auth-hero {
  color: #5661d2;
  margin-bottom: 1.25rem;
}

.lc-auth-hero .lc-chip {
  margin-bottom: 1rem;
}

.lc-page-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.legal-care-pagination {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
}

.legal-care-pagination__summary {
  align-items: center;
  color: var(--lc-muted);
  display: inline-flex;
  font-size: 0.9rem;
  line-height: 1.6;
}

.legal-care-pagination__list {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.legal-care-pagination__list .page-item {
  display: flex;
}

.legal-care-pagination__link {
  align-items: center;
  background: #fff;
  border: 1px solid rgba(34, 48, 62, 0.1);
  border-radius: 0.95rem;
  box-shadow: 0 0.45rem 1rem rgba(34, 48, 62, 0.06);
  color: #5c6775;
  display: inline-flex;
  font-size: 0.9rem;
  font-weight: 700;
  height: 2.6rem;
  justify-content: center;
  min-width: 2.6rem;
  padding: 0 0.9rem;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.legal-care-pagination__link:hover {
  background: #f8faff;
  border-color: rgba(105, 108, 255, 0.28);
  box-shadow: 0 0.7rem 1.3rem rgba(105, 108, 255, 0.12);
  color: #5661d2;
  transform: translateY(-1px);
}

.legal-care-pagination__list .page-item.active .legal-care-pagination__link {
  background: linear-gradient(135deg, #696cff, #4f8cff);
  border-color: transparent;
  box-shadow: 0 0.8rem 1.4rem rgba(105, 108, 255, 0.22);
  color: #fff;
  z-index: 1;
}

.legal-care-pagination__list .page-item.disabled .legal-care-pagination__link {
  background: rgba(255, 255, 255, 0.7);
  border-color: rgba(34, 48, 62, 0.08);
  box-shadow: none;
  color: #a7b1bc;
  cursor: default;
  pointer-events: none;
}

.agent-status-form {
  min-height: 2.25rem;
}

.agent-status-toggle-input {
  display: none;
}

.toggleSwitch {
  align-items: center;
  background-color: rgb(82, 82, 82);
  border-radius: 20px;
  cursor: pointer;
  display: flex;
  height: 30px;
  justify-content: center;
  position: relative;
  transition-duration: 0.2s;
  width: 50px;
}

.toggleSwitch::after {
  background-color: transparent;
  border: 5px solid #ffffff;
  border-radius: 50%;
  box-shadow: 5px 2px 7px rgba(8, 8, 8, 0.26);
  content: "";
  height: 10px;
  left: 5px;
  position: absolute;
  transition-duration: 0.2s;
  width: 10px;
}

.agent-status-toggle-input:checked + .toggleSwitch {
  background-color: rgb(148, 118, 255);
}

.agent-status-toggle-input:checked + .toggleSwitch::after {
  background-color: #ffffff;
  transform: translateX(100%);
}

.status-switch-set {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.status-switch {
  align-items: center;
  background: #f4f6fb;
  border: 1px solid rgba(34, 48, 62, 0.08);
  border-radius: 999px;
  color: #5c6775;
  cursor: pointer;
  display: inline-flex;
  font-size: 0.88rem;
  font-weight: 700;
  gap: 0.6rem;
  min-width: 150px;
  padding: 0.75rem 1rem 0.75rem 1rem;
  position: relative;
  transition: background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
  user-select: none;
}

.status-switch::before {
  border-radius: 999px;
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.18);
  content: "";
  display: inline-flex;
  flex: 0 0 auto;
  height: 1.1rem;
  width: 1.1rem;
}

.status-switch.is-active {
  box-shadow: 0 0.75rem 1.5rem rgba(34, 48, 62, 0.08);
  color: #fff;
}

.status-switch[data-status="pending"].is-active,
.status-switch[data-status="assigned"].is-active {
  background: linear-gradient(135deg, #ffb400, #ff8f00);
}

.status-switch[data-status="in_progress"].is-active {
  background: linear-gradient(135deg, #03c3ec, #008fb0);
}

.status-switch[data-status="completed"].is-active {
  background: linear-gradient(135deg, #71dd37, #4ea51d);
}

.status-switch[data-status="cancelled"].is-active {
  background: linear-gradient(135deg, #ff3e1d, #d6250b);
}

.status-switch[data-status="pending"]:not(.is-active),
.status-switch[data-status="assigned"]:not(.is-active) {
  color: #8d5d00;
}

.status-switch[data-status="in_progress"]:not(.is-active) {
  color: #006f87;
}

.status-switch[data-status="completed"]:not(.is-active) {
  color: #477c23;
}

.status-switch[data-status="cancelled"]:not(.is-active) {
  color: #a22a14;
}

@media (max-width: 991.98px) {
  .lc-page-header,
  .lc-detail-list {
    grid-template-columns: 1fr;
  }

  .lc-form-grid > .span-6 {
    grid-column: span 12;
  }

  .feedback-distribution__row {
    grid-template-columns: 3.25rem minmax(0, 1fr) 1.75rem;
  }

  .legal-care-pagination {
    align-items: stretch;
    flex-direction: column;
  }

  .legal-care-pagination__summary,
  .legal-care-pagination__list {
    justify-content: center;
    width: 100%;
  }

  .legal-care-pagination__summary {
    text-align: center;
  }
}

@media (max-width: 575.98px) {
  .lc-avatar {
    height: 2.35rem;
    width: 2.35rem;
  }
}
