.geo-admin-container {
  .page-title,
  .page-title-separator {
    margin-top: 10px;
  }

  .title-text {
    line-height: 34px;
  }

  .page-subtitle {
    margin-bottom: 24px;
  }
}

.node-badge {
  color: $white-light;
  padding: 1px $gl-padding-8;
  font-size: $label-font-size;
  border-radius: $label-border-radius;

  &.primary-node {
    background-color: $blue-600;
  }

  &.current-node {
    background-color: $green-400;
  }
}

.geo-node-healthy {
  color: $gl-success;
}

.geo-node-unhealthy {
  color: $gl-danger;
}

.geo-node-offline {
  color: $theme-gray-950;
}

.geo-node-disabled {
  color: $gray-darkest;
}

.geo-node-unknown {
  color: $gray-darkest;
}

.geo-node-item {
  .node-status-icon {
    height: 35px;
  }

  .status-icon-warning {
    fill: $gl-warning;
  }

  .status-icon-failure {
    fill: $gl-danger;
  }
}

.geo-node-item {
  .panel-body {
    padding: 0;

    .node-detail-section {
      padding: $gl-padding 0;
    }

    .node-detail-section {
      &.sync-section,
      &.verification-section,
      &.other-section {
        border-top: 1px solid $border-color;
      }

      .btn-show-section {
        padding: 0;
      }
    }

    .node-health-message-container {
      max-height: $dropdown-max-height;
      overflow-y: auto;

      .node-health-message {
        margin-bottom: 0;
        padding: 2px $gl-padding-8;
        background-color: $red-100;
        color: $red-500;
      }
    }
  }
}

.node-detail-section {
  .detail-section-item,
  .section-items-container {
    .node-detail-title {
      color: $theme-gray-700;
    }

    .node-detail-value {
      margin-top: 4px;
    }

    .node-detail-value-bold {
      font-weight: $gl-font-weight-bold;
    }

    .node-detail-value-error {
      color: $gl-danger;
    }
  }

  .section-items-container {
    .node-detail-item {
      &:first-child {
        margin-top: 0;
      }
    }
  }
}

.node-health-status,
.node-sync-settings,
.node-detail-section .btn-show-section {
  display: flex;
  align-items: center;
}

.geo-node-actions {
  display: inline-flex;
  justify-content: center;
  float: right;

  .node-action-container {
    margin: 0 5px;

    &:last-child {
      margin-right: $gl-padding;
    }
  }

  @media (max-width: $screen-sm-max) {
    display: block;
    width: 100%;

    .node-action-container {
      width: 100%;
      margin: 0;
      margin-top: 10px;
      padding: 0 10px;
    }

    .btn-node-action {
      width: 100%;
    }
  }
}
