@keyframes rotate {
  100% {
    transform: rotate(1turn);
  }
}

@keyframes rotate2 {
  100% {
    transform: rotate(3turn);
  }
}

@keyframes gradient-animation {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

.hb-bar-container {
  display: flex;
  width: 100%;
  max-width: 100%;
  height: 150px;
  align-items: flex-end;
  gap: 4px;
  padding: 0;
  border-bottom: 1px solid rgba(72, 94, 144, 0.16);
}

.hb-bar {
  flex: 1;
  height: 150px;
  border-radius: 6px;
  background: linear-gradient(to top, #00ff88, #007744);

  animation: growIn 0.5s ease forwards;
  transform: scaleY(0);
  transform-origin: bottom;

  min-width: 1px;
}

.hb-bar.warning {
  background: linear-gradient(to top, #ff4444, #990000);
}

.hb-bar.error {
  background: linear-gradient(to top, #ff4444, #990000);
}

.hb-bar.empty {
  background: linear-gradient(to top, #00a1ff, #18c9cd);
}

.hb-bar-item-empty {
  font-weight: bold;
  margin: auto;
}

.pulse-container {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100vh;
  background: #111;
}

.pulse-dot {
  width: 16px;
  height: 16px;
  background-color: #00c2ff;
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(0, 255, 136, 0.7);
  animation: pulse 3.2s infinite ease-in-out;
}

.paused {
  background-color: #444;
  box-shadow: none;
  animation: none;
  opacity: 0.5;
}

@keyframes pulse {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(0, 76, 255, 0.6);
  }

  70% {
    transform: scale(1.4);
    box-shadow: 0 0 0 10px rgba(0, 255, 136, 0);
  }

  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(0, 255, 136, 0);
  }
}

@keyframes growIn {
  to {
    transform: scaleY(1);
  }
}

@media (max-width: 600px) {
  .hb-bar-container {
    height: 100px;
  }
}

.rainbow-base {
  position: relative;
  z-index: 0;
  border-radius: 10px;
  overflow: hidden;
  padding: 2rem;
  margin-bottom: 15px;
  background: white;
}

.rainbow {
  position: relative;
  z-index: 0;
  border-radius: 10px;
  overflow: hidden;
  padding: 2rem;
  margin-bottom: 15px;
}

.rainbow::before {
  content: "";
  position: absolute;
  z-index: -2;
  left: -50%;
  top: -50%;
  width: 200%;
  height: 200%;
  background-color: #399953;
  background-repeat: no-repeat;
  background-size: 50% 50%, 50% 50%;
  background-position: 0 0, 100% 0, 100% 100%, 0 100%;
  background-image: linear-gradient(#399953, #399953), linear-gradient(#fbb300, #fbb300), linear-gradient(#d53e33, #d53e33), linear-gradient(#377af5, #377af5);
  animation: rotate 9s linear infinite;
}

.rainbow::after {
  content: "";
  position: absolute;
  z-index: -1;
  left: 6px;
  top: 6px;
  width: calc(100% - 12px);
  height: calc(100% - 12px);
  background: white;
  border-radius: 5px;
}

.greenState {
  color: #00d15b;
}
.greenStateBorder {
  border: 3px solid #00d15b;
}

.yellowState {
  color: #ffb71c;
}
.yellowStateBorder {
  border: 3px solid #ffed1c;
}

.redState {
  color: #ff1c1c;
}
.redStateBorder {
  border: 3px solid #ff1c1c;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice {
  background: rgba(27, 46, 75, 0.9) !important;
}


:root {
  --hy-bg: #f5f7fb;
  --hy-surface: #ffffff;
  --hy-surface-muted: #f8fafc;
  --hy-border: #e5e9f0;
  --hy-border-strong: #d5dbe5;
  --hy-text: #0f172a;
  --hy-text-muted: #64748b;
  --hy-text-subtle: #94a3b8;
  --hy-primary: #0168fa;
  --hy-primary-soft: #e8f1ff;
  --hy-danger: #dc3545;
  --hy-danger-soft: #fdecee;
  --hy-success: #10b981;
  --hy-success-soft: #e7f8f1;
  --hy-warning: #b45309;
  --hy-warning-soft: #fef3e2;
  --hy-radius: 12px;
  --hy-radius-sm: 8px;
  --hy-shadow: 0 1px 2px rgba(15, 23, 42, 0.04), 0 1px 3px rgba(15, 23, 42, 0.06);
  --hy-shadow-lg: 0 10px 30px -12px rgba(15, 23, 42, 0.25);
}

.content,
.content-body {
  background: var(--hy-bg);
}

.content {
  min-height: 100vh;
}

#main {
  overflow: visible;
}

.aside {
  background: var(--hy-surface);
}

.page-title-container h1 {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--hy-text);
  margin-bottom: 4px;
}

.df-breadcrumbs .breadcrumb-item a {
  color: var(--hy-text-muted);
  font-size: 12px;
}

@media (max-width: 991.98px) {
  #main {
    padding-top: 56px !important;
  }
}

.card.hy-card,
.HyContainer > .card {
  background: var(--hy-surface);
  border: 1px solid var(--hy-border) !important;
  border-radius: var(--hy-radius);
  box-shadow: var(--hy-shadow) !important;
  overflow: hidden;
}

.hy-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--hy-surface);
  border: 1px solid var(--hy-border);
  color: var(--hy-text-muted);
  font-size: 12px;
  font-weight: 600;
}

