/* [project]/components/Globals.css [app-client] (css) */
.matrix-dashboard {
  flex-direction: column;
  gap: 1rem;
  height: 100%;
  display: flex;
}

.matrix-controls {
  background: var(--color-arc-surface);
  border-radius: 12px;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  display: flex;
  box-shadow: 0 1px 3px #0000001a, 0 1px 2px -1px #0000001a;
}

.matrix-filters {
  flex-wrap: wrap;
  align-items: center;
  gap: .75rem;
  display: flex;
}

.matrix-actions {
  align-items: center;
  gap: .75rem;
  display: flex;
}

.matrix-btn {
  background: var(--color-arc-surface-hover);
  border: 1px solid var(--color-arc-border);
  color: var(--color-arc-text-primary);
  cursor: pointer;
  white-space: nowrap;
  border-radius: 8px;
  padding: .5rem 1rem;
  font-size: .875rem;
  font-weight: 500;
  transition: all .2s;
}

.matrix-btn:hover {
  background: var(--color-arc-surface-active);
  border-color: var(--color-arc-border-strong);
}

.matrix-btn.primary {
  color: var(--color-arc-accent);
  background: #f973161a;
  border-color: #f973164d;
}

.matrix-btn.primary:hover {
  background: #f973162e;
}

.matrix-btn.active {
  color: var(--color-arc-positive);
  background: #22c55e1a;
  border-color: #22c55e4d;
}

.matrix-btn:disabled {
  opacity: .5;
  cursor: not-allowed;
}

.last-update {
  color: var(--color-arc-text-tertiary);
  font-size: .75rem;
}

.matrix-symbols-bar {
  background: var(--color-arc-surface);
  border-radius: 12px;
  flex-wrap: wrap;
  align-items: center;
  gap: .75rem;
  padding: .75rem 1rem;
  display: flex;
  box-shadow: 0 1px 2px #0000000d;
}

.symbols-label {
  color: var(--color-arc-text-secondary);
  font-size: .875rem;
  font-weight: 500;
}

.symbols-tags {
  flex-wrap: wrap;
  gap: .5rem;
  display: flex;
}

.symbol-tag {
  color: var(--color-arc-accent);
  background: #f9731614;
  border: 1px solid #f9731633;
  border-radius: 20px;
  align-items: center;
  gap: .5rem;
  padding: .35rem .75rem;
  font-size: .8rem;
  font-weight: 500;
  display: inline-flex;
}

.symbol-tag .remove-sym {
  color: var(--color-arc-text-tertiary);
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
  font-size: .75rem;
  line-height: 1;
}

.symbol-tag .remove-sym:hover {
  color: var(--color-arc-negative);
}

.matrix-container {
  background: var(--color-arc-surface);
  border-radius: 12px;
  flex: 1;
  max-height: calc(100vh - 340px);
  overflow: auto;
  box-shadow: 0 1px 3px #0000001a, 0 1px 2px -1px #0000001a;
}

.matrix-table {
  border-collapse: separate;
  border-spacing: 0;
  width: 100%;
  font-size: .875rem;
}

.matrix-table th, .matrix-table td {
  text-align: center;
  border-bottom: 1px solid var(--color-arc-row-border);
  white-space: nowrap;
  color: var(--color-arc-text-primary);
  padding: .6rem .8rem;
}

.matrix-table th {
  background: var(--color-arc-table-head);
  color: var(--color-arc-text-secondary);
  text-transform: uppercase;
  letter-spacing: .5px;
  z-index: 10;
  border-bottom: 1px solid var(--color-arc-border-strong);
  font-size: .75rem;
  font-weight: 700;
  position: sticky;
  top: 0;
}

.sticky-col {
  background: var(--color-arc-surface);
  z-index: 5;
  position: sticky;
}

.login-col {
  min-width: 80px;
  left: 0;
  text-align: left !important;
}

.name-col {
  text-overflow: ellipsis;
  min-width: 130px;
  max-width: 160px;
  left: 80px;
  overflow: hidden;
  text-align: left !important;
}

