/*
 * This is a manifest file that'll be compiled into application.css.
 *
 * With Propshaft, assets are served efficiently without preprocessing steps. You can still include
 * application-wide styles in this file, but keep in mind that CSS precedence will follow the standard
 * cascading order, meaning styles declared later in the document or manifest will override earlier ones,
 * depending on specificity.
 *
 * Consider organizing styles into separate files for maintainability.
 */

details[open] > summary .nav-group-chevron {
  transform: rotate(90deg);
}

.file-folder-group:first-of-type > tr:first-child {
  border-top-width: 0;
}

/* Collapse table rows while retaining the shared column widths. */
.file-folder-row {
  visibility: collapse;
  border-top-width: 0;
  transition: visibility 120ms, border-top-width 120ms ease;
}

.file-folder-cell {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  transition: grid-template-rows 120ms ease, opacity 120ms ease;
}

.file-folder-cell > div {
  min-width: min-content;
}

.file-folder-chevron {
  transition: transform 120ms ease;
}

.file-folder-group[data-expanded="true"] .file-folder-row,
.file-folder-group[data-expanded="true"] .file-folder-cell,
.file-folder-group[data-expanded="true"] .file-folder-chevron {
  transition-duration: 150ms;
}

.file-folder-group[data-expanded="true"] .file-folder-row {
  visibility: visible;
  border-top-width: 1px;
}

.file-folder-group[data-expanded="true"] .file-folder-cell {
  grid-template-rows: 1fr;
  opacity: 1;
}

.file-folder-group[data-expanded="true"] .file-folder-chevron {
  transform: rotate(90deg);
}

@media (prefers-reduced-motion: reduce) {
  .file-folder-row,
  .file-folder-cell,
  .file-folder-chevron {
    transition: none;
  }
}

.field_with_errors {
  display: contents;
}

select:not(:disabled) {
  cursor: pointer;
}

select:disabled {
  cursor: not-allowed;
}

[data-search-header] input[type="search"]::-webkit-search-decoration,
[data-search-header] input[type="search"]::-webkit-search-cancel-button,
[data-search-header] input[type="search"]::-webkit-search-results-button,
[data-search-header] input[type="search"]::-webkit-search-results-decoration {
  -webkit-appearance: none;
  appearance: none;
  display: none;
}

[data-search-header] input[type="search"]::-ms-clear {
  display: none;
  height: 0;
  width: 0;
}

.google-visualization-tooltip {
  box-shadow: none !important;
  filter: drop-shadow(0 12px 72px rgba(15, 23, 42, 0.04)) drop-shadow(0 3px 24px rgba(15, 23, 42, 0.03)) !important;
}

.google-visualization-tooltip path {
  filter: none !important;
  stroke: #e5e7eb !important;
}

[data-company-dashboard-chart-chart-type-value="column"] svg rect[fill="none"][stroke="#000000"] {
  stroke: #2563eb !important;
  stroke-opacity: 0.14 !important;
}

@media (min-width: 1024px) {
  .reference-data-page {
    display: flex;
    min-height: calc(100vh - 4rem);
    flex-direction: column;
  }

  .reference-data-shell {
    flex: 1;
  }

  .company-section-page {
    display: flex;
    min-height: calc(100vh - 4rem);
    flex-direction: column;
  }

  .company-section-content {
    display: flex;
    flex: 1;
    flex-direction: column;
  }

  .company-section-shell {
    flex: 1;
  }

  .task-detail-page {
    min-height: calc(100vh - 4rem);
  }

  .task-detail-content {
    min-height: calc(100vh - 4rem);
    padding-bottom: 0;
  }

  .team-detail-page {
    min-height: calc(100vh - 4rem);
  }

  .team-detail-content {
    min-height: calc(100vh - 4rem);
    padding-bottom: 0;
  }

  .team-detail-shell {
    min-height: calc(100vh - 4rem);
  }

  .introducer-detail-page {
    min-height: calc(100vh - 4rem);
  }

  .introducer-detail-content {
    min-height: calc(100vh - 4rem);
    padding-bottom: 0;
  }

  .introducer-detail-shell {
    min-height: calc(100vh - 4rem);
  }

  .orchestrator-detail-page {
    min-height: calc(100vh - 4rem);
  }

  .orchestrator-detail-content {
    min-height: calc(100vh - 4rem);
    padding-bottom: 0;
  }

  .orchestrator-detail-shell {
    min-height: calc(100vh - 4rem);
  }

  .company-group-detail-page {
    min-height: calc(100vh - 4rem);
  }

  .company-group-detail-content {
    min-height: calc(100vh - 4rem);
    padding-bottom: 0;
  }

  .company-group-detail-shell {
    min-height: calc(100vh - 4rem);
  }

  .user-detail-page,
  .workflow-detail-page {
    min-height: calc(100vh - 4rem);
  }

  .user-detail-content,
  .workflow-detail-content {
    min-height: calc(100vh - 4rem);
    padding-bottom: 0;
  }

  .user-detail-shell,
  .workflow-detail-shell {
    min-height: calc(100vh - 4rem);
  }
}