.hy-chip.is-info {
  background: var(--hy-primary-soft);
  border-color: transparent;
  color: var(--hy-primary);
}

.hy-badge {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--hy-surface-muted);
  border: 1px solid var(--hy-border);
  color: var(--hy-text-muted);
  font-size: 11px;
  font-weight: 600;
  white-space: nowrap;
}

.hy-badge-primary { background: var(--hy-primary-soft); border-color: transparent; color: var(--hy-primary); }
.hy-badge-danger { background: var(--hy-danger-soft); border-color: transparent; color: var(--hy-danger); }
.hy-badge-success { background: var(--hy-success-soft); border-color: transparent; color: #047857; }
.hy-badge-warning { background: var(--hy-warning-soft); border-color: transparent; color: var(--hy-warning); }

.hy-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--hy-primary-soft);
  color: var(--hy-primary);
  font-size: 12px;
  font-weight: 700;
}

.hy-search {
  min-width: 220px;
}

.hy-table thead th {
  background: var(--hy-surface-muted);
  border-bottom: 1px solid var(--hy-border);
  color: var(--hy-text-muted);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding-top: 12px;
  padding-bottom: 12px;
  white-space: nowrap;
}

.hy-table td {
  border-color: var(--hy-border);
  padding-top: 12px;
  padding-bottom: 12px;
  color: var(--hy-text);
}

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

.hy-table .clickable-row {
  cursor: pointer;
}

.hy-table tbody tr.is-selected td {
  background: var(--hy-primary-soft);
}

.hy-table .hy-id {
  color: var(--hy-text-subtle);
  font-variant-numeric: tabular-nums;
  font-weight: 600;
}

.hy-empty {
  text-align: center;
  padding: 48px 16px !important;
  color: var(--hy-text-muted);
}

.hy-empty i {
  display: block;
  font-size: 28px;
  margin-bottom: 12px;
  color: var(--hy-text-subtle);
}

.hy-empty p {
  margin: 0;
  font-weight: 600;
}

.hy-pagination {
  display: inline-flex;
  gap: 4px;
  padding: 4px;
  margin: 0;
  list-style: none;
  background: var(--hy-surface);
  border: 1px solid var(--hy-border);
  border-radius: 999px;
  box-shadow: var(--hy-shadow);
}

.hy-pagination .page-link {
  min-width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px !important;
  color: var(--hy-text);
  font-size: 13px;
  font-weight: 600;
  background: transparent;
}

.hy-pagination .page-link:hover {
  background: var(--hy-surface-muted);
}

.hy-pagination .page-link.active {
  background: var(--hy-primary);
  color: #fff;
}

.hy-section-title {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--hy-text-muted);
  margin-bottom: 16px;
}