.matrix-table thead th.sticky-col {
  z-index: 15;
}

.symbol-header {
  text-align: center;
  min-width: 110px;
}

.symbol-header .symbol-name {
  color: var(--color-arc-accent);
  font-weight: 700;
}

.matrix-cell {
  cursor: pointer;
  min-width: 115px;
  font-weight: 600;
  font-family: var(--font-mono, "JetBrains Mono", monospace);
  text-align: center;
  padding: .65rem .75rem;
  transition: all .15s;
}

.matrix-cell:hover {
  background: var(--color-arc-surface-hover) !important;
}

.matrix-cell.cell-empty {
  color: var(--color-arc-text-muted);
}

.matrix-cell.cell-positive {
  background: #22c55e0f !important;
}

.matrix-cell.cell-negative {
  background: #ef44440f !important;
}

.matrix-cell.cell-positive .cell-lot {
  color: var(--color-arc-positive);
}

.matrix-cell.cell-negative .cell-lot {
  color: var(--color-arc-negative);
}

.cell-content {
  flex-direction: column;
  align-items: center;
  gap: 3px;
  display: flex;
}

.cell-lot {
  font-size: 1rem;
  font-weight: 700;
}

.cell-pnl {
  font-size: .8rem;
  font-weight: 600;
}

.cell-pnl.profit {
  color: var(--color-arc-positive);
}

.cell-pnl.loss {
  color: var(--color-arc-negative);
}

.login-link {
  color: var(--color-arc-accent);
  cursor: pointer;
  background: none;
  border: none;
  border-radius: 6px;
  padding: .25rem .5rem;
  font-size: .9rem;
  font-weight: 700;
  transition: background .2s;
}

.login-link:hover {
  background: #f9731614;
}

.totals-row {
  background: var(--color-arc-table-head);
  font-weight: 600;
}

.totals-row td {
  border-top: 1px solid var(--color-arc-border-strong);
  padding: .75rem .8rem;
}

.totals-row .cell-lot {
  font-size: 1.1rem;
  font-weight: 800;
}

.totals-row .cell-pnl {
  font-size: .85rem;
  font-weight: 700;
}

.totals-row .cell-positive .cell-lot {
  color: var(--color-arc-positive);
}

.totals-row .cell-negative .cell-lot {
  color: var(--color-arc-negative);
}

.matrix-table tbody tr:nth-child(2n) {
  background: var(--color-arc-surface-hover);
}

.matrix-table tbody tr:hover {
  background: var(--color-arc-surface-active);
}

.modal-overlay {
  z-index: 1000;
  background: #0000004d;
  justify-content: center;
  align-items: center;
  padding: 1rem;
  display: flex;
  position: fixed;
  inset: 0;
}

.symbol-modal {
  background: var(--color-arc-surface);
  border: 1px solid var(--color-arc-border);
  border-radius: 16px;
  flex-direction: column;
  width: 90%;
  max-width: 500px;
  max-height: 70vh;
  display: flex;
  box-shadow: 0 10px 15px -3px #0000001a, 0 4px 6px -4px #0000001a;
}

.symbol-search {
  background: var(--color-arc-surface-hover);
  border: 1px solid var(--color-arc-border);
  width: 100%;
  color: var(--color-arc-text-primary);
  border-radius: 8px;
  margin-bottom: 1rem;
  padding: .75rem 1rem;
  font-size: .875rem;
}

.symbol-search:focus {
  border-color: var(--color-arc-accent);
  outline: none;
  box-shadow: 0 0 0 3px #f973161a;
}

.symbol-list {
  flex: 1;
  max-height: 300px;
  overflow-y: auto;
}

.symbol-item {
  border-bottom: 1px solid var(--color-arc-row-border);
  justify-content: space-between;
  align-items: center;
  padding: .75rem;
  transition: background .2s;
  display: flex;
}

.symbol-item:hover {
  background: var(--color-arc-surface-hover);
}

.symbol-item.active {
  background: #f973160f;
}

.symbol-info {
  align-items: center;
  gap: .75rem;
  display: flex;
}

