/* FRA Prop HQ v7.9.19 — configurable sidebar and bulk account selection */
.sidebar .nav-item.v7919-user-hidden {
  display: none !important;
}

.v7919-sidebar-panel {
  grid-column: 1 / -1;
}

.v7919-sidebar-head {
  align-items: flex-start;
}

.v7919-sidebar-note {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 14px;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: color-mix(in srgb, var(--accent) 5%, var(--panel-2));
}

.v7919-sidebar-note strong {
  color: var(--text);
  font-size: 12px;
}

.v7919-sidebar-note span {
  color: var(--muted);
  font-size: 11px;
  text-align: right;
}

.v7919-tab-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.v7919-tab-option {
  display: flex;
  min-width: 0;
  min-height: 56px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 12px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--panel-2);
  cursor: pointer;
  transition: border-color .16s ease, background .16s ease;
}

.v7919-tab-option:hover {
  border-color: color-mix(in srgb, var(--accent) 35%, var(--border));
  background: color-mix(in srgb, var(--accent) 4%, var(--panel-2));
}

.v7919-tab-option > span {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 3px;
}

.v7919-tab-option strong {
  overflow: hidden;
  color: var(--text);
  font-size: 12px;
  font-weight: 650;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.v7919-tab-option small {
  color: var(--muted);
  font-size: 10px;
}

.v7919-tab-option input {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  accent-color: var(--accent);
}

.v7919-sidebar-status {
  margin-top: 12px;
  color: var(--muted);
  font-size: 10px;
}

.v7919-account-head-actions {
  flex-wrap: wrap;
  justify-content: flex-end;
}

.v7919-bulk-account-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 12px;
  padding: 13px 15px;
  border: 1px solid color-mix(in srgb, var(--accent) 30%, var(--border));
  border-radius: 10px;
  background: color-mix(in srgb, var(--accent) 6%, var(--panel));
}

.v7919-bulk-account-bar > div:first-child {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 3px;
}

.v7919-bulk-account-bar strong {
  color: var(--text);
  font-size: 12px;
}

.v7919-bulk-account-bar span {
  color: var(--muted);
  font-size: 10px;
}

.v7919-delete-selected {
  border-color: rgba(255, 103, 112, .38) !important;
  background: rgba(255, 103, 112, .12) !important;
  color: #ff8990 !important;
}

.v7919-delete-selected:hover:not(:disabled) {
  background: rgba(255, 103, 112, .18) !important;
}

.v7919-delete-selected:disabled {
  cursor: not-allowed;
  opacity: .45;
}

#fullAccountsTable .v7919-select-head,
#fullAccountsTable .v7919-select-cell {
  display: none;
  width: 42px;
  min-width: 42px;
  padding-right: 0;
  text-align: center;
}

#view-accounts.v7919-selecting-accounts #fullAccountsTable .v7919-select-head,
#view-accounts.v7919-selecting-accounts #fullAccountsTable .v7919-select-cell {
  display: table-cell;
}

#fullAccountsTable .v7919-select-head input,
#fullAccountsTable .v7919-select-cell input {
  width: 17px;
  height: 17px;
  margin: 0;
  accent-color: var(--accent);
  cursor: pointer;
}

#view-accounts.v7919-selecting-accounts #fullAccountsTable tbody tr:has(.v7919-select-cell input:checked) {
  background: color-mix(in srgb, var(--accent) 7%, transparent);
}

@media (max-width: 1000px) {
  .v7919-tab-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .v7919-tab-grid {
    grid-template-columns: 1fr;
  }

  .v7919-sidebar-note,
  .v7919-bulk-account-bar {
    align-items: flex-start;
    flex-direction: column;
  }

  .v7919-sidebar-note span {
    text-align: left;
  }

  .v7919-bulk-account-bar .panel-actions {
    width: 100%;
    justify-content: stretch;
  }

  .v7919-bulk-account-bar .panel-actions .button {
    flex: 1 1 auto;
  }
}