.hy-option {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 12px 14px;
  margin-bottom: 8px;
  border: 1px solid var(--hy-border);
  border-radius: var(--hy-radius-sm);
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
}

.hy-option:last-child {
  margin-bottom: 0;
}

.hy-option:hover {
  border-color: var(--hy-border-strong);
}

.hy-option:has(input:checked) {
  border-color: var(--hy-primary);
  background: var(--hy-primary-soft);
}

.hy-option.is-disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.hy-option input {
  margin-top: 3px;
  flex-shrink: 0;
}

.hy-option strong {
  display: block;
  font-size: 14px;
  color: var(--hy-text);
}

.hy-option small {
  display: block;
  color: var(--hy-text-muted);
  font-size: 12px;
}

.hy-meta {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 6px 16px;
  font-size: 13px;
}

.hy-meta dt {
  color: var(--hy-text-muted);
  font-weight: 500;
}

.hy-meta dd {
  margin: 0;
  color: var(--hy-text);
  text-align: right;
}

.hy-panel {
  background: var(--hy-surface);
  border: 1px solid var(--hy-border);
  border-radius: var(--hy-radius);
  box-shadow: var(--hy-shadow);
}

.hy-panel-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 12px 16px;
}

.hy-panel-title {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  color: var(--hy-text);
}

.hy-panel-title i {
  color: var(--hy-text-subtle);
}

.hy-panel-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.hy-panel-body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 0 16px 16px;
}

.hy-panel-body:empty {
  display: none;
}

.hy-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  border-radius: var(--hy-radius-sm);
  border: 1px solid var(--hy-border);
  background: var(--hy-surface);
  color: var(--hy-text);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.2;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}

.hy-btn:hover {
  background: var(--hy-surface-muted);
  border-color: var(--hy-border-strong);
}

.hy-btn-primary {
  background: var(--hy-primary);
  border-color: var(--hy-primary);
  color: #fff;
}

.hy-btn-primary:hover {
  background: #0158d4;
  border-color: #0158d4;
  color: #fff;
}

.hy-btn-success {
  background: var(--hy-success);
  border-color: var(--hy-success);
  color: #fff;
}

.hy-btn-success:hover {
  background: #059669;
  border-color: #059669;
  color: #fff;
}

.hy-btn-danger {
  background: var(--hy-surface);
  border-color: #f3c2c8;
  color: var(--hy-danger);
}

.hy-btn-danger:hover {
  background: var(--hy-danger);
  border-color: var(--hy-danger);
  color: #fff;
}

.hy-btn-ghost {
  border-color: transparent;
  background: transparent;
  color: var(--hy-text-muted);
}

.hy-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.4fr) auto;
  gap: 8px;
  align-items: center;
  padding: 8px;
  background: var(--hy-surface-muted);
  border: 1px solid var(--hy-border);
  border-radius: var(--hy-radius-sm);
}

.hy-row.is-compact {
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1.4fr) auto;
}

@media (max-width: 767.98px) {
  .hy-row,
  .hy-row.is-compact {
    grid-template-columns: 1fr auto;
  }

  .hy-row > :not(.hy-row-remove) {
    grid-column: 1;
  }

  .hy-row > .hy-row-remove {
    grid-column: 2;
    grid-row: 1;
  }
}

.hy-input {
  width: 100%;
  padding: 7px 10px;
  border: 1px solid var(--hy-border);
  border-radius: 6px;
  font-size: 13px;
  color: var(--hy-text);
  background: var(--hy-surface);
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.hy-input:focus,
.hy-input:focus-within {
  border-color: var(--hy-primary);
  box-shadow: 0 0 0 3px rgba(1, 104, 250, 0.12);
}

.hy-row-remove {
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--hy-text-subtle);
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
}

.hy-row-remove:hover {
  background: var(--hy-danger-soft);
  color: var(--hy-danger);
}

.hy-select {
  position: relative;
  width: 100%;
}

.hy-select-trigger {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  align-items: center;
  min-height: 34px;
  cursor: pointer;
}

.hy-select-placeholder {
  color: var(--hy-text-subtle);
}