.symbol-info .symbol-name {
  color: var(--color-arc-text-primary);
  font-weight: 600;
}

.symbol-info .symbol-count {
  color: var(--color-arc-text-tertiary);
  font-size: .75rem;
}

.default-badge {
  color: #a78bfa;
  background: #8b5cf61a;
  border-radius: 4px;
  padding: .15rem .4rem;
  font-size: .65rem;
}

.add-symbol-btn {
  color: var(--color-arc-accent);
  cursor: pointer;
  background: #f9731614;
  border: 1px solid #f9731633;
  border-radius: 6px;
  padding: .4rem .8rem;
  font-size: .75rem;
  transition: all .2s;
}

.add-symbol-btn:hover {
  background: #f9731626;
}

.add-symbol-btn.added {
  color: var(--color-arc-positive);
  background: #22c55e1a;
  border-color: #22c55e33;
}

.empty-symbols {
  text-align: center;
  color: var(--color-arc-text-tertiary);
  padding: 2rem;
}

.details-modal {
  background: var(--color-arc-surface);
  border: 1px solid var(--color-arc-border);
  border-radius: 16px;
  flex-direction: column;
  width: 90%;
  max-width: 800px;
  max-height: 80vh;
  display: flex;
  box-shadow: 0 10px 15px -3px #0000001a, 0 4px 6px -4px #0000001a;
}

.details-summary {
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 1rem;
  margin-bottom: 1.5rem;
  display: grid;
}

.detail-card {
  background: var(--color-arc-surface-hover);
  text-align: center;
  border: 1px solid var(--color-arc-border);
  border-radius: 10px;
  padding: 1rem;
}

.detail-card.profit {
  background: #22c55e0f;
  border-color: #22c55e26;
}

.detail-card.loss {
  background: #ef44440f;
  border-color: #ef444426;
}

.detail-label {
  color: var(--color-arc-text-secondary);
  text-transform: uppercase;
  letter-spacing: .5px;
  margin-bottom: .25rem;
  font-size: .75rem;
}

.detail-value {
  color: var(--color-arc-text-primary);
  font-size: 1.125rem;
  font-weight: 700;
}

.detail-value.buy {
  color: var(--color-arc-positive);
}

.detail-value.sell {
  color: var(--color-arc-negative);
}

.details-table-container {
  max-height: 320px;
  overflow-y: auto;
}

.time-cell {
  color: var(--color-arc-text-tertiary);
  font-size: .75rem;
  font-family: var(--font-mono, monospace);
}

.modal-header {
  border-bottom: 1px solid var(--color-arc-border);
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.5rem;
  display: flex;
}

.modal-header h3 {
  color: var(--color-arc-text-primary);
  margin: 0;
  font-size: 1.125rem;
  font-weight: 700;
}

.modal-body {
  flex: 1;
  padding: 1.5rem;
  overflow-y: auto;
}

.modal-footer {
  border-top: 1px solid var(--color-arc-border);
  justify-content: flex-end;
  gap: .75rem;
  padding: 1rem 1.5rem;
  display: flex;
}

.close-btn {
  color: var(--color-arc-text-tertiary);
  cursor: pointer;
  background: none;
  border: none;
  padding: .25rem;
  font-size: 1.25rem;
  line-height: 1;
  transition: color .2s;
}

.close-btn:hover {
  color: var(--color-arc-text-primary);
}

.debug-btn {
  color: var(--color-arc-warning) !important;
  background: #eab30814 !important;
  border-color: #eab30833 !important;
}

.debug-btn:hover {
  background: #eab30826 !important;
}

.debug-modal {
  background: var(--color-arc-surface);
  border: 1px solid var(--color-arc-border);
  border-radius: 16px;
  flex-direction: column;
  width: 90%;
  max-width: 800px;
  max-height: 85vh;
  display: flex;
  box-shadow: 0 10px 15px -3px #0000001a, 0 4px 6px -4px #0000001a;
}

.debug-body {
  overflow-y: auto;
}

.debug-content {
  flex-direction: column;
  gap: 1rem;
  display: flex;
}

