/* IMPORTANT! Updated/Increment library version in .YML after modifying this file */

/* Hide metas */
form.node-form .layout-form {
  grid-template-rows: none;
  gap: unset;
  grid-template-columns: min(100%, var(--layout-region-edit-width));
  justify-content: center;
}

form.node-form .layout-region__content .divider,
form.node-form .field--name-revision-log,
form.node-form #edit-meta-author,
form.node-form #edit-revision-information,
form.node-form #edit-meta-published {
  display: none;
}

form.node-form #edit-advanced,
form.node-form #edit-advanced #edit-meta {
  border: none;
  box-shadow: none;
}

form.node-form #edit-advanced #edit-meta {
  padding: 0;
  margin-bottom: 1.5rem;
}

/* END Hide metas */

form.form-with-filter table td:last-child,
form.form-with-filter table th:last-child {
  text-align: center;
}

#edit-assign .details-wrapper {
  display: flex;
  flex-direction: row;
  gap: 20px;
  justify-items: stretch;
  align-items: center;
}

#edit-assign .details-wrapper > div:first-child {
  flex-grow: 1;
}

#dsr-analyst-manager-analysts-overview-form table td:last-child,
#dsr-analyst-manager-analysts-overview-form table th:last-child {
  text-align: center;
}

#dsr-analyst-manager-analyst-dashboard-form table td:last-child,
#dsr-analyst-manager-analyst-dashboard-form table th:last-child {
  text-align: center;
}


.node-stock-review-edit-form.node-form #ddm-valuation,
.node-stock-review-edit-form.node-form #recent-annual-dividend-payment {
  display: flex;
  flex-direction: row;
  gap: 20px;
  margin-block: var(--space-l);
}

.node-stock-review-edit-form.node-form #ddm-valuation > .form-wrapper,
.node-stock-review-edit-form.node-form #recent-annual-dividend-payment > .form-wrapper {
  flex-grow: 1;
}

.node-stock-review-edit-form.node-form #ddm-valuation > .form-wrapper .form-item,
.node-stock-review-edit-form.node-form #recent-annual-dividend-payment > .form-wrapper .form-item {
  margin-block: 0;
}

.node-stock-review-edit-form.node-form #ddm-valuation > .form-wrapper .form-item input {
  color: var(--input--disabled-fg-color);
  border-color: var(--input--disabled-border-color);
  background-color: var(--input--disabled-bg-color);
  box-shadow: none;
}

.node-stock-review-edit-form > .layout-form {
  display: block;
}

.node-stock-review-edit-form > .layout-form .layout-region--secondary {
  display: none;
}

.node-stock-review-edit-form .layout-region__content .field--widget-text-textarea .filter-wrapper {
  display: none; /* hide the "About text formats" link under the WYSIWYG */
}

form.form-with-filter #edit-filter {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}

form.form-with-filter #edit-filter > .form-item,
form.form-with-filter #edit-filter > input {
  width: 40%;
  min-width: 300px;
  max-width: 400px;
  margin: 0;
}

.chosen-container-single a.chosen-single-with-deselect abbr {
  border: none;
  right: 7px;
  top: 7px;
  z-index: 1;
}

#dsr-analyst-manager-analyst-dashboard-form .title-wrapper {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 20px;
}

#dsr-analyst-manager-analyst-dashboard-form .title-wrapper h4 {
  line-height: normal;
  margin: 0;
}