.hy-select-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 6px;
  border-radius: 4px;
  background: var(--hy-primary-soft);
  color: var(--hy-primary);
  font-size: 11px;
  font-weight: 600;
}

.hy-select-tag b {
  cursor: pointer;
}

.hy-select-popover {
  display: none;
  flex-direction: column;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 100;
  margin-top: 4px;
  max-height: 240px;
  overflow: hidden;
  background: var(--hy-surface);
  border: 1px solid var(--hy-border);
  border-radius: var(--hy-radius-sm);
  box-shadow: var(--hy-shadow-lg);
}

.hy-select.is-open .hy-select-popover {
  display: flex;
}

.hy-select-search {
  width: 100%;
  padding: 8px 10px;
  border: 0;
  border-bottom: 1px solid var(--hy-border);
  outline: none;
  font-size: 12px;
}

.hy-select-options {
  overflow-y: auto;
  max-height: 190px;
  padding: 4px 0;
}

.hy-select-option {
  padding: 6px 12px;
  font-size: 13px;
  cursor: pointer;
  color: var(--hy-text);
}

.hy-select-option:hover {
  background: var(--hy-surface-muted);
}

.hy-select-option.is-selected {
  background: var(--hy-primary-soft);
  color: var(--hy-primary);
  font-weight: 600;
}

.hy-select-empty {
  padding: 8px 12px;
  color: var(--hy-text-subtle);
  font-size: 12px;
}

.hy-bulkbar-wrap {
  position: sticky;
  top: 0;
  z-index: 20;
}

.hy-bulkbar {
  border-color: #bcd5fe;
  box-shadow: var(--hy-shadow-lg);
}

.hy-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.hy-count {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--hy-primary-soft);
  color: var(--hy-primary);
  font-size: 12px;
  font-weight: 600;
}


.hy-detail-bar {
  position: sticky;
  top: 8px;
  z-index: 30;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 8px 0 20px;
  padding: 10px 12px 10px 16px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(180%) blur(8px);
  border: 1px solid var(--hy-border);
  border-radius: var(--hy-radius);
  box-shadow: var(--hy-shadow);
}

.hy-detail-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 16px;
  min-width: 0;
}

.hy-detail-id {
  font-size: 15px;
  font-weight: 700;
  color: var(--hy-text);
  font-variant-numeric: tabular-nums;
}

.hy-detail-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--hy-text-muted);
  white-space: nowrap;
}

.hy-detail-meta-item i {
  color: var(--hy-text-subtle);
}

.hy-detail-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.hy-detail-actions [data-i18n-switch] {
  margin-right: 8px;
  padding-right: 16px;
  border-right: 1px solid var(--hy-border);
}

.hy-segmented {
  display: inline-flex;
  padding: 3px;
  gap: 2px;
  background: var(--hy-surface-muted);
  border: 1px solid var(--hy-border);
  border-radius: var(--hy-radius-sm);
}

.hy-segmented button {
  min-width: 36px;
  padding: 4px 10px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--hy-text-muted);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
}

.hy-segmented button:hover {
  color: var(--hy-text);
}

.hy-segmented button.active {
  background: var(--hy-surface);
  color: var(--hy-primary);
  box-shadow: var(--hy-shadow);
}

.hy-detail-actions .hy-btn {
  text-decoration: none;
}

.hy-alert {
  border: 0;
  border-radius: var(--hy-radius);
  padding: 12px 16px;
  font-weight: 500;
}

.hy-tabs {
  display: flex;
  flex-wrap: nowrap;
  gap: 4px;
  overflow-x: auto;
  scrollbar-width: none;
  border-bottom: 1px solid var(--hy-border);
}

.hy-tabs::-webkit-scrollbar {
  display: none;
}

.hy-tabs .nav-link {
  position: relative;
  padding: 10px 14px;
  border: 0;
  background: transparent;
  color: var(--hy-text-muted);
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  border-radius: var(--hy-radius-sm) var(--hy-radius-sm) 0 0;
  transition: color 0.15s, background 0.15s;
}

.hy-tabs .nav-link:hover {
  color: var(--hy-text);
  background: rgba(15, 23, 42, 0.03);
}