.debug-status {
  text-align: center;
  border-radius: 10px;
  padding: 1rem;
  font-size: 1.125rem;
  font-weight: 600;
}

.debug-status.ok {
  color: var(--color-arc-positive);
  background: #22c55e14;
  border: 1px solid #22c55e26;
}

.debug-status.error {
  color: var(--color-arc-negative);
  background: #ef444414;
  border: 1px solid #ef444426;
}

.debug-error {
  color: var(--color-arc-negative);
  background: #ef44440f;
  border: 1px solid #ef44441f;
  border-radius: 10px;
  padding: 1rem;
}

.debug-check {
  background: var(--color-arc-surface-hover);
  border: 1px solid var(--color-arc-border);
  border-radius: 10px;
  overflow: hidden;
}

.debug-check.ok {
  border-left: 3px solid var(--color-arc-positive);
}

.debug-check.warning {
  border-left: 3px solid var(--color-arc-warning);
}

.debug-check.error {
  border-left: 3px solid var(--color-arc-negative);
}

.check-header {
  background: var(--color-arc-surface);
  border-bottom: 1px solid var(--color-arc-row-border);
  align-items: center;
  gap: .75rem;
  padding: .75rem 1rem;
  display: flex;
}

.check-name {
  color: var(--color-arc-text-primary);
  font-size: .875rem;
  font-weight: 600;
}

.check-details {
  color: var(--color-arc-text-primary);
  padding: .75rem 1rem;
  font-size: .8rem;
}

.check-details p {
  margin: .25rem 0;
}

.check-message {
  color: var(--color-arc-text-secondary);
}

.check-suggestion {
  color: var(--color-arc-positive);
  background: #22c55e0f;
  border-radius: 8px;
  padding: .5rem;
  margin-top: .5rem !important;
}

.check-columns, .check-symbols, .check-tables {
  margin-top: .75rem;
}

.column-tags, .table-tags {
  flex-wrap: wrap;
  gap: .35rem;
  margin-top: .35rem;
  display: flex;
}

.column-tag {
  color: #a78bfa;
  background: #8b5cf61a;
  border-radius: 4px;
  padding: .2rem .5rem;
  font-family: monospace;
  font-size: .7rem;
}

.check-sample {
  margin-top: .75rem;
}

.sample-pre {
  background: var(--color-arc-surface-hover);
  color: var(--color-arc-text-primary);
  border: 1px solid var(--color-arc-border);
  border-radius: 8px;
  max-height: 150px;
  margin-top: .35rem;
  padding: .75rem;
  font-size: .7rem;
  overflow: auto;
}

.filter-input {
  background: var(--color-arc-surface);
  border: 1px solid var(--color-arc-border);
  color: var(--color-arc-text-primary);
  border-radius: 8px;
  min-width: 120px;
  padding: 6px 12px;
  font-family: inherit;
  font-size: 13px;
  transition: all .2s;
}

.filter-input:focus {
  border-color: var(--color-arc-accent);
  outline: none;
  box-shadow: 0 0 0 3px #f973161a;
}

.filter-input::placeholder {
  color: var(--color-arc-text-tertiary);
}

.admin-message {
  text-align: center;
  border-radius: 10px;
  margin: 0 24px;
  padding: 10px 20px;
  font-size: 13px;
  font-weight: 500;
}

.admin-message.success {
  color: var(--color-arc-positive);
  background: #22c55e14;
  border: 1px solid #22c55e26;
}

.admin-message.error {
  color: var(--color-arc-negative);
  background: #ef444414;
  border: 1px solid #ef444426;
}

@media (max-width: 768px) {
  .matrix-controls {
    flex-direction: column;
    align-items: stretch;
  }

  .matrix-filters, .matrix-actions {
    justify-content: center;
  }

  .name-col {
    display: none;
  }

  .symbol-modal, .details-modal, .debug-modal {
    width: 95%;
    max-height: 85vh;
  }

  .matrix-dashboard {
    padding: 0;
  }
}

/*# sourceMappingURL=components_Globals_9071ca18.css.map*/