.hy-tabs .nav-link.active {
  color: var(--hy-primary);
}

.hy-tabs .nav-link.active::after {
  content: '';
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: -1px;
  height: 2px;
  border-radius: 2px;
  background: var(--hy-primary);
}

.hy-tab-content {
  padding-bottom: 32px;
}

.hy-field-card {
  height: 100%;
  padding: 20px;
  background: var(--hy-surface);
  border: 1px solid var(--hy-border);
  border-radius: var(--hy-radius);
  box-shadow: var(--hy-shadow);
}

.hy-field-card .hy-field-card {
  padding: 0;
  border: 0;
  box-shadow: none;
}

.app-entity-form .form-label,
.app-entity-form .col-form-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--hy-text);
  margin-bottom: 6px;
}

.app-entity-form .col-form-label {
  padding-top: 8px;
  padding-bottom: 0;
}

.app-entity-form .form-control,
.app-entity-form .form-select {
  border-color: var(--hy-border-strong);
  border-radius: var(--hy-radius-sm);
  font-size: 14px;
}

.app-entity-form .form-control:focus,
.app-entity-form .form-select:focus {
  border-color: var(--hy-primary);
  box-shadow: 0 0 0 3px rgba(1, 104, 250, 0.12);
}

@media (max-width: 767.98px) {
  .hy-detail-bar {
    padding: 10px;
  }

  .hy-detail-actions {
    width: 100%;
  }

  .hy-detail-actions [data-i18n-switch] {
    margin-right: auto;
    padding-right: 0;
    border-right: 0;
  }
}

.app-entity-form .select2-container--default .select2-selection--single,
.app-entity-form .select2-container--default .select2-selection--multiple {
  min-height: 38px;
  border-color: var(--hy-border-strong);
  border-radius: var(--hy-radius-sm);
}

.app-entity-form .select2-container--default .select2-selection--single .select2-selection__rendered {
  line-height: 36px;
  padding-left: 12px;
  font-size: 14px;
  color: var(--hy-text);
}

.app-entity-form .select2-container--default .select2-selection--single .select2-selection__arrow {
  height: 36px;
  right: 6px;
}

.app-entity-form .select2-container--default.select2-container--focus .select2-selection--multiple,
.app-entity-form .select2-container--default.select2-container--open .select2-selection--single {
  border-color: var(--hy-primary);
  box-shadow: 0 0 0 3px rgba(1, 104, 250, 0.12);
}

.hy-advice {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 12px 16px;
  background: var(--hy-warning-soft);
  border: 1px solid #f8dcae;
  border-radius: var(--hy-radius);
  color: var(--hy-text);
  font-size: 13px;
}

.hy-advice > i {
  margin-top: 2px;
  color: var(--hy-warning);
}

.hy-advice strong {
  display: block;
  margin-bottom: 2px;
}

.hy-advice .is-warning {
  color: var(--hy-warning);
}

.hy-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--hy-text-subtle);
}

.hy-dot.is-live {
  background: var(--hy-success);
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.5);
  animation: hyPulse 1.6s infinite;
}

@keyframes hyPulse {
  70% {
    box-shadow: 0 0 0 6px rgba(16, 185, 129, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hy-dot.is-live {
    animation: none;
  }
}

.hy-process {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  color: var(--hy-text-muted);
}

.hy-process small {
  font-weight: 400;
  color: var(--hy-text-subtle);
}

.hy-process.is-running {
  color: #047857;
}

.hy-process.is-gone {
  color: var(--hy-danger);
}

.hy-auth-body {
  background: var(--hy-bg);
}

.hy-auth {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  min-height: 100vh;
}

.hy-auth-brand {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 32px;
  padding: 48px;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.14), transparent 45%),
    radial-gradient(circle at 85% 80%, rgba(56, 189, 248, 0.35), transparent 50%),
    linear-gradient(135deg, #0b1f4d 0%, #0168fa 100%);
}

.hy-auth-brand .hy-auth-logo,
.hy-auth-brand .hy-auth-logo a,
.hy-auth-brand .hy-auth-logo span {
  color: #fff !important;
}

.hy-auth-logo {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--hy-text);
}

.hy-auth-logo img {
  max-height: 40px;
  width: auto;
}

.hy-auth-claim h2 {
  max-width: 440px;
  margin: 0 0 12px;
  font-size: 40px;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: #fff;
}

.hy-auth-claim p {
  max-width: 400px;
  margin: 0;
  font-size: 16px;
  color: rgba(255, 255, 255, 0.75);
}

.hy-auth-image {
  max-width: 100%;
  max-height: 60vh;
  align-self: center;
  border-radius: var(--hy-radius);
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.45);
}

.hy-auth-brand-foot {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.6);
}

.hy-auth-panel {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px 24px;
}

.hy-auth-card {
  width: 100%;
  max-width: 400px;
}

.hy-auth-card h1 {
  margin: 0 0 6px;
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--hy-text);
}

.hy-auth-sub {
  margin-bottom: 28px;
  color: var(--hy-text-muted);
}

.hy-auth-card .form-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--hy-text);
}

.hy-input-icon {
  position: relative;
}

.hy-input-icon > i {
  position: absolute;
  top: 50%;
  left: 14px;
  transform: translateY(-50%);
  color: var(--hy-text-subtle);
  pointer-events: none;
}

.hy-input-icon .form-control {
  height: 46px;
  padding-left: 40px;
  padding-right: 44px;
  border-color: var(--hy-border-strong);
  border-radius: var(--hy-radius-sm);
  background: var(--hy-surface);
}

.hy-input-icon .form-control:focus {
  border-color: var(--hy-primary);
  box-shadow: 0 0 0 3px rgba(1, 104, 250, 0.12);
}

.hy-input-toggle {
  position: absolute;
  top: 50%;
  right: 6px;
  transform: translateY(-50%);
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--hy-text-subtle);
}

.hy-input-toggle:hover {
  color: var(--hy-text);
  background: var(--hy-surface-muted);
}

.hy-btn-lg {
  height: 46px;
  font-size: 15px;
  font-weight: 600;
}

.hy-auth-legal {
  margin: 32px 0 0;
  text-align: center;
  font-size: 11px;
  color: var(--hy-text-subtle);
}

.hy-auth-legal a {
  color: inherit;
  font-weight: 600;
}

@media (max-width: 991.98px) {
  .hy-auth {
    grid-template-columns: 1fr;
  }

  .hy-auth-brand {
    display: none;
  }
}

.aside-header {
  border-bottom: 1px solid var(--hy-border);
}

.aside-body {
  border-top: 0;
  border-right: 1px solid var(--hy-border);
  padding: 14px 12px;
}

.hy-user {
  margin-bottom: 14px;
}

.hy-user-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px;
  border-radius: var(--hy-radius);
  background: var(--hy-surface-muted);
  border: 1px solid var(--hy-border);
}

.hy-user-avatar img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 0 2px var(--hy-surface);
}

.hy-user-name {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  line-height: 1.25;
  text-decoration: none;
}

.hy-user-name strong {
  font-size: 13px;
  color: var(--hy-text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hy-user-name small {
  font-size: 11px;
  color: var(--hy-text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hy-user-logout {
  display: inline-flex;
  padding: 6px;
  border-radius: 6px;
  color: var(--hy-text-subtle);
}

.hy-user-logout:hover {
  color: var(--hy-danger);
  background: var(--hy-danger-soft);
}

.hy-user-logout svg {
  width: 16px;
  height: 16px;
}

.hy-nav-search {
  position: relative;
  margin-bottom: 14px;
}

.hy-nav-search svg {
  position: absolute;
  top: 50%;
  left: 10px;
  width: 14px;
  height: 14px;
  transform: translateY(-50%);
  color: var(--hy-text-subtle);
  pointer-events: none;
}

.hy-nav-search input {
  width: 100%;
  height: 34px;
  padding: 0 30px 0 30px;
  border: 1px solid var(--hy-border);
  border-radius: var(--hy-radius-sm);
  background: var(--hy-surface-muted);
  font-size: 13px;
  color: var(--hy-text);
  outline: none;
}

.hy-nav-search input:focus {
  border-color: var(--hy-primary);
  background: var(--hy-surface);
  box-shadow: 0 0 0 3px rgba(1, 104, 250, 0.12);
}

.hy-nav-search kbd {
  position: absolute;
  top: 50%;
  right: 8px;
  transform: translateY(-50%);
  padding: 1px 6px;
  border: 1px solid var(--hy-border);
  border-radius: 4px;
  background: var(--hy-surface);
  color: var(--hy-text-subtle);
  font-size: 10px;
  box-shadow: none;
}

.hy-nav-search input:focus ~ kbd {
  display: none;
}

.nav-aside {
  margin-bottom: 14px;
}

.nav-aside .nav-label {
  margin: 14px 8px 4px;
  font-family: inherit;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--hy-text-subtle);
}

.nav-aside .nav-label.mt-0 {
  margin-top: 0;
}

.nav-aside .nav-label.nav-dropdown-toggle {
  padding: 4px 0;
  border-radius: 6px;
}

.nav-aside .nav-label.nav-dropdown-toggle:hover {
  color: var(--hy-text);
}

.nav-aside .nav-label .nav-arrow-icon {
  width: 14px;
  height: 14px;
}

.nav-aside .nav-group.has-active > .nav-label {
  color: var(--hy-text);
}

.nav-aside .nav-link {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 34px;
  padding: 0 10px;
  margin: 1px 0;
  border-radius: var(--hy-radius-sm);
  color: #334155;
  font-size: 13px;
  font-weight: 500;
  transition: background 0.12s, color 0.12s;
}

.nav-aside .nav-link svg {
  width: 16px;
  height: 16px;
  margin: 0;
  color: var(--hy-text-subtle);
  fill: none !important;
  flex-shrink: 0;
}

.nav-aside .nav-link:hover {
  background: var(--hy-surface-muted);
  color: var(--hy-text);
}

.nav-aside .nav-link:hover svg {
  color: var(--hy-text);
}

.nav-aside .nav-link.active {
  background: var(--hy-primary-soft);
  color: var(--hy-primary);
  font-weight: 600;
}

.nav-aside .nav-link.active svg {
  color: var(--hy-primary);
}

.nav-aside .nav-link::before {
  display: none;
}

.nav-aside .nav-group-content .group > hr {
  margin: 6px 10px;
  opacity: 0.08;
}

.nav-aside .nav-group-content .group > .label {
  display: block;
  padding: 0 10px;
  font-size: 11px;
  color: var(--hy-text-subtle);
}

.aside.is-searching .nav-label:not(.nav-dropdown-toggle) {
  display: none;
}

.cockpit-title {
  margin: 14px 8px 8px !important;
  font-size: 10.5px !important;
  font-weight: 600 !important;
  letter-spacing: 0.06em !important;
}

.hyCopy {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-top: 18px;
  padding: 12px 8px 4px;
  border-top: 1px solid var(--hy-border);
  font-size: 10.5px;
  color: var(--hy-text-subtle);
}

.minimize .hyCopy,
.minimize .hy-nav-search,
.minimize .hy-user-name,
.minimize .hy-user-logout {
  display: none;
}

.minimize .hy-user-row {
  justify-content: center;
  padding: 4px;
  background: transparent;
  border: 0;
}

.hy-greeting {
  margin: -6px 0 20px;
  font-size: 15px;
  color: var(--hy-text-muted);
}

.hy-kpis {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

@media (max-width: 1199.98px) {
  .hy-kpis {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 575.98px) {
  .hy-kpis {
    grid-template-columns: 1fr;
  }
}

.hy-kpi {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px;
  background: var(--hy-surface);
  border: 1px solid var(--hy-border);
  border-radius: var(--hy-radius);
  box-shadow: var(--hy-shadow);
  text-decoration: none;
  color: inherit;
  transition: border-color 0.15s, box-shadow 0.15s, transform 0.15s;
}

.hy-kpi:hover {
  border-color: var(--hy-border-strong);
  box-shadow: var(--hy-shadow-lg);
  transform: translateY(-1px);
  color: inherit;
}

.hy-kpi-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 44px;
  height: 44px;
  border-radius: 12px;
  font-size: 18px;
  background: var(--hy-surface-muted);
  color: var(--hy-text-muted);
}

.hy-kpi-icon.is-success { background: var(--hy-success-soft); color: #047857; }
.hy-kpi-icon.is-danger { background: var(--hy-danger-soft); color: var(--hy-danger); }
.hy-kpi-icon.is-warning { background: var(--hy-warning-soft); color: var(--hy-warning); }
.hy-kpi-icon.is-primary { background: var(--hy-primary-soft); color: var(--hy-primary); }

.hy-kpi-body {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.hy-kpi-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--hy-text-muted);
}

.hy-kpi-value {
  font-size: 26px;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--hy-text);
  font-variant-numeric: tabular-nums;
}

.hy-kpi-hint {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: var(--hy-text-subtle);
}

.hy-stats {
  gap: 20px;
}

.hy-progress {
  height: 8px;
  border-radius: 999px;
  background: var(--hy-surface-muted);
  border: 1px solid var(--hy-border);
  overflow: hidden;
}

.hy-progress span {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: var(--hy-primary);
}

.hy-progress span.is-warning { background: #f59e0b; }
.hy-progress span.is-danger { background: var(--hy-danger); }

.hy-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.hy-action {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border: 1px solid var(--hy-border);
  border-radius: var(--hy-radius-sm);
  text-decoration: none;
  color: var(--hy-text);
  transition: border-color 0.15s, background 0.15s;
}

.hy-action:hover {
  border-color: #bcd5fe;
  background: var(--hy-primary-soft);
  color: var(--hy-text);
}

.hy-action > i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 34px;
  height: 34px;
  border-radius: 8px;
  background: var(--hy-surface-muted);
  color: var(--hy-primary);
}

.hy-action span {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.hy-action strong {
  font-size: 13px;
}

.hy-action small {
  font-size: 11px;
  color: var(--hy-text-muted);
}

.hy-panel-title i.is-success { color: var(--hy-success); }
.hy-panel-title i.is-danger { color: var(--hy-danger); }

.hy-feed {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-height: 70vh;
  overflow-y: auto;
}

.hy-feed-item {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  border: 1px solid var(--hy-border);
  border-left: 3px solid var(--hy-border-strong);
  border-radius: var(--hy-radius-sm);
}

.hy-feed-item.is-success { border-left-color: var(--hy-success); }
.hy-feed-item.is-danger { border-left-color: var(--hy-danger); }

.hy-feed-main strong {
  display: block;
  font-size: 13px;
  color: var(--hy-text);
}

.hy-feed-main p {
  margin: 2px 0 0;
  font-size: 12px;
  color: var(--hy-text-muted);
}

.hy-feed-side {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
  white-space: nowrap;
}

.hy-feed-side small {
  font-size: 11px;
  color: var(--hy-text-subtle);
}

.hy-feed-side a {
  color: var(--hy-text-subtle);
  font-size: 12px;
}

.hy-feed-side a:hover {
  color: var(--hy-text);
}

.hy-empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 32px 16px;
  color: var(--hy-text-muted);
  font-size: 13px;
}

.hy-empty-state i {
  font-size: 26px;
  color: var(--hy-success);
}

#main .table-bordered {
  overflow: hidden;
  border: 1px solid var(--hy-border);
  border-collapse: separate;
  border-spacing: 0;
  border-radius: var(--hy-radius);
  background: var(--hy-surface);
  box-shadow: var(--hy-shadow);
}

#main .table-bordered > :not(caption) > * > * {
  border-width: 0 0 1px 0;
  border-color: var(--hy-border);
  padding: 10px 12px;
}

#main .table-bordered > tbody > tr:last-child > * {
  border-bottom: 0;
}

#main .table-bordered > thead > tr > th,
#main .thead-secondary th {
  background: var(--hy-surface-muted);
  color: var(--hy-text-muted);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

#main .table-bordered > tbody > tr:hover > * {
  background: var(--hy-surface-muted);
}

#main .table-bordered a {
  font-weight: 500;
  text-decoration: none;
}